流程发布,表单流程审批人回填
This commit is contained in:
parent
e9448d1ec4
commit
d68356f581
@ -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);
|
||||
}
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user