上线前修改用户角色,将admin改为market
This commit is contained in:
parent
0db4302044
commit
91933a7946
@ -13,7 +13,7 @@ public class ImageScan extends ImageService {
|
||||
base.setOrgCode("0005");
|
||||
base.setComCode("0005");
|
||||
base.setOrgName("安鹏国际融资租赁(深圳)有限公司");
|
||||
base.setRoleCode("admin");
|
||||
base.setRoleCode("market");
|
||||
base.setOneBatch(oneBatch);
|
||||
}
|
||||
public String getOneBatch() {
|
||||
|
||||
@ -41,7 +41,7 @@ public abstract class ImageService {
|
||||
base.setOrgCode("0005");
|
||||
base.setComCode("0005");
|
||||
base.setOrgName("安鹏国际融资租赁(深圳)有限公司");
|
||||
base.setRoleCode("admin");
|
||||
base.setRoleCode("market");
|
||||
}
|
||||
|
||||
public void addNode(String id ,String action ,List<ImagePage> page){
|
||||
@ -105,7 +105,7 @@ public abstract class ImageService {
|
||||
postMethod.setParameter("data", getRequestParam());
|
||||
// ICMS影像系统通过referer来验证白名单,所以必须将ip填写在这里
|
||||
//todo
|
||||
postMethod.setRequestHeader("Referer", "http://47.93.34.101");
|
||||
postMethod.setRequestHeader("Referer", PropertiesUtil.get("license_ip"));
|
||||
httpClient = new HttpClient();
|
||||
// 执行postMethod
|
||||
int statusCode = httpClient.executeMethod(postMethod);
|
||||
|
||||
@ -152,7 +152,7 @@ public class GetInfoUtil {
|
||||
return ja;
|
||||
}
|
||||
public JSONArray getAllAppInfoJsonByProductId(String productId, Transaction Sqlca) throws SQLException {
|
||||
String sql = "select app_code,app_name from icms_prd_rela where productid='" + productId + "' and flowno<>'MortgageFileMailFlow' group by app_code";
|
||||
String sql = "select app_code,app_name from icms_prd_rela where productid='" + productId + "' and flowno<>'MortgageFileMailFlow' group by app_code order by update_time desc";
|
||||
SqlObject sql_icms = new SqlObject(sql);
|
||||
ASResultSet rs = Sqlca.getASResultSet(sql_icms);
|
||||
String appCode = null;
|
||||
@ -189,7 +189,7 @@ public class GetInfoUtil {
|
||||
}
|
||||
|
||||
public String getAppInfoByProductId(String productId, String flowNo, Transaction Sqlca) throws SQLException {
|
||||
String sql = "select app_code,app_name from icms_prd_rela where flowno='" + flowNo + "' and productid='" + productId + "'";
|
||||
String sql = "select app_code,app_name from icms_prd_rela where flowno='" + flowNo + "' and productid='" + productId + "' order by update_time desc";
|
||||
SqlObject sql_icms = new SqlObject(sql);
|
||||
ASResultSet rs = Sqlca.getASResultSet(sql_icms);
|
||||
String appCode = null;
|
||||
@ -315,7 +315,7 @@ public class GetInfoUtil {
|
||||
return getAppInfoByFlowNo(flowNo,Sqlca);
|
||||
}
|
||||
public String getAppInfoByFlowNo(String flowNo, Transaction Sqlca) throws SQLException {
|
||||
String sql = "select app_code,app_name from icms_prd_rela where flowno='" + flowNo + "'";
|
||||
String sql = "select app_code,app_name from icms_prd_rela where flowno='" + flowNo + "' order by update_time desc";
|
||||
SqlObject sql_icms = new SqlObject(sql);
|
||||
ASResultSet rs = Sqlca.getASResultSet(sql_icms);
|
||||
String appCode = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user