|
|
|
@ -89,7 +89,7 @@
|
|
|
|
|
AND ip.reCount <![CDATA[ < ]]> 0
|
|
|
|
|
</if>
|
|
|
|
|
<if test="attributeType != '' and attributeType != null">
|
|
|
|
|
AND basic_udirel.attributeType = #{attributeType}
|
|
|
|
|
AND basic_udirel.attributeType = #{attributeType}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="invCodes != null and invCodes.size() != 0">
|
|
|
|
|
AND ip.invCode in
|
|
|
|
@ -341,14 +341,15 @@
|
|
|
|
|
ip.expireDate,
|
|
|
|
|
bp.ylqxzcrbarmc,
|
|
|
|
|
bp.zczbhhzbapzbh,
|
|
|
|
|
sum(ip.inCount) as inCount,
|
|
|
|
|
sum(ip.outCount) as outCount,
|
|
|
|
|
sum(ip.reCount) as reCount,
|
|
|
|
|
basic_udirel.thirdId thrCode,
|
|
|
|
|
sum(ip.inCount) as inCount,
|
|
|
|
|
sum(ip.outCount) as outCount,
|
|
|
|
|
sum(ip.reCount) as reCount,
|
|
|
|
|
ip.customerId,
|
|
|
|
|
basic_corp.name supName,
|
|
|
|
|
basic_corp.name supName,
|
|
|
|
|
ip.supId,
|
|
|
|
|
auth_dept.name deptName,
|
|
|
|
|
auth_warehouse.name invName,
|
|
|
|
|
auth_dept.name deptName,
|
|
|
|
|
auth_warehouse.name invName,
|
|
|
|
|
ip.deptCode,
|
|
|
|
|
ip.invCode
|
|
|
|
|
from inv_product ip
|
|
|
|
|