feat: 手动关联

dev_no_inv
chenhc 9 months ago
parent 84d2f939ae
commit 0014b8b1d3

@ -63,4 +63,22 @@ public class RelCodeBatchResponse {
*
*/
private String lineManager;
/**
*
*/
private String cpmctymc;
/**
*
*/
private Integer bhxjsl;
/**
*
*/
private String packUnit;
/**
*
*/
private Integer packLayer;
}

@ -36,8 +36,13 @@
a.validateDate,
a.workShop,
a.lineName,
a.lineManager
a.lineManager,
bp.cpmctymc,
bp.bhxjsl,
bp.packLevel AS packLayer,
bp.packUnit
from rel_code_batch a
LEFT JOIN basic_products bp ON bp.nameCode = a.productCode
<where>
<if test="productCode != '' and productCode != null">
AND a.productCode LIKE concat('%', #{productCode}, '%')

Loading…
Cancel
Save