发布代码

This commit is contained in:
zhal 2022-07-25 00:54:49 +08:00
parent e5fc52ae58
commit 278fa60501
3 changed files with 2 additions and 0 deletions

View File

@ -678,6 +678,7 @@ public class PublisherController {
*/ */
@Mapping("com.actionsoft.apps.coe.pal.publisher_getApproveInfo") @Mapping("com.actionsoft.apps.coe.pal.publisher_getApproveInfo")
public String getApproveInfo(UserContext me,String level1,String level2,String level3,String company,String region,String product,String bindid){ 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); ProcessPublishWeb publishWeb = new ProcessPublishWeb(me);
return publishWeb.getApproveInfo(me,level1,level2,level3,company,region,product,bindid); return publishWeb.getApproveInfo(me,level1,level2,level3,company,region,product,bindid);
} }

View File

@ -3121,6 +3121,7 @@ public class ProcessPublishWeb extends ActionWeb {
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)); 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 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'";
RowMap result = DBSql.getMap(String.format(sql, level1, level2, level3, company, region, product)); RowMap result = DBSql.getMap(String.format(sql, level1, level2, level3, company, region, product));
System.out.println("流程发布返回流程责任人:"+result);
ResponseObject ro = ResponseObject.newOkResponse(); ResponseObject ro = ResponseObject.newOkResponse();
ro.put("data", result == null ? "" : result); ro.put("data", result == null ? "" : result);
return ro.toString(); return ro.toString();