|
|
|
@ -37,7 +37,7 @@ |
|
|
|
<select id="selectStGlassCakeOutPage" resultType="org.springblade.wms.pojo.vo.StGlassCakeOutVO"> |
|
|
|
<select id="selectStGlassCakeOutPage" resultType="org.springblade.wms.pojo.vo.StGlassCakeOutVO"> |
|
|
|
SELECT |
|
|
|
SELECT |
|
|
|
gco.id, gco.create_user, gco.create_time, |
|
|
|
gco.id, gco.create_user, gco.create_time, |
|
|
|
gco.sir_id, gco.wo_code, gco.part_code, |
|
|
|
gco.sir_id, gco.wo_code, gco.yo_code, gco.part_code, |
|
|
|
gco.part_name, gco.batch_code, gco.card_no, gco.quantity, gco.require_qty, |
|
|
|
gco.part_name, gco.batch_code, gco.card_no, gco.quantity, gco.require_qty, |
|
|
|
gco.stove_pi_no, gco.out_qty, gco.cur_status, gco.est_use_time, gco.out_time, |
|
|
|
gco.stove_pi_no, gco.out_qty, gco.cur_status, gco.est_use_time, gco.out_time, |
|
|
|
gco.out_users, gco.out_code, |
|
|
|
gco.out_users, gco.out_code, |
|
|
|
@ -80,8 +80,8 @@ |
|
|
|
LEFT JOIN BLADE_USER ou ON gco.out_users = ou.id AND ou.is_deleted = 0 |
|
|
|
LEFT JOIN BLADE_USER ou ON gco.out_users = ou.id AND ou.is_deleted = 0 |
|
|
|
-- 原有过滤条件:软删除 |
|
|
|
-- 原有过滤条件:软删除 |
|
|
|
WHERE gco.is_deleted = 0 |
|
|
|
WHERE gco.is_deleted = 0 |
|
|
|
<if test="stGlassCakeOut.woCode != null and stGlassCakeOut.woCode != ''"> |
|
|
|
<if test="stGlassCakeOut.yoCode != null and stGlassCakeOut.yoCode != ''"> |
|
|
|
AND gco.wo_code LIKE '%' || #{stGlassCakeOut.woCode} || '%' |
|
|
|
AND gco.yo_code LIKE '%' || #{stGlassCakeOut.yoCode} || '%' |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="stGlassCakeOut.partCode != null and stGlassCakeOut.partCode != ''"> |
|
|
|
<if test="stGlassCakeOut.partCode != null and stGlassCakeOut.partCode != ''"> |
|
|
|
AND gco.part_code LIKE '%' || #{stGlassCakeOut.partCode} || '%' |
|
|
|
AND gco.part_code LIKE '%' || #{stGlassCakeOut.partCode} || '%' |
|
|
|
|