From 3498e4491cbae03104e2739d3a53fe6e5534501d Mon Sep 17 00:00:00 2001 From: mzr Date: Fri, 12 Sep 2025 17:46:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E7=94=9F=E4=BA=A7=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=AE=A1=E6=89=B9=E5=90=8E=E6=8E=A8=E9=80=81=E9=AB=98?= =?UTF-8?q?=E5=8E=8BMES-=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nc/bs/so/m30/rule/approve/AfterSoSyncRuleGyMes.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/so/src/private/nc/bs/so/m30/rule/approve/AfterSoSyncRuleGyMes.java b/so/src/private/nc/bs/so/m30/rule/approve/AfterSoSyncRuleGyMes.java index bf6b3e1..64de432 100644 --- a/so/src/private/nc/bs/so/m30/rule/approve/AfterSoSyncRuleGyMes.java +++ b/so/src/private/nc/bs/so/m30/rule/approve/AfterSoSyncRuleGyMes.java @@ -77,9 +77,6 @@ public class AfterSoSyncRuleGyMes implements IRule { // 合同编号 String vdef6 = hvo.getVdef6(); String contractNum = getDefCode("zdy-001", vdef6); - if (contractNum.isEmpty()) { - contractNum = "11"; - } for (SaleOrderBVO item : itemVOS) { Object projectName = hybo.findColValue(ProjectHeadVO.getDefaultTableName(), ProjectHeadVO.PROJECT_NAME, ProjectHeadVO.PK_PROJECT + " = '" + item.getCprojectid() + "' "); String wlsql = " select code,name,graphid from bd_material where dr = 0 and pk_material = '" + item.getCmaterialvid() + "' "; @@ -137,7 +134,7 @@ public class AfterSoSyncRuleGyMes implements IRule { if (!"200".equals(resultObj.getString("code"))) { logger.error("gyMes-SaleOrder-error,result[" + resultObj.toJSONString() + "]"); - throw new BusinessException("gyMes-SaleOrder-error:" + resultObj.getString("message")); + throw new BusinessException("销售订单推送高压MES错误:" + resultObj.getString("msg")); } }