demand: tms-基础管理-客户开票主体-将删除改成软删除 tms-基础管理-公司开票主体-将删除改成软删除
This commit is contained in:
parent
c14b91a81a
commit
fc3fed843d
@ -164,13 +164,13 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<delete id="deleteEmisBaseInvoiceInfoById" parameterType="Long">
|
<delete id="deleteEmisBaseInvoiceInfoById" parameterType="Long">
|
||||||
delete from emis_base_invoice_info where id = #{id}
|
update emis_base_invoice_info set del_flag='1' where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<delete id="deleteEmisBaseInvoiceInfoByIds" parameterType="String">
|
<delete id="deleteEmisBaseInvoiceInfoByIds" parameterType="String">
|
||||||
delete from emis_base_invoice_info where id in
|
update emis_base_invoice_info set del_flag='1' where id in
|
||||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
</delete>
|
</delete>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
@ -175,11 +175,11 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<delete id="deleteEmisCustomerInvoiceInfoById" parameterType="Long">
|
<delete id="deleteEmisCustomerInvoiceInfoById" parameterType="Long">
|
||||||
delete from emis_customer_invoice_info where id = #{id}
|
update emis_customer_invoice_info set del_flag='1' where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<delete id="deleteEmisCustomerInvoiceInfoByIds" parameterType="String">
|
<delete id="deleteEmisCustomerInvoiceInfoByIds" parameterType="String">
|
||||||
delete from emis_customer_invoice_info where id in
|
update emis_customer_invoice_info set del_flag='1' where id in
|
||||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|||||||
@ -300,7 +300,7 @@
|
|||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="scanType != null and scanType != ''"> and scan_type=#{scanType}</if>
|
<if test="scanType != null and scanType != ''"> and scan_type=#{scanType}</if>
|
||||||
<if test="blLastTrack != null and blLastTrack != ''">bl_last_track=#{blLastTrack}</if>
|
<if test="blLastTrack != null and blLastTrack != ''">and bl_last_track=#{blLastTrack}</if>
|
||||||
<if test="preOrNextStation != null and preOrNextStation != ''"> and pre_or_next_station like concat('%', #{preOrNextStation}, '%')</if>
|
<if test="preOrNextStation != null and preOrNextStation != ''"> and pre_or_next_station like concat('%', #{preOrNextStation}, '%')</if>
|
||||||
<if test="preOrNextStationCode != null and preOrNextStationCode != ''"> and pre_or_next_station_code=#{preOrNextStationCode}</if>
|
<if test="preOrNextStationCode != null and preOrNextStationCode != ''"> and pre_or_next_station_code=#{preOrNextStationCode}</if>
|
||||||
<if test="preOrNextStationPhone != null and preOrNextStationPhone != ''"> and pre_or_next_station_phone like concat('%', #{preOrNextStationPhone}, '%')</if>
|
<if test="preOrNextStationPhone != null and preOrNextStationPhone != ''"> and pre_or_next_station_phone like concat('%', #{preOrNextStationPhone}, '%')</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user