This commit is contained in:
linfso 2024-11-21 20:26:21 +08:00
parent 7fa7bafcca
commit 4ca23c2308
2 changed files with 4 additions and 4 deletions

View File

@ -372,7 +372,7 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
emisCommissionDtlMapper.insertEmisCommissionDtl(emisCommissionDtl);
// 单独根据人名称和月份汇总统计
reCalcEmpProfitSumMoney(profitUser.getEmpName(),billMonth);
// reCalcEmpProfitSumMoney(profitUser.getEmpName(),billMonth);
}
}else{
@ -971,7 +971,7 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
emisCommissionDtlMapper.insertEmisCommissionDtl(emisCommissionDtl);
// 单独根据人名称和月份汇总统计
reCalcEmpProfitSumMoney(salesmen,billMonth);
// reCalcEmpProfitSumMoney(salesmen,billMonth);
}else{
log.error("计算提成费用为0");
}

View File

@ -34,10 +34,10 @@
from emis_commission_dtl a
where del_flag='0'
<if test="empName != null and empName != ''">
a.emp_name = #{empName}
and a.emp_name = #{empName}
</if>
<if test="billMonth != null and billMonth != ''">
and bill_month=#{billMonth}
and bill_month=#{billMonth}
</if>
group by emp_name,bill_month
</select>