This commit is contained in:
linfso 2025-07-04 11:41:23 +08:00
parent 42979545fe
commit e7e28a440f
4 changed files with 25 additions and 10 deletions

View File

@ -89,6 +89,7 @@ public interface EmisTmsCostFeeMapper extends BaseMapper<EmisTmsCostFee>
*/
public int updateEmisTmsCostFee(EmisTmsCostFee emisTmsCostFee);
/**
* 删除
*

View File

@ -188,12 +188,14 @@ public interface EmisWaybillMapper extends BaseMapper<EmisWaybill>
// 打提成标识
public int updateHasDoProfit(String billCode);
// 打成本标识
public int updateHasDoCostFee(String billCode);
// 取消出账标识
public int cancelHasDoProfit(String billCode);
// 打成本标识
public int updateHasDoCostFee(String billCode);
// 取消成本标识
public int cancelHasDoCostFee(String billCode);
// 更新问题件状态
public int updateProblemStatus(EmisWaybill emisWaybill);

View File

@ -144,6 +144,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
@Autowired
private EmisSettleSubBillMapper emisSettleSubBillMapper;
@Autowired
private EmisTmsCostFeeMapper emisTmsCostFeeMapper;
/**
* 获取稽核数据
* @param id
@ -3700,6 +3703,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
// 重新计算提成
emisCommissionProfitService.reCalcProfitByBillCode(emisWaybillSave.getBillCode());
// 设置需要重新计算成本
emisWaybillMapper.cancelHasDoCostFee(emisWaybillSave.getBillCode());
}catch (Exception ex){
ex.printStackTrace();
}

View File

@ -3594,13 +3594,6 @@
where bill_code=#{billCode}
</update>
<!-- 打成本计算标识 -->
<update id="updateHasDoCostFee" parameterType="String">
update emis_waybill set
bl_calc_cost = '1'
where bill_code=#{billCode}
</update>
<!-- 取消提成标识 -->
<update id="cancelHasDoProfit" parameterType="String">
update emis_waybill set
@ -3608,6 +3601,19 @@
where bill_code=#{billCode}
</update>
<!-- 打成本计算标识 -->
<update id="updateHasDoCostFee" parameterType="String">
update emis_waybill set
bl_calc_cost = '1'
where bill_code=#{billCode}
</update>
<!-- 取消成本计算标识 -->
<update id="cancelHasDoCostFee" parameterType="String">
update emis_waybill set
bl_calc_cost = '0'
where bill_code=#{billCode}
</update>
<update id="updateUnSignStatus" parameterType="EmisWaybill">