Commit 8a017efa by liuyang

2024-10-08 委外出库单

parent 7437525d
......@@ -52,6 +52,7 @@ public class ServiceHGKC014B extends ServiceEPBase {
try {
Map queryMap = EiInfoUtils.getFirstRow(inInfo);
queryMap.put("isRemainingQty", "true");
queryMap.put("status", "1");
queryMap.remove("parentId");
inInfo = super.query(inInfo, HGSC010A.QUERY, new HGSC010A());
List<HGSC010A> resultBlock = MapUtils.toDaoEPBases(inInfo, HGSC010A.class);
......
......@@ -48,6 +48,7 @@ public class ServiceHGKC015B extends ServiceEPBase {
try {
Map queryMap = EiInfoUtils.getFirstRow(inInfo);
queryMap.put("isRemainingQty", "true");
queryMap.put("status", "1");
queryMap.remove("parentId");
inInfo = super.query(inInfo, HGSC010B.QUERY, new HGSC010B());
List<HGSC010B> resultBlock = MapUtils.toDaoEPBases(inInfo, HGSC010B.class);
......
......@@ -26,6 +26,7 @@
<sqlMap namespace="HGKC015">
<sql id="condition">
<include refid="HGXSDataAuth.authCondition"/>
<isNotEmpty prepend=" AND " property="id">
ID = #id#
</isNotEmpty>
......
......@@ -120,6 +120,12 @@
<isNotEmpty prepend=" AND " property="isRemainingQty">
REMAINING_QTY > 0
</isNotEmpty>
<isNotEmpty prepend=" AND " property="status">
PARENT_ID IN (SELECT ID FROM ${hggpSchema}.HGSC010 WHERE DELETE_FLAG = 0 AND SUB_STATUS = 1
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>)
</isNotEmpty>
</sql>
<select id="query" parameterClass="java.util.HashMap"
......
......@@ -120,6 +120,12 @@
<isNotEmpty prepend=" AND " property="isRemainingQty">
REMAINING_QTY > 0
</isNotEmpty>
<isNotEmpty prepend=" AND " property="status">
PARENT_ID IN (SELECT ID FROM ${hggpSchema}.HGSC010 WHERE DELETE_FLAG = 0 AND SUB_STATUS = 1
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>)
</isNotEmpty>
</sql>
<select id="query" parameterClass="java.util.HashMap"
......
......@@ -55,6 +55,7 @@
<sqlMap resource="com/baosight/hggp/hg/kc/sql/HGKC013.xml"/>
<sqlMap resource="com/baosight/hggp/hg/kc/sql/HGKC013A.xml"/>
<sqlMap resource="com/baosight/hggp/hg/kc/sql/HGKC014.xml"/>
<sqlMap resource="com/baosight/hggp/hg/kc/sql/HGKC015.xml"/>
<!-- 质量 -->
<sqlMap resource="com/baosight/hggp/hg/zl/sql/HGZL001.xml"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment