demand: tms-基础管理-客户开票主体-将删除改成软删除 tms-基础管理-公司开票主体-将删除改成软删除

This commit is contained in:
aike 2026-01-16 11:18:21 +08:00
parent c14b91a81a
commit fc3fed843d
3 changed files with 6 additions and 6 deletions

View File

@ -164,13 +164,13 @@
</update>
<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 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=")">
#{id}
</foreach>
</delete>
</mapper>
</mapper>

View File

@ -175,11 +175,11 @@
</update>
<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 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=")">
#{id}
</foreach>

View File

@ -300,7 +300,7 @@
</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="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>