From d2a5aa5e7ff6af66759a77d8a14103892318860b Mon Sep 17 00:00:00 2001 From: mzr Date: Thu, 23 Oct 2025 16:48:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(qc):=20=E7=AE=B1=E5=8F=98=E5=90=AF=E6=BA=90?= =?UTF-8?q?=E8=B4=A8=E6=A3=80=E6=8A=A5=E5=91=8A-=E6=94=B6=E5=9B=9E?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nc/api/qc/resource/QcconclusionRestResource.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/qc/src/public/nc/api/qc/resource/QcconclusionRestResource.java b/qc/src/public/nc/api/qc/resource/QcconclusionRestResource.java index 614de82e..ab0420d4 100644 --- a/qc/src/public/nc/api/qc/resource/QcconclusionRestResource.java +++ b/qc/src/public/nc/api/qc/resource/QcconclusionRestResource.java @@ -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";