This commit is contained in:
linfso 2024-11-15 04:59:34 +08:00
parent c641f27ae5
commit 5db718359f
2 changed files with 1 additions and 5 deletions

View File

@ -942,10 +942,6 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
profitMoney = Double.valueOf(AviatorEvaluator.execute(calcExprStr).toString());
}
// 插入参与分成人员
String empCode=quoteItem.getEmpCode();
String empName=quoteItem.getEmpName();
// 插入提成
if(BigDecimal.valueOf(profitMoney).compareTo(BigDecimal.ZERO)>0) {

View File

@ -30,7 +30,7 @@
</sql>
<select id="selectProfitStatList" parameterType="String" resultMap="EmisCommissionProfitResult">
select emp_name ,bill_month as billMonth, sum(money) as money
select emp_name ,bill_month, sum(money) as money
from emis_commission_dtl a
where a.emp_name = #{empName}
<if test="billMonth != null and billMonth != ''">