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);