Commit dd2e2861 authored by hongguangwu's avatar hongguangwu

1.7.20-商险退费不退款

parent 414c3400
......@@ -7472,15 +7472,12 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
ekpInsurancesInfo.setFd_3b941cbcea3e1a(deptInfo.getInsurancesTitle());
// HRO登记的退费为正数,推送到EKP后,为负数,具体为应收还是应支如下:
//1、BPO项目启用BPO结算模式:为有应支没有应收(应支为负数)——禁止退给客户,只能在商险费用支出结算时,冲抵——负数的数据会在商险支出审核通过后,归集到该项目审核通过月份的成本中去;
//2、BPO项目未启用BPO结算模式:为有应收也有应支(都是负数)——应收:禁止退给客户,只能在收款结算单结算时,冲抵成本(收款结算单中收入含税不含税计算中体现);
//3、非BPO项目未启用BPO结算模式:为有应收也有应支(都是负数)——应收:收款冲抵或退费;应支:支出冲抵;
// 上面的3点,我整理逻辑,且与测试郭彤沟通为:
// BPO项目,启用BPO结算模式 ——仅应支。其他情况,应收应支都有。
//商险退费不退款,生成的EKP明细,有没有应收,逻辑如下:
//【是】BPO项目,没有应收,有应支。(收款过程和结束,改明细的收款状态)
//【非】BPO项目,有应收,有应支。
yingZhi = ekpInsurancesInfo.getFd_3adfe6610c0d2c();
if ("是".equals(deptInfo.getIsBpo()) && "是".equals(deptInfo.getBpoSettle())) {
if ("是".equals(deptInfo.getIsBpo())) {
yingShou = 0.0;
} else {
yingShou = ekpInsurancesInfo.getFd_3adfe6610c0d2c();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment