|
@@ -221,7 +221,8 @@
|
|
|
a.scrq,
|
|
|
a.storage_code,
|
|
|
a.wbs,
|
|
|
- c.real_name as realName
|
|
|
+ c.real_name as realName,
|
|
|
+ a.order_code as orderCode
|
|
|
from tld_storage a
|
|
|
left join tld_material b on a.wllb_code = b.code
|
|
|
left join tld_user c on a.user_id = c.id
|
|
@@ -250,6 +251,9 @@
|
|
|
<if test="wbs != null and wbs != ''">
|
|
|
and a.wbs like CONCAT(CONCAT('%', #{wbs}), '%')
|
|
|
</if>
|
|
|
+ <if test="orderCode != null and orderCode != ''">
|
|
|
+ and a.order_code like CONCAT(CONCAT('%', #{orderCode}), '%')
|
|
|
+ </if>
|
|
|
<if test="supplierId != null and supplierId != ''">
|
|
|
and a.supplier_id = #{supplierId}
|
|
|
</if>
|
|
@@ -303,7 +307,8 @@
|
|
|
a.scrq,
|
|
|
a.storage_code,
|
|
|
a.wbs,
|
|
|
- c.real_name as realName
|
|
|
+ c.real_name as realName,
|
|
|
+ a.order_code as orderCode
|
|
|
from tld_storage a
|
|
|
left join tld_material b on a.wllb_code = b.code
|
|
|
left join tld_user c on a.user_id = c.id
|
|
@@ -332,6 +337,9 @@
|
|
|
<if test="wbs != null and wbs != ''">
|
|
|
and a.wbs like CONCAT(CONCAT('%', #{wbs}), '%')
|
|
|
</if>
|
|
|
+ <if test="orderCode != null and orderCode != ''">
|
|
|
+ and a.order_code like CONCAT(CONCAT('%', #{orderCode}), '%')
|
|
|
+ </if>
|
|
|
<if test="supplierId != null and supplierId != ''">
|
|
|
and a.supplier_id = #{supplierId}
|
|
|
</if>
|