Merge pull request 'develop' (#305) from develop into master
Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/305
This commit is contained in:
commit
1ed86c9583
@ -1,10 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* @Project: emis
|
* @Project: emis
|
||||||
* @Title: EmisTmsCostProfit.java
|
* @Title: EmisTmsCostProfit.java
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-10-10 01:53:23
|
* @date 2024-10-10 01:53:23
|
||||||
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
||||||
* @version v1.0
|
* @version v1.0
|
||||||
* @Description: <p> 运输运单利润统计表 实体类 </p>
|
* @Description: <p> 运输运单利润统计表 实体类 </p>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -52,6 +52,18 @@ public class EmisTmsCostProfit extends BaseEntity
|
|||||||
private BigDecimal costFee;
|
private BigDecimal costFee;
|
||||||
/* 运单利润 */
|
/* 运单利润 */
|
||||||
private BigDecimal billProfit;
|
private BigDecimal billProfit;
|
||||||
|
/* 理赔金额 */
|
||||||
|
private BigDecimal satisfyMoney;
|
||||||
|
/* 折让金额 */
|
||||||
|
private BigDecimal allowanceMoney;
|
||||||
|
/* 抵扣金额 */
|
||||||
|
private BigDecimal deductionMoney;
|
||||||
|
/* 其他金额 */
|
||||||
|
private BigDecimal otherMoney;
|
||||||
|
/* 批次状态 1:已完成,2:未完成,3:部分完成 */
|
||||||
|
private String batchStatus;
|
||||||
|
/* 成本状态 1:已完成,2:未完成,3:部分完成 */
|
||||||
|
private String costStatus;
|
||||||
|
|
||||||
// 扩展参数
|
// 扩展参数
|
||||||
private EmisWaybill waybillDetail;
|
private EmisWaybill waybillDetail;
|
||||||
|
|||||||
@ -44,7 +44,15 @@ public class EmisInvoiceCancellationServiceImpl implements IEmisInvoiceCancellat
|
|||||||
@Override
|
@Override
|
||||||
public EmisInvoiceCancellation selectEmisInvoiceCancellationById(Long id)
|
public EmisInvoiceCancellation selectEmisInvoiceCancellationById(Long id)
|
||||||
{
|
{
|
||||||
return emisInvoiceCancellationMapper.selectEmisInvoiceCancellationById(id);
|
EmisInvoiceCancellation emisInvoiceCancellation = emisInvoiceCancellationMapper.selectEmisInvoiceCancellationById(id);
|
||||||
|
// if (emisInvoiceCancellation == null) {
|
||||||
|
// return emisInvoiceCancellation;
|
||||||
|
// }
|
||||||
|
// if (emisInvoiceCancellation.getEmisSettleInvoiceRecord() == null) {
|
||||||
|
// return emisInvoiceCancellation;
|
||||||
|
// }
|
||||||
|
// emisInvoiceCancellation.getEmisSettleInvoiceRecord().setInvoiceStatus("2");
|
||||||
|
return emisInvoiceCancellation;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -77,6 +77,12 @@ public class EmisTmsCostFeeServiceImpl extends EmisBaseService implements IEmisT
|
|||||||
@Autowired
|
@Autowired
|
||||||
private EmisTmsCostQuotePriceMapper emisTmsCostQuotePriceMapper;
|
private EmisTmsCostQuotePriceMapper emisTmsCostQuotePriceMapper;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private EmisSettleSubBillMapper emisSettleSubBillMapper;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private EmisSettleBillMapper emisSettleBillMapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询TMS运输成本账单
|
* 查询TMS运输成本账单
|
||||||
* @param id TMS运输成本账单主键
|
* @param id TMS运输成本账单主键
|
||||||
@ -1260,7 +1266,36 @@ public class EmisTmsCostFeeServiceImpl extends EmisBaseService implements IEmisT
|
|||||||
// 获取主单成本费用
|
// 获取主单成本费用
|
||||||
double costFee=emisTmsCostFeeSplitMapper.getCostFeeByMainBillCode(mainBillCode);
|
double costFee=emisTmsCostFeeSplitMapper.getCostFeeByMainBillCode(mainBillCode);
|
||||||
updProfit.setCostFee(BigDecimal.valueOf(costFee));
|
updProfit.setCostFee(BigDecimal.valueOf(costFee));
|
||||||
updProfit.setBillProfit(emisTmsCostProfit.getBillFee().subtract(updProfit.getCostFee()));
|
|
||||||
|
// 根据mainBillCode查询账单表获取理赔金额、折让金额、抵扣金额、其他金额
|
||||||
|
List<EmisSettleSubBill> settleSubBillList = emisSettleSubBillMapper.selectSettleSubBillListByBillCode(mainBillCode);
|
||||||
|
if (CollectionUtils.isNotEmpty(settleSubBillList)) {
|
||||||
|
// 获取第一个子账单的settleBillNo
|
||||||
|
String settleBillNo = settleSubBillList.get(0).getSettleBillNo();
|
||||||
|
if (StringUtils.isNotBlank(settleBillNo)) {
|
||||||
|
// 查询该总账单下的所有子账单,判断是否只对应一个运单
|
||||||
|
List<EmisSettleSubBill> allSubBillList = emisSettleSubBillMapper.selectSubBillListBySettleBillNo(settleBillNo);
|
||||||
|
if (CollectionUtils.isNotEmpty(allSubBillList) && allSubBillList.size() == 1) {
|
||||||
|
// 账单只对应一个运单,查询总账单获取理赔金额、折让金额、抵扣金额、其他金额
|
||||||
|
EmisSettleBill settleBill = emisSettleBillMapper.selectSettleBillBySettleBillNo(settleBillNo);
|
||||||
|
if (settleBill != null) {
|
||||||
|
updProfit.setSatisfyMoney(settleBill.getSatisfyMoney() != null ? settleBill.getSatisfyMoney() : BigDecimal.ZERO);
|
||||||
|
updProfit.setAllowanceMoney(settleBill.getAllowanceMoney() != null ? settleBill.getAllowanceMoney() : BigDecimal.ZERO);
|
||||||
|
updProfit.setDeductionMoney(settleBill.getDeductionMoney() != null ? settleBill.getDeductionMoney() : BigDecimal.ZERO);
|
||||||
|
updProfit.setOtherMoney(settleBill.getOtherMoney() != null ? settleBill.getOtherMoney() : BigDecimal.ZERO);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 计算运单利润:运单费用 - 运输成本 - 理赔金额 - 折让金额 - 抵扣金额 - 其他金额
|
||||||
|
BigDecimal billProfit = emisTmsCostProfit.getBillFee()
|
||||||
|
.subtract(updProfit.getCostFee())
|
||||||
|
.subtract(updProfit.getSatisfyMoney() != null ? updProfit.getSatisfyMoney() : BigDecimal.ZERO)
|
||||||
|
.subtract(updProfit.getAllowanceMoney() != null ? updProfit.getAllowanceMoney() : BigDecimal.ZERO)
|
||||||
|
.subtract(updProfit.getDeductionMoney() != null ? updProfit.getDeductionMoney() : BigDecimal.ZERO)
|
||||||
|
.subtract(updProfit.getOtherMoney() != null ? updProfit.getOtherMoney() : BigDecimal.ZERO);
|
||||||
|
updProfit.setBillProfit(billProfit);
|
||||||
emisTmsCostProfitMapper.updateEmisTmsCostProfit(updProfit);
|
emisTmsCostProfitMapper.updateEmisTmsCostProfit(updProfit);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.xdadan.erp.emis.mapper.EmisTmsCostProfitMapper">
|
<mapper namespace="com.xdadan.erp.emis.mapper.EmisTmsCostProfitMapper">
|
||||||
|
|
||||||
<resultMap type="EmisTmsCostProfit" id="EmisTmsCostProfitResult">
|
<resultMap type="EmisTmsCostProfit" id="EmisTmsCostProfitResult">
|
||||||
<result property="id" column="id" />
|
<result property="id" column="id" />
|
||||||
<result property="billCode" column="bill_code" />
|
<result property="billCode" column="bill_code" />
|
||||||
@ -12,6 +12,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<result property="billFee" column="bill_fee" />
|
<result property="billFee" column="bill_fee" />
|
||||||
<result property="costFee" column="cost_fee" />
|
<result property="costFee" column="cost_fee" />
|
||||||
<result property="billProfit" column="bill_profit" />
|
<result property="billProfit" column="bill_profit" />
|
||||||
|
<result property="satisfyMoney" column="satisfy_money" />
|
||||||
|
<result property="allowanceMoney" column="allowance_money" />
|
||||||
|
<result property="deductionMoney" column="deduction_money" />
|
||||||
|
<result property="otherMoney" column="other_money" />
|
||||||
|
<result property="batchStatus" column="batch_status" />
|
||||||
|
<result property="costStatus" column="cost_status" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<resultMap id="EmisTmsCostProfitWithSubBillResult" type="EmisTmsCostProfit" extends="EmisTmsCostProfitResult" >
|
<resultMap id="EmisTmsCostProfitWithSubBillResult" type="EmisTmsCostProfit" extends="EmisTmsCostProfitResult" >
|
||||||
@ -24,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
|
|
||||||
<sql id="selectEmisTmsCostProfitVo">
|
<sql id="selectEmisTmsCostProfitVo">
|
||||||
select id, bill_code,bill_month, standard_fee, bill_fee, cost_fee, bill_profit,
|
select id, bill_code,bill_month, standard_fee, bill_fee, cost_fee, bill_profit,
|
||||||
|
satisfy_money, allowance_money, deduction_money, other_money,
|
||||||
remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||||
|
|
||||||
from emis_tms_cost_profit
|
from emis_tms_cost_profit
|
||||||
@ -32,7 +39,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<select id="selectEmisTmsCostProfitList" parameterType="EmisTmsCostProfit" resultMap="EmisTmsCostProfitWithSubBillResult">
|
<select id="selectEmisTmsCostProfitList" parameterType="EmisTmsCostProfit" resultMap="EmisTmsCostProfitWithSubBillResult">
|
||||||
select
|
select
|
||||||
b.id, b.bill_code,b.bill_month, b.standard_fee, b.bill_fee, b.cost_fee, b.bill_profit,
|
b.id, b.bill_code,b.bill_month, 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
|
b.satisfy_money, b.allowance_money, b.deduction_money, b.other_money,
|
||||||
|
b.remark, b.del_flag, b.create_by, b.create_time, b.update_by, b.update_time, b.create_site, b.update_site,
|
||||||
|
CASE
|
||||||
|
WHEN EXISTS (SELECT 1 FROM emis_waybill_batch_status ewbs WHERE ewbs.bill_code = a.bill_code AND ewbs.del_flag = '0') THEN '1'
|
||||||
|
WHEN NOT EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0') THEN '2'
|
||||||
|
ELSE '3'
|
||||||
|
END as batch_status,
|
||||||
|
CASE
|
||||||
|
WHEN EXISTS (SELECT 1 FROM emis_waybill_batch_status ewbs WHERE ewbs.bill_code = a.bill_code AND ewbs.del_flag = '0')
|
||||||
|
AND EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0')
|
||||||
|
AND NOT EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0' AND (etsb.bl_entering IS NULL OR etsb.bl_entering != '1')) THEN '1'
|
||||||
|
WHEN NOT EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0' AND etsb.bl_entering = '1') THEN '2'
|
||||||
|
ELSE '3'
|
||||||
|
END as cost_status
|
||||||
from emis_tms_cost_profit b,emis_waybill a
|
from emis_tms_cost_profit b,emis_waybill a
|
||||||
<where>
|
<where>
|
||||||
a.bill_code=b.bill_code and a.del_flag='0' and b.del_flag='0'
|
a.bill_code=b.bill_code and a.del_flag='0' and b.del_flag='0'
|
||||||
@ -42,6 +62,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="billFee != null "> and b.bill_fee = #{billFee}</if>
|
<if test="billFee != null "> and b.bill_fee = #{billFee}</if>
|
||||||
<if test="costFee != null "> and b.cost_fee = #{costFee}</if>
|
<if test="costFee != null "> and b.cost_fee = #{costFee}</if>
|
||||||
<if test="billProfit != null "> and b.bill_profit = #{billProfit}</if>
|
<if test="billProfit != null "> and b.bill_profit = #{billProfit}</if>
|
||||||
|
<if test="satisfyMoney != null "> and b.satisfy_money = #{satisfyMoney}</if>
|
||||||
|
<if test="allowanceMoney != null "> and b.allowance_money = #{allowanceMoney}</if>
|
||||||
|
<if test="deductionMoney != null "> and b.deduction_money = #{deductionMoney}</if>
|
||||||
|
<if test="otherMoney != null "> and b.other_money = #{otherMoney}</if>
|
||||||
<if test="remark != null and remark != ''"> and b.remark like concat('%', #{remark}, '%')</if>
|
<if test="remark != null and remark != ''"> and b.remark like concat('%', #{remark}, '%')</if>
|
||||||
<if test="delFlag != null and delFlag != ''"> and b.del_flag like concat('%', #{delFlag}, '%')</if>
|
<if test="delFlag != null and delFlag != ''"> and b.del_flag like concat('%', #{delFlag}, '%')</if>
|
||||||
<if test="createBy != null and createBy != ''"> and b.create_by like concat('%', #{createBy}, '%')</if>
|
<if test="createBy != null and createBy != ''"> and b.create_by like concat('%', #{createBy}, '%')</if>
|
||||||
@ -132,6 +156,35 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="params.endSendDate != null and params.endSendDate != ''">
|
<if test="params.endSendDate != null and params.endSendDate != ''">
|
||||||
and a.send_date <![CDATA[ <= ]]> #{params.endSendDate}
|
and a.send_date <![CDATA[ <= ]]> #{params.endSendDate}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
<!-- 批次状态查询: batchStatus=1 在emis_waybill_batch_status中存在, batchStatus=2 在emis_tms_site_batch中不存在, 其他为3 -->
|
||||||
|
<if test="params.batchStatus != null and params.batchStatus == 1">
|
||||||
|
and EXISTS (SELECT 1 FROM emis_waybill_batch_status ewbs WHERE ewbs.bill_code = a.bill_code AND ewbs.del_flag = '0')
|
||||||
|
</if>
|
||||||
|
<if test="params.batchStatus != null and params.batchStatus == 2">
|
||||||
|
and NOT EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0')
|
||||||
|
</if>
|
||||||
|
<if test="params.batchStatus != null and params.batchStatus == 3">
|
||||||
|
and (
|
||||||
|
NOT EXISTS (SELECT 1 FROM emis_waybill_batch_status ewbs WHERE ewbs.bill_code = a.bill_code AND ewbs.del_flag = '0')
|
||||||
|
AND EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0')
|
||||||
|
)
|
||||||
|
</if>
|
||||||
|
|
||||||
|
<!-- 成本状态查询: costStatus=1 在emis_waybill_batch_status中存在且所有批次bl_entering=1, costStatus=2 不存在批次bl_entering=1, 其他为3 -->
|
||||||
|
<if test="params.costStatus != null and params.costStatus == 1">
|
||||||
|
and EXISTS (SELECT 1 FROM emis_waybill_batch_status ewbs WHERE ewbs.bill_code = a.bill_code AND ewbs.del_flag = '0')
|
||||||
|
and EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0')
|
||||||
|
and NOT EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0' AND (etsb.bl_entering IS NULL OR etsb.bl_entering != '1'))
|
||||||
|
</if>
|
||||||
|
<if test="params.costStatus != null and params.costStatus == 2">
|
||||||
|
and NOT EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0' AND etsb.bl_entering = '1')
|
||||||
|
</if>
|
||||||
|
<if test="params.costStatus != null and params.costStatus == 3">
|
||||||
|
and EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0')
|
||||||
|
and EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0' AND (etsb.bl_entering IS NULL OR etsb.bl_entering != '1'))
|
||||||
|
and EXISTS (SELECT 1 FROM emis_tms_site_batch_dtl etsbd INNER JOIN emis_tms_site_batch etsb ON etsbd.batch_no = etsb.batch_no WHERE etsbd.bill_code = a.bill_code AND etsbd.del_flag = '0' AND etsb.del_flag = '0' AND ( etsb.bl_entering = '1'))
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
order by b.create_time desc
|
order by b.create_time desc
|
||||||
</select>
|
</select>
|
||||||
@ -155,15 +208,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
and update_site = #{updateSite}
|
and update_site = #{updateSite}
|
||||||
limit 1
|
limit 1
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectEmisTmsCostProfitById" parameterType="Long" resultMap="EmisTmsCostProfitResult">
|
<select id="selectEmisTmsCostProfitById" parameterType="Long" resultMap="EmisTmsCostProfitResult">
|
||||||
select id, bill_code,bill_month, standard_fee, bill_fee, cost_fee, bill_profit, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
select id, bill_code,bill_month, standard_fee, bill_fee, cost_fee, bill_profit, satisfy_money, allowance_money, deduction_money, other_money, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||||
from emis_tms_cost_profit a
|
from emis_tms_cost_profit a
|
||||||
where a.id = #{id}
|
where a.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectEmisTmsCostProfitByBillCode" parameterType="String" resultMap="EmisTmsCostProfitWithSubBillResult">
|
<select id="selectEmisTmsCostProfitByBillCode" parameterType="String" resultMap="EmisTmsCostProfitWithSubBillResult">
|
||||||
select id, bill_code,bill_month, standard_fee, bill_fee, cost_fee, bill_profit, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
select id, bill_code,bill_month, standard_fee, bill_fee, cost_fee, bill_profit, satisfy_money, allowance_money, deduction_money, other_money, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||||
from emis_tms_cost_profit a
|
from emis_tms_cost_profit a
|
||||||
where a.bill_code = #{billCode}
|
where a.bill_code = #{billCode}
|
||||||
</select>
|
</select>
|
||||||
@ -178,6 +231,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="billFee != null">bill_fee,</if>
|
<if test="billFee != null">bill_fee,</if>
|
||||||
<if test="costFee != null">cost_fee,</if>
|
<if test="costFee != null">cost_fee,</if>
|
||||||
<if test="billProfit != null">bill_profit,</if>
|
<if test="billProfit != null">bill_profit,</if>
|
||||||
|
<if test="satisfyMoney != null">satisfy_money,</if>
|
||||||
|
<if test="allowanceMoney != null">allowance_money,</if>
|
||||||
|
<if test="deductionMoney != null">deduction_money,</if>
|
||||||
|
<if test="otherMoney != null">other_money,</if>
|
||||||
<if test="remark != null and remark != ''">remark,</if>
|
<if test="remark != null and remark != ''">remark,</if>
|
||||||
<if test="delFlag != null and delFlag != ''">del_flag,</if>
|
<if test="delFlag != null and delFlag != ''">del_flag,</if>
|
||||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||||
@ -195,6 +252,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="billFee != null">#{billFee},</if>
|
<if test="billFee != null">#{billFee},</if>
|
||||||
<if test="costFee != null">#{costFee},</if>
|
<if test="costFee != null">#{costFee},</if>
|
||||||
<if test="billProfit != null">#{billProfit},</if>
|
<if test="billProfit != null">#{billProfit},</if>
|
||||||
|
<if test="satisfyMoney != null">#{satisfyMoney},</if>
|
||||||
|
<if test="allowanceMoney != null">#{allowanceMoney},</if>
|
||||||
|
<if test="deductionMoney != null">#{deductionMoney},</if>
|
||||||
|
<if test="otherMoney != null">#{otherMoney},</if>
|
||||||
<if test="remark != null and remark != ''">#{remark},</if>
|
<if test="remark != null and remark != ''">#{remark},</if>
|
||||||
<if test="delFlag != null and delFlag != ''">#{delFlag},</if>
|
<if test="delFlag != null and delFlag != ''">#{delFlag},</if>
|
||||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||||
@ -215,6 +276,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="billFee != null">bill_fee = #{billFee},</if>
|
<if test="billFee != null">bill_fee = #{billFee},</if>
|
||||||
<if test="costFee != null">cost_fee = #{costFee},</if>
|
<if test="costFee != null">cost_fee = #{costFee},</if>
|
||||||
<if test="billProfit != null">bill_profit = #{billProfit},</if>
|
<if test="billProfit != null">bill_profit = #{billProfit},</if>
|
||||||
|
<if test="satisfyMoney != null">satisfy_money = #{satisfyMoney},</if>
|
||||||
|
<if test="allowanceMoney != null">allowance_money = #{allowanceMoney},</if>
|
||||||
|
<if test="deductionMoney != null">deduction_money = #{deductionMoney},</if>
|
||||||
|
<if test="otherMoney != null">other_money = #{otherMoney},</if>
|
||||||
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
||||||
<if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
|
<if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
|
||||||
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
<if test="createBy != null and createBy != ''">create_by = #{createBy},</if>
|
||||||
@ -237,4 +302,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
</delete>
|
</delete>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user