fix(qc): 箱变启源质检报告-收回逻辑补充
This commit is contained in:
		
							parent
							
								
									1e45a45b89
								
							
						
					
					
						commit
						d2a5aa5e7f
					
				|  | @ -193,7 +193,7 @@ public class QcconclusionRestResource extends QcBaseRestResource { | |||
|                                         bvo.setPk_qualitylv_b(zldj.toString()); | ||||
|                                     } | ||||
|                                 } | ||||
|                                 // 质量等级 | ||||
|                                 // 合格品 | ||||
|                                 if (childMap.containsKey("beligible") && childMap.get("beligible") instanceof String beligible) { | ||||
|                                     UFBoolean beligible1 = new UFBoolean(beligible); | ||||
|                                     bvo.setBeligible(beligible1); | ||||
|  | @ -228,7 +228,7 @@ public class QcconclusionRestResource extends QcBaseRestResource { | |||
|                                     bvo.setPk_qualitylv_b(zldj.toString()); | ||||
|                                 } | ||||
|                             } | ||||
|                             // 质量等级 | ||||
|                             // 合格品 | ||||
|                             if (childMap.containsKey("beligible") && childMap.get("beligible") instanceof String beligible) { | ||||
|                                 UFBoolean beligible1 = new UFBoolean(beligible); | ||||
|                                 bvo.setBeligible(beligible1); | ||||
|  | @ -249,12 +249,11 @@ public class QcconclusionRestResource extends QcBaseRestResource { | |||
|         } else { | ||||
|             for (ReportVO vo : vos) { | ||||
|                 ReportHeaderVO hvo = vo.getHVO(); | ||||
|                 hvo.setVdef10(flag); | ||||
|                 // 回传标识 | ||||
|                 String updateSql = "update scm_report_b set vdef10 = '" + flag + "' where pk_reportbill = '" + hvo.getPk_reportbill() + "'"; | ||||
|                 String updateSql = "update qc_reportbill set vdef10 = '" + flag + "' where pk_reportbill = '" + hvo.getPk_reportbill() + "'"; | ||||
|                 int num = dao.executeUpdate(updateSql); | ||||
|             } | ||||
|             resultVos = vos; | ||||
|             resultVos = NCLocator.getInstance().lookup(ISCMPubQueryService.class).billquery(ReportVO.class, idArr); | ||||
|         } | ||||
|         // 审批 | ||||
|         String actionName = "SAVE"; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue