diff --git a/src_app_fresh/apx/com/amarsoft/als/apzl/apply/business/doc/detail/service/impl/BusinessDocDetailServiceImpl.java b/src_app_fresh/apx/com/amarsoft/als/apzl/apply/business/doc/detail/service/impl/BusinessDocDetailServiceImpl.java index 1c8bb9814..43c37fa11 100644 --- a/src_app_fresh/apx/com/amarsoft/als/apzl/apply/business/doc/detail/service/impl/BusinessDocDetailServiceImpl.java +++ b/src_app_fresh/apx/com/amarsoft/als/apzl/apply/business/doc/detail/service/impl/BusinessDocDetailServiceImpl.java @@ -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) { diff --git a/src_app_fresh/apx/com/amarsoft/als/apzl/apply/business/start/init/InitDocListTools.java b/src_app_fresh/apx/com/amarsoft/als/apzl/apply/business/start/init/InitDocListTools.java index 1bcbb2637..31689cc83 100644 --- a/src_app_fresh/apx/com/amarsoft/als/apzl/apply/business/start/init/InitDocListTools.java +++ b/src_app_fresh/apx/com/amarsoft/als/apzl/apply/business/start/init/InitDocListTools.java @@ -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(); diff --git a/src_core/com/tenwa/doc/action/DocListInitAction.java b/src_core/com/tenwa/doc/action/DocListInitAction.java index c0daa4bf3..aa1eda3cb 100644 --- a/src_core/com/tenwa/doc/action/DocListInitAction.java +++ b/src_core/com/tenwa/doc/action/DocListInitAction.java @@ -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 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")