富士达bug修复
This commit is contained in:
parent
62c43dd42b
commit
8eebb84002
|
|
@ -1342,10 +1342,10 @@ public class SIAccountBiz extends Service {
|
|||
// throw new SalaryRunTimeException("个税扣缴义务人为空");
|
||||
// }
|
||||
getInsuranceAccountBatchMapper().deleteById(insuranceAccountBatchPO.getId());
|
||||
getInsuranceAccountDetailMapper().batchDeleteNotFile(param.getBillMonth(), param.getPaymentOrganization());
|
||||
getInsuranceAccountDetailMapper().batchDeleteNotFile(param.getBillMonth(), param.getPaymentOrganization(), param.getFsdSbjndw());
|
||||
|
||||
//删除账单月份+个税扣缴义务人下的调差数据
|
||||
getInsuranceCompensationMapper().deleteByBillMonthAndPayOrg(param.getBillMonth(), param.getPaymentOrganization());
|
||||
getInsuranceCompensationMapper().deleteByBillMonthAndPayOrg(param.getBillMonth(), param.getPaymentOrganization(), param.getFsdSbjndw());
|
||||
// LoggerContext insuranceSchemeContext = new LoggerContext();
|
||||
// insuranceSchemeContext.setTargetId(String.valueOf(insuranceAccountBatchPO.getId()));
|
||||
// insuranceSchemeContext.setTargetName(insuranceAccountBatchPO.getBillMonth());
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ public interface InsuranceAccountDetailMapper {
|
|||
*
|
||||
* @param billMonth
|
||||
*/
|
||||
void batchDeleteNotFile(@Param("billMonth") String billMonth, @Param("paymentOrganization") Long paymentOrganization);
|
||||
void batchDeleteNotFile(@Param("billMonth") String billMonth, @Param("paymentOrganization") Long paymentOrganization, @Param("fsdSbjndw") String fsdSbjndw);
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -831,6 +831,9 @@
|
|||
<if test="paymentOrganization != null">
|
||||
AND payment_organization = #{paymentOrganization}
|
||||
</if>
|
||||
<if test="fsdSbjndw != null and fsdSbjndw != ''">
|
||||
AND fsd_sbjndw = #{fsdSbjndw}
|
||||
</if>
|
||||
</delete>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ public interface InsuranceCompensationMapper {
|
|||
|
||||
void deleteById(Long id);
|
||||
|
||||
void deleteByBillMonthAndPayOrg(@Param("billMonth") String billMonth, @Param("paymentOrganization") Long paymentOrganization);
|
||||
void deleteByBillMonthAndPayOrg(@Param("billMonth") String billMonth, @Param("paymentOrganization") Long paymentOrganization, @Param("fsdSbjndw") String fsdSbjndw);
|
||||
|
||||
void deleteByBillMonthPayOrgEmpIds(InsuranceCompensationPO insuranceCompensationPO);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -267,6 +267,9 @@
|
|||
WHERE bill_month = #{billMonth}
|
||||
AND payment_organization = #{paymentOrganization}
|
||||
AND delete_type = 0
|
||||
<if test="fsdSbjndw != null and fsdSbjndw != ''">
|
||||
AND fsd_sbjndw = #{fsdSbjndw}
|
||||
</if>
|
||||
</delete>
|
||||
|
||||
<delete id="deleteByBillMonthPayOrgEmpIds" parameterType="com.engine.salary.entity.siaccount.po.InsuranceCompensationPO">
|
||||
|
|
|
|||
|
|
@ -6114,9 +6114,9 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
// throw new SalaryRunTimeException("个税扣缴义务人为空");
|
||||
// }
|
||||
getInsuranceAccountBatchMapper().deleteById(insuranceAccountBatchPO.getId());
|
||||
getInsuranceAccountDetailMapper().batchDeleteNotFile(param.getBillMonth(), param.getPaymentOrganization());
|
||||
getInsuranceAccountDetailMapper().batchDeleteNotFile(param.getBillMonth(), param.getPaymentOrganization(), param.getFsdSbjndw());
|
||||
//删除账单月份+个税扣缴义务人下的调差数据
|
||||
getInsuranceCompensationMapper().deleteByBillMonthAndPayOrg(param.getBillMonth(), param.getPaymentOrganization());
|
||||
getInsuranceCompensationMapper().deleteByBillMonthAndPayOrg(param.getBillMonth(), param.getPaymentOrganization(), param.getFsdSbjndw());
|
||||
//记录操作日志
|
||||
TaxAgentPO taxAgentInfo = getTaxAgentMapper().getById(insuranceAccountBatchPO.getPaymentOrganization());
|
||||
LoggerContext<InsuranceAccountBatchPO> loggerContext = new LoggerContext();
|
||||
|
|
|
|||
Loading…
Reference in New Issue