Browse Source

2024/06/28

master
zelian_wu 2 years ago
parent
commit
aefe041724
  1. 4
      src/main/resources/mapper/shipment/ShipmentMapper.xml

4
src/main/resources/mapper/shipment/ShipmentMapper.xml

@ -8,6 +8,7 @@
<select id="selectShipmentList" resultType="com.spring.modules.shipment.entity.Shipment"> <select id="selectShipmentList" resultType="com.spring.modules.shipment.entity.Shipment">
select <include refid="columns" /> from v_ifs_shipment ifs select <include refid="columns" /> from v_ifs_shipment ifs
inner join customer c on ifs.customer_no = c.customer_no and ifs.site = c.site
left join shipment_handle sh on ifs.shipment_id = sh.shipment_id and ifs.site = sh.site left join shipment_handle sh on ifs.shipment_id = sh.shipment_id and ifs.site = sh.site
<where> <where>
<!-- and sh.create_date is null--> <!-- and sh.create_date is null-->
@ -24,10 +25,12 @@
and #{endDate} >= ifs.ship_date and #{endDate} >= ifs.ship_date
</if> </if>
</where> </where>
order by ifs.ship_date desc
</select> </select>
<select id="selectShipmentPage" resultType="com.spring.modules.shipment.entity.Shipment"> <select id="selectShipmentPage" resultType="com.spring.modules.shipment.entity.Shipment">
select <include refid="columns" /> from v_ifs_shipment ifs select <include refid="columns" /> from v_ifs_shipment ifs
inner join customer c on ifs.customer_no = c.customer_no and ifs.site = c.site
left join shipment_handle sh on ifs.shipment_id = sh.shipment_id and ifs.site = sh.site left join shipment_handle sh on ifs.shipment_id = sh.shipment_id and ifs.site = sh.site
<where> <where>
<!-- and sh.create_date is null--> <!-- and sh.create_date is null-->
@ -44,6 +47,7 @@
and #{params.endDate} >= ifs.ship_date and #{params.endDate} >= ifs.ship_date
</if> </if>
</where> </where>
order by ifs.ship_date desc
</select> </select>
<select id="searchTransDetailsubCachData" resultType="com.spring.modules.material.data.TransDetailsubCachData"> <select id="searchTransDetailsubCachData" resultType="com.spring.modules.material.data.TransDetailsubCachData">

Loading…
Cancel
Save