|
@@ -2536,7 +2536,7 @@
|
|
</select>
|
|
</select>
|
|
<select id="selectTWarehousebillsByIds" parameterType="String" resultMap="TWarehousebillsResult">
|
|
<select id="selectTWarehousebillsByIds" parameterType="String" resultMap="TWarehousebillsResult">
|
|
select f_id,f_vslid, f_voyid from t_warehousebills
|
|
select f_id,f_vslid, f_voyid from t_warehousebills
|
|
- where f_id =
|
|
|
|
|
|
+ where f_id in
|
|
<foreach item="fId" collection="array" open="(" separator="," close=")">
|
|
<foreach item="fId" collection="array" open="(" separator="," close=")">
|
|
#{fId}
|
|
#{fId}
|
|
</foreach>
|
|
</foreach>
|
|
@@ -2544,11 +2544,13 @@
|
|
<update id="updateTWarehousebillsByIds">
|
|
<update id="updateTWarehousebillsByIds">
|
|
update
|
|
update
|
|
t_warehousebills
|
|
t_warehousebills
|
|
- SET
|
|
|
|
- f_vslid = #{fVslid},
|
|
|
|
- f_voyid = #{fVoyid}
|
|
|
|
- where f_id =
|
|
|
|
- <foreach item="fId" collection="array" open="(" separator="," close=")">
|
|
|
|
|
|
+ <trim prefix="SET" suffixOverrides=",">
|
|
|
|
+ <if test="fVessel != null">f_vslid = #{fVessel},</if>
|
|
|
|
+ <if test="fVoyage != null">f_voyid = #{fVoyage},</if>
|
|
|
|
+ <if test="fCargoPlanning != null">f_cargo_planning = #{fCargoPlanning},</if>
|
|
|
|
+ </trim>
|
|
|
|
+ where f_id in
|
|
|
|
+ <foreach item="fId" collection="fIds" open="(" separator="," close=")">
|
|
#{fId}
|
|
#{fId}
|
|
</foreach>
|
|
</foreach>
|
|
</update>
|
|
</update>
|
|
@@ -2589,6 +2591,7 @@
|
|
where
|
|
where
|
|
tw.f_typeid = '1'
|
|
tw.f_typeid = '1'
|
|
and tw.del_flag = '0'
|
|
and tw.del_flag = '0'
|
|
|
|
+ and f_cargo_planning = '0'
|
|
<if test="fVslid != null ">and tw.f_vslid = #{fVslid}</if>
|
|
<if test="fVslid != null ">and tw.f_vslid = #{fVslid}</if>
|
|
<if test="fVoyid != null ">and tw.f_voyid = #{fVoyid}</if>
|
|
<if test="fVoyid != null ">and tw.f_voyid = #{fVoyid}</if>
|
|
</select>
|
|
</select>
|