This commit is contained in:
liujiaji 2018-08-27 09:50:24 +08:00
parent 42764b6d16
commit 71ea0b4058
3 changed files with 6 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public class BusinessDocDetailServiceImpl implements BusinessDocDetailService {
return ReturnMapUtil.getReturnMap();
} else {
JSONObject jo = JsonUtil.str2JSONObject(json);
custType = jo.get("custType") == null ? "" : jo.get("custType")
custType = jo.get("CustomerType") == null ? "" : jo.get("CustomerType")
.toString();// CustomerType
}
} catch (Exception e) {

View File

@ -151,6 +151,7 @@ public class InitDocListTools {
for (int i = 0; i < 10; i++)
ARE.getLog().info("customerType:"+customerType);
ARE.getLog().info("docClassItemno:"+docClassItemno);
other.put("CustomerType", customerType);
@SuppressWarnings("deprecation")
Configure CurConfig = Configure.getInstance();

View File

@ -58,6 +58,7 @@ public class DocListInitAction {
}
s += "'" + itemnos[i] + "',";
}
ARE.getLog().info("s:"+s);
if (s.length() > 0) {
s = s.substring(0, s.length() - 1);
}
@ -86,6 +87,9 @@ public class DocListInitAction {
List<BizObject> configList = configBm.createQuery(
"doc_Class_Itemno in (" + docno + ")").getResultList(false);
ARE.getLog().info("size:"+configList.size());
for (BizObject config : configList) {
BizObject lib = libBm
.createQuery("Relative_Id=:relaid and config_id=:configid")