|
@@ -9,7 +9,6 @@
|
|
left join warehouse_in_out_detail d on w.id=d.info_id
|
|
left join warehouse_in_out_detail d on w.id=d.info_id
|
|
WHERE
|
|
WHERE
|
|
w.delete_flag = '0'
|
|
w.delete_flag = '0'
|
|
- and w.status_flag = '3'
|
|
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType == 2">
|
|
<if test="searchType == 2">
|
|
AND w.in_out_flag = '1'
|
|
AND w.in_out_flag = '1'
|
|
@@ -21,6 +20,7 @@
|
|
<if test="pcFlag != null and pcFlag != ''">
|
|
<if test="pcFlag != null and pcFlag != ''">
|
|
AND w.base_id = #{baseId}
|
|
AND w.base_id = #{baseId}
|
|
and w.position_id = #{positionId}
|
|
and w.position_id = #{positionId}
|
|
|
|
+ and w.status_flag = '3'
|
|
</if>
|
|
</if>
|
|
<if test="statusFlag != null and statusFlag != ''">
|
|
<if test="statusFlag != null and statusFlag != ''">
|
|
AND w.status_flag = #{statusFlag}
|
|
AND w.status_flag = #{statusFlag}
|
|
@@ -40,8 +40,11 @@
|
|
w.in_out_type as inOutType,
|
|
w.in_out_type as inOutType,
|
|
w.contract_no as contractNo,
|
|
w.contract_no as contractNo,
|
|
w.car_no as carNo,
|
|
w.car_no as carNo,
|
|
|
|
+ w.tran_car_no as tranCarNo,
|
|
w.agent,
|
|
w.agent,
|
|
w.back_office as backOffice,
|
|
w.back_office as backOffice,
|
|
|
|
+ w.status_flag as statusFlag,
|
|
|
|
+ w.status as status,
|
|
w.create_date as createDate,
|
|
w.create_date as createDate,
|
|
d.water_content as waterContent,
|
|
d.water_content as waterContent,
|
|
d.bulk_density as bulkDensity,
|
|
d.bulk_density as bulkDensity,
|
|
@@ -55,7 +58,6 @@
|
|
left join warehouse_in_out_detail d on w.id=d.info_id
|
|
left join warehouse_in_out_detail d on w.id=d.info_id
|
|
WHERE
|
|
WHERE
|
|
w.delete_flag = '0'
|
|
w.delete_flag = '0'
|
|
- and w.status_flag = '3'
|
|
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType != null and searchType != ''">
|
|
<if test="searchType == 2">
|
|
<if test="searchType == 2">
|
|
AND w.in_out_flag = '1'
|
|
AND w.in_out_flag = '1'
|
|
@@ -67,6 +69,7 @@
|
|
<if test="pcFlag != null and pcFlag != ''">
|
|
<if test="pcFlag != null and pcFlag != ''">
|
|
AND w.base_id = #{baseId}
|
|
AND w.base_id = #{baseId}
|
|
and w.position_id = #{positionId}
|
|
and w.position_id = #{positionId}
|
|
|
|
+ and w.status_flag = '3'
|
|
</if>
|
|
</if>
|
|
<if test="statusFlag != null and statusFlag != ''">
|
|
<if test="statusFlag != null and statusFlag != ''">
|
|
AND w.status_flag = #{statusFlag}
|
|
AND w.status_flag = #{statusFlag}
|