发布代码
This commit is contained in:
parent
cc4c25abfd
commit
e5fc52ae58
@ -3119,7 +3119,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
|||||||
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) {
|
||||||
//l1 l2 l3 保存到表里
|
//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));
|
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 AUDITOR1,L1_SP,AUDITOR2,L2_SP,AUDITOR3,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));
|
||||||
ResponseObject ro = ResponseObject.newOkResponse();
|
ResponseObject ro = ResponseObject.newOkResponse();
|
||||||
ro.put("data", result == null ? "" : result);
|
ro.put("data", result == null ? "" : result);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user