发布代码
This commit is contained in:
parent
278fa60501
commit
d7bfba2bd8
Binary file not shown.
@ -676,11 +676,11 @@ public class PublisherController {
|
||||
* @param product
|
||||
* @return
|
||||
*/
|
||||
@Mapping("com.actionsoft.apps.coe.pal.publisher_getApproveInfo")
|
||||
@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.getApproveInfo(me,level1,level2,level3,company,region,product,bindid);
|
||||
return publishWeb.getApproveInfos(me,level1,level2,level3,company,region,product,bindid);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -3116,7 +3116,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
* @param product
|
||||
* @return
|
||||
*/
|
||||
public String getApproveInfo(UserContext me, String level1, String level2, String level3, String company, String region, String product, String bindid) {
|
||||
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'";
|
||||
|
||||
@ -470,7 +470,7 @@ function queryapprove(){
|
||||
var region = ui("ADAPT_REGION_NAME");
|
||||
var product = ui("APPLICABLE_PRODUCT");
|
||||
var param = {
|
||||
cmd: 'com.actionsoft.apps.coe.pal.publisher_getApproveInfo',
|
||||
cmd: 'com.actionsoft.apps.coe.pal.publisher_getApproveInfos',
|
||||
sid: sid,
|
||||
level1 :ui("LEVEL_1_PROCESS_NAME"),
|
||||
level2 :ui("LEVEL_2_PROCESS_NAME"),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user