BUG
This commit is contained in:
parent
42764b6d16
commit
71ea0b4058
@ -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) {
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user