南靖新增第三方产品编码返回

dev_kcyj
anthonywj 1 year ago
parent 184b3c8139
commit a508f850a2

@ -142,6 +142,7 @@ public class ForThirdSysApiController {
} }
InvProductResponse invProductResponse = new InvProductResponse(); InvProductResponse invProductResponse = new InvProductResponse();
BeanUtil.copyProperties(checkUdi, invProductResponse); BeanUtil.copyProperties(checkUdi, invProductResponse);
invProductResponse.setThrCode(checkUdi.getThirdId());
invProductResponse.setReCount(count); invProductResponse.setReCount(count);
PageSimpleResponse<InvProductResponse> pageSimpleResponse = new PageSimpleResponse<>(); PageSimpleResponse<InvProductResponse> pageSimpleResponse = new PageSimpleResponse<>();

@ -132,4 +132,9 @@ public class InvProductResponse {
* *
*/ */
private String bzgg; private String bzgg;
/**
*
*/
private String thrCode;
} }

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

Loading…
Cancel
Save