md
This commit is contained in:
parent
f4908f4bce
commit
4b7641bd23
@ -26,7 +26,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="transWeight" column="trans_weight" />
|
||||
<result property="transVolume" column="trans_volume" />
|
||||
<result property="transCostFee" column="trans_cost_fee" />
|
||||
<result property="currency" column="currency" />
|
||||
<result property="currecyToCnyRate" column="currecy_to_cny_rate" />
|
||||
<result property="cnyFee" column="cny_fee" />
|
||||
<result property="feeItemId" column="fee_item_id" />
|
||||
<result property="price" column="price" />
|
||||
<result property="calcExpr" column="calc_expr" />
|
||||
<result property="calcRemark" column="calc_remark" />
|
||||
<result property="blManual" column="bl_manual" />
|
||||
@ -56,7 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
|
||||
<sql id="selectEmisTmsCostFeeSplitVo">
|
||||
select id, cost_no, batch_no, bill_code, main_bill_code, send_place, dest_place, bill_month, trade_date, trans_sign_no, supplier_code, fee_type, split_type, split_value, cost_fee, total_volume, bill_weight, trans_weight, trans_volume, trans_cost_fee, fee_item_id, calc_expr, calc_remark, bl_manual, bl_virtual, bl_sub, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_tms_cost_fee_split
|
||||
select id, cost_no, batch_no, bill_code, main_bill_code, send_place, dest_place, bill_month, trade_date, trans_sign_no, supplier_code, fee_type, split_type, split_value, cost_fee, total_volume, bill_weight, trans_weight, trans_volume, trans_cost_fee, currency, currecy_to_cny_rate, cny_fee, fee_item_id, price, calc_expr, calc_remark, bl_manual, bl_virtual, bl_sub, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_tms_cost_fee_split
|
||||
</sql>
|
||||
|
||||
|
||||
@ -119,7 +123,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</select>
|
||||
|
||||
<select id="selectListByBillCode" parameterType="String" resultMap="EmisTmsCostFeeSplitResult">
|
||||
select id, cost_no, batch_no, bill_code, main_bill_code, send_place, dest_place, bill_month, trade_date, trans_sign_no, supplier_code, fee_type, split_type, split_value, cost_fee, total_volume, bill_weight, trans_weight, trans_volume, trans_cost_fee, fee_item_id, calc_expr, calc_remark, bl_manual, bl_virtual, bl_sub, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
select id, cost_no, batch_no, bill_code, main_bill_code, send_place, dest_place, bill_month, trade_date, trans_sign_no, supplier_code, fee_type, split_type, split_value, cost_fee, total_volume, bill_weight, trans_weight, trans_volume, trans_cost_fee, currency, currecy_to_cny_rate, cny_fee, fee_item_id, price, calc_expr, calc_remark, bl_manual, bl_virtual, bl_sub, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
from emis_tms_cost_fee_split a
|
||||
where a.del_flag='0'
|
||||
and a.main_bill_code = #{billCode}
|
||||
@ -127,13 +131,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</select>
|
||||
|
||||
<select id="selectListByCostNo" parameterType="String" resultMap="EmisTmsCostFeeSplitResult">
|
||||
select id, cost_no, batch_no, bill_code, main_bill_code, send_place, dest_place, bill_month, trade_date, trans_sign_no, supplier_code, fee_type, split_type, split_value, cost_fee, total_volume, bill_weight, trans_weight, trans_volume, trans_cost_fee, fee_item_id, calc_expr, calc_remark, bl_manual, bl_virtual, bl_sub, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
select id, cost_no, batch_no, bill_code, main_bill_code, send_place, dest_place, bill_month, trade_date, trans_sign_no, supplier_code, fee_type, split_type, split_value, cost_fee, total_volume, bill_weight, trans_weight, trans_volume, trans_cost_fee, currency, currecy_to_cny_rate, cny_fee, fee_item_id, price, calc_expr, calc_remark, bl_manual, bl_virtual, bl_sub, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
from emis_tms_cost_fee_split a
|
||||
where a.del_flag='0' and a.cost_no = #{costNo}
|
||||
</select>
|
||||
|
||||
<select id="selectEmisTmsCostFeeSplitById" parameterType="Long" resultMap="EmisTmsCostFeeSplitResult">
|
||||
select id, cost_no, batch_no, bill_code, main_bill_code, send_place, dest_place, bill_month, trade_date, trans_sign_no, supplier_code, fee_type, split_type, split_value, cost_fee, total_volume, bill_weight, trans_weight, trans_volume, trans_cost_fee, fee_item_id, calc_expr, calc_remark, bl_manual, bl_virtual, bl_sub, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
select id, cost_no, batch_no, bill_code, main_bill_code, send_place, dest_place, bill_month, trade_date, trans_sign_no, supplier_code, fee_type, split_type, split_value, cost_fee, total_volume, bill_weight, trans_weight, trans_volume, trans_cost_fee, currency, currecy_to_cny_rate, cny_fee, fee_item_id, price, calc_expr, calc_remark, bl_manual, bl_virtual, bl_sub, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
from emis_tms_cost_fee_split a
|
||||
where a.id = #{id}
|
||||
</select>
|
||||
@ -141,7 +145,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<insert id="insertEmisTmsCostFeeSplit" parameterType="EmisTmsCostFeeSplit" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into emis_tms_cost_fee_split
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">id,</if>
|
||||
<if test="costNo != null and costNo != ''">cost_no,</if>
|
||||
<if test="batchNo != null and batchNo != ''">batch_no,</if>
|
||||
<if test="billCode != null and billCode != ''">bill_code,</if>
|
||||
@ -161,7 +164,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="transWeight != null">trans_weight,</if>
|
||||
<if test="transVolume != null">trans_volume,</if>
|
||||
<if test="transCostFee != null">trans_cost_fee,</if>
|
||||
<if test="currency != null and currency != ''">currency,</if>
|
||||
<if test="currecyToCnyRate != null">currecy_to_cny_rate,</if>
|
||||
<if test="cnyFee != null">cny_fee,</if>
|
||||
<if test="feeItemId != null">fee_item_id,</if>
|
||||
<if test="price != null">price,</if>
|
||||
<if test="calcExpr != null and calcExpr != ''">calc_expr,</if>
|
||||
<if test="calcRemark != null and calcRemark != ''">calc_remark,</if>
|
||||
<if test="blManual != null and blManual != ''">bl_manual,</if>
|
||||
@ -177,7 +184,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateSite != null and updateSite != ''">update_site,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
<if test="costNo != null and costNo != ''">#{costNo},</if>
|
||||
<if test="batchNo != null and batchNo != ''">#{batchNo},</if>
|
||||
<if test="billCode != null and billCode != ''">#{billCode},</if>
|
||||
@ -197,7 +203,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="transWeight != null">#{transWeight},</if>
|
||||
<if test="transVolume != null">#{transVolume},</if>
|
||||
<if test="transCostFee != null">#{transCostFee},</if>
|
||||
<if test="currency != null and currency != ''">#{currency},</if>
|
||||
<if test="currecyToCnyRate != null">#{currecyToCnyRate},</if>
|
||||
<if test="cnyFee != null">#{cnyFee},</if>
|
||||
<if test="feeItemId != null">#{feeItemId},</if>
|
||||
<if test="price != null">#{price},</if>
|
||||
<if test="calcExpr != null and calcExpr != ''">#{calcExpr},</if>
|
||||
<if test="calcRemark != null and calcRemark != ''">#{calcRemark},</if>
|
||||
<if test="blManual != null and blManual != ''">#{blManual},</if>
|
||||
@ -236,7 +246,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="transWeight != null">trans_weight = #{transWeight},</if>
|
||||
<if test="transVolume != null">trans_volume = #{transVolume},</if>
|
||||
<if test="transCostFee != null">trans_cost_fee = #{transCostFee},</if>
|
||||
<if test="currency != null and currency != ''">currency = #{currency},</if>
|
||||
<if test="currecyToCnyRate != null">currecy_to_cny_rate = #{currecyToCnyRate},</if>
|
||||
<if test="cnyFee != null">cny_fee = #{cnyFee},</if>
|
||||
<if test="feeItemId != null">fee_item_id = #{feeItemId},</if>
|
||||
<if test="price != null">price = #{price},</if>
|
||||
<if test="calcExpr != null and calcExpr != ''">calc_expr = #{calcExpr},</if>
|
||||
<if test="calcRemark != null and calcRemark != ''">calc_remark = #{calcRemark},</if>
|
||||
<if test="blManual != null and blManual != ''">bl_manual = #{blManual},</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user