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

dev_kcyj
anthonywj 12 months ago
parent 184b3c8139
commit a508f850a2

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

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

@ -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

Loading…
Cancel
Save