md
This commit is contained in:
parent
4438082f7d
commit
30d60ebbbd
@ -77,19 +77,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
where del_flag='0' and a.bill_code = #{billCode}
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
<insert id="insertEmisTmsCostFeeRel" parameterType="EmisTmsCostFeeRel" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into emis_tms_cost_fee_rel
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="costNo != null and costNo != ''">cost_no,</if>
|
||||
<if test="billCode != null and billCode != ''">bill_code,</if>
|
||||
<if test="feeType != null and feeType != ''">fee_type,</if>
|
||||
<if test="splitType != null and splitType != ''">split_type,</if>
|
||||
<if test="costFee != null">cost_fee,</if>
|
||||
<if test="totalVolume != null">total_volume,</if>
|
||||
<if test="billWeight != null">bill_weight,</if>
|
||||
<if test="calcRemark != null and calcRemark != ''">calc_remark,</if>
|
||||
<if test="remark != null and remark != ''">remark,</if>
|
||||
<if test="delFlag != null and delFlag != ''">del_flag,</if>
|
||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||
@ -102,12 +94,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="costNo != null and costNo != ''">#{costNo},</if>
|
||||
<if test="billCode != null and billCode != ''">#{billCode},</if>
|
||||
<if test="feeType != null and feeType != ''">#{feeType},</if>
|
||||
<if test="splitType != null and splitType != ''">#{splitType},</if>
|
||||
<if test="costFee != null">#{costFee},</if>
|
||||
<if test="totalVolume != null">#{totalVolume},</if>
|
||||
<if test="billWeight != null">#{billWeight},</if>
|
||||
<if test="calcRemark != null and calcRemark != ''">#{calcRemark},</if>
|
||||
<if test="remark != null and remark != ''">#{remark},</if>
|
||||
<if test="delFlag != null and delFlag != ''">#{delFlag},</if>
|
||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||
@ -124,12 +110,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="costNo != null and costNo != ''">cost_no = #{costNo},</if>
|
||||
<if test="billCode != null and billCode != ''">bill_code = #{billCode},</if>
|
||||
<if test="feeType != null and feeType != ''">fee_type = #{feeType},</if>
|
||||
<if test="splitType != null and splitType != ''">split_type = #{splitType},</if>
|
||||
<if test="costFee != null">cost_fee = #{costFee},</if>
|
||||
<if test="totalVolume != null">total_volume = #{totalVolume},</if>
|
||||
<if test="billWeight != null">bill_weight = #{billWeight},</if>
|
||||
<if test="calcRemark != null and calcRemark != ''">calc_remark = #{calcRemark},</if>
|
||||
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
||||
<if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
|
||||
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user