This commit is contained in:
linfso 2025-02-23 20:05:08 +08:00
parent 5576e1273e
commit 65f2a550a2

View File

@ -22,15 +22,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectEmisTmsCostProfitVo">
select id, bill_code, standard_fee, bill_fee, cost_fee, bill_profit, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_tms_cost_profit
select id, bill_code, standard_fee, bill_fee, cost_fee, bill_profit,
remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
from emis_tms_cost_profit
</sql>
<select id="selectEmisTmsCostProfitList" parameterType="EmisTmsCostProfit" resultMap="EmisTmsCostProfitWithSubBillResult">
select
b.id, b.bill_code, b.stb.db.d_fee, b.bill_fee, b.cost_fee, b.bill_profit,
b.remb.k, b.del_flb., b.creb.e_by, b.creb.e_time, b.updb.e_by, b.updb.e_time,
b.creb.e_site, b.updb.e_site
from emis_tms_cost_profit b,emis_waybill a
b.id, b.bill_code, b.standard_fee, b.bill_fee, b.cost_fee, b.bill_profit,
b.remark, b.del_flag, b.create_by, b.create_time, b.update_by, b.update_time, b.create_site, b.update_site
from emis_tms_cost_profit b,emis_waybill a
<where>
a.bill_code=b.bill_code and a.del_flag='0' and b.del_flag='0'
<if test="id != null "> and b.id = #{id}</if>