From d68356f581288b289b74b40ba63bfca9cfb501e7 Mon Sep 17 00:00:00 2001 From: lihongyu <504404568@qq.com> Date: Thu, 28 Jul 2022 20:05:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=8F=91=E5=B8=83=EF=BC=8C?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=B5=81=E7=A8=8B=E5=AE=A1=E6=89=B9=E4=BA=BA?= =?UTF-8?q?=E5=9B=9E=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/coe/pal/publisher/PublisherController.java | 1 - .../coe/pal/publisher/client/web/ProcessPublishWeb.java | 3 +-- .../js/coe.pal.process.publish.multiple.js | 9 ++++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/PublisherController.java b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/PublisherController.java index 9ab7df84..90b9eb16 100644 --- a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/PublisherController.java +++ b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/PublisherController.java @@ -678,7 +678,6 @@ public class PublisherController { */ @Mapping("com.actionsoft.apps.coe.pal.publisher_getApproveInfos") public String getApproveInfo(UserContext me,String level1,String level2,String level3,String company,String region,String product,String bindid){ - System.out.println("=============================================="); ProcessPublishWeb publishWeb = new ProcessPublishWeb(me); return publishWeb.getApproveInfos(me,level1,level2,level3,company,region,product,bindid); } diff --git a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java index bd59b267..4eff755c 100644 --- a/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java +++ b/com.actionsoft.apps.coe.pal.publisher/src/com/actionsoft/apps/coe/pal/publisher/client/web/ProcessPublishWeb.java @@ -3187,9 +3187,8 @@ public class ProcessPublishWeb extends ActionWeb { public String getApproveInfos(UserContext me, String level1, String level2, String level3, String company, String region, String product, String bindid) { //l1 l2 l3 保存到表里 DBSql.update(String.format("update BO_ACT_COE_PUBLISH set LEVEL_1_PROCESS_NAME='%s',LEVEL_2_PROCESS_NAME='%s',LEVEL_3_PROCESS_NAME='%s' where BINDID='%s'", level1, level2, level3, bindid)); - String sql = "select AUDITOR_NO_1,L1_SP,AUDITOR_NO_2,L2_SP,AUDITOR_NO_3,L3_SP from BO_ACT_AUTH_INFO where LEVEL_1_PROCESS_NAME='%s' and LEVEL_2_PROCESS_NAME='%s' and LEVEL_3_PROCESS_NAME='%s' and ORGNAME='%s' and ADAPT_REGION_NAME='%s' and APPLICABLE_PRODUCT='%s'"; + String sql = "select AUDITOR1,AUDITOR_NO_1,L1_SP,AUDITOR2,AUDITOR_NO_2,L2_SP,AUDITOR3,AUDITOR_NO_3,L3_SP from BO_ACT_AUTH_INFO where LEVEL_1_PROCESS_NAME='%s' and LEVEL_2_PROCESS_NAME='%s' and LEVEL_3_PROCESS_NAME='%s' and ORGNAME='%s' and ADAPT_REGION_NAME='%s' and APPLICABLE_PRODUCT='%s'"; RowMap result = DBSql.getMap(String.format(sql, level1, level2, level3, company, region, product)); - System.out.println("流程发布返回流程责任人:"+result); ResponseObject ro = ResponseObject.newOkResponse(); ro.put("data", result == null ? "" : result); return ro.toString(); diff --git a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js index acb589a4..827c0c40 100644 --- a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js +++ b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js @@ -489,9 +489,12 @@ function queryapprove(){ success : function(r) { var info = r.data.data; if(info != ''){ - ui("PERSON_THREE_LEVEL_PROCESS",info.AUDITOR_NO_3); - ui("PROCESS_RESPONSIBLE_PERSON",info.AUDITOR_NO_2); - ui("RESPONSIBLE_PERSON1",info.AUDITOR_NO_1); + ui("PERSON_THREE_LEVEL_PROCESS_NO",info.AUDITOR_NO_3); + ui("PROCESS_RESPONSIBLE_PERSON_NO",info.AUDITOR_NO_2); + ui("RESPONSIBLE_PERSON1_NO",info.AUDITOR_NO_1); + ui("PERSON_THREE_LEVEL_PROCESS",info.AUDITOR3); + ui("PROCESS_RESPONSIBLE_PERSON",info.AUDITOR2); + ui("RESPONSIBLE_PERSON1",info.AUDITOR1); ui("LEVEL_AUDIT_REQUIRED",info.L3_SP); ui("SECONDARY_AUDIT_REQUIRED",info.L2_SP); ui("LEVEL_1_AUDIT_REQUIRED",info.L1_SP);