|
@@ -48,6 +48,9 @@
|
|
<if test="baseId != null and baseId != ''">
|
|
<if test="baseId != null and baseId != ''">
|
|
AND w.base_id = #{baseId}
|
|
AND w.base_id = #{baseId}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="inOutType != null and inOutType != ''">
|
|
|
|
+ AND w.in_out_type = #{inOutType}
|
|
|
|
+ </if>
|
|
<if test="binNumber != null and binNumber != ''">
|
|
<if test="binNumber != null and binNumber != ''">
|
|
AND (lower(w.bin_number) like lower(CONCAT('%',#{binNumber},'%')))
|
|
AND (lower(w.bin_number) like lower(CONCAT('%',#{binNumber},'%')))
|
|
</if>
|
|
</if>
|
|
@@ -81,6 +84,7 @@
|
|
w.grade,
|
|
w.grade,
|
|
w.in_out_date as inOutDate,
|
|
w.in_out_date as inOutDate,
|
|
w.in_out_flag as inOutFlag,
|
|
w.in_out_flag as inOutFlag,
|
|
|
|
+ w.in_out_task_no as inOutTaskNo,
|
|
w.warehouse_name as warehouseName,
|
|
w.warehouse_name as warehouseName,
|
|
w.in_out_type as inOutType,
|
|
w.in_out_type as inOutType,
|
|
w.contract_no as contractNo,
|
|
w.contract_no as contractNo,
|
|
@@ -176,6 +180,9 @@
|
|
<if test="baseId != null and baseId != ''">
|
|
<if test="baseId != null and baseId != ''">
|
|
AND w.base_id = #{baseId}
|
|
AND w.base_id = #{baseId}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="inOutType != null and inOutType != ''">
|
|
|
|
+ AND w.in_out_type = #{inOutType}
|
|
|
|
+ </if>
|
|
<if test="binNumber != null and binNumber != ''">
|
|
<if test="binNumber != null and binNumber != ''">
|
|
AND (lower(w.bin_number) like lower(CONCAT('%',#{binNumber},'%')))
|
|
AND (lower(w.bin_number) like lower(CONCAT('%',#{binNumber},'%')))
|
|
</if>
|
|
</if>
|