From 7ce7b3885f670332b1c2ce21d59a1669203aebf6 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 2 Jul 2025 13:19:51 +0800 Subject: [PATCH] md --- .../src/main/resources/mapper/EmisTmsCostProfitMapper.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisTmsCostProfitMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsCostProfitMapper.xml index 8283994a3..053e04d15 100644 --- a/emis-biz/src/main/resources/mapper/EmisTmsCostProfitMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisTmsCostProfitMapper.xml @@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" a.bill_code=b.bill_code and a.del_flag='0' and b.del_flag='0' and b.id = #{id} - and FIND_IN_SET(b.`bill_code`,#{billCode}) + and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or FIND_IN_SET(b.`master_bill_code`,#{billCode}) ) and b.standard_fee = #{standardFee} and b.bill_fee = #{billFee} and b.cost_fee = #{costFee} @@ -228,11 +228,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from emis_tms_cost_profit where id = #{id} + update emis_tms_cost_profit set del_flag='1' where id = #{id} - delete from emis_tms_cost_profit where id in + update emis_tms_cost_profit set del_flag='1' where id in #{id}