md
This commit is contained in:
parent
7fa7bafcca
commit
4ca23c2308
@ -372,7 +372,7 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
|||||||
emisCommissionDtlMapper.insertEmisCommissionDtl(emisCommissionDtl);
|
emisCommissionDtlMapper.insertEmisCommissionDtl(emisCommissionDtl);
|
||||||
|
|
||||||
// 单独根据人名称和月份汇总统计
|
// 单独根据人名称和月份汇总统计
|
||||||
reCalcEmpProfitSumMoney(profitUser.getEmpName(),billMonth);
|
// reCalcEmpProfitSumMoney(profitUser.getEmpName(),billMonth);
|
||||||
|
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
@ -971,7 +971,7 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
|||||||
emisCommissionDtlMapper.insertEmisCommissionDtl(emisCommissionDtl);
|
emisCommissionDtlMapper.insertEmisCommissionDtl(emisCommissionDtl);
|
||||||
|
|
||||||
// 单独根据人名称和月份汇总统计
|
// 单独根据人名称和月份汇总统计
|
||||||
reCalcEmpProfitSumMoney(salesmen,billMonth);
|
// reCalcEmpProfitSumMoney(salesmen,billMonth);
|
||||||
}else{
|
}else{
|
||||||
log.error("计算提成费用为0");
|
log.error("计算提成费用为0");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,10 +34,10 @@
|
|||||||
from emis_commission_dtl a
|
from emis_commission_dtl a
|
||||||
where del_flag='0'
|
where del_flag='0'
|
||||||
<if test="empName != null and empName != ''">
|
<if test="empName != null and empName != ''">
|
||||||
a.emp_name = #{empName}
|
and a.emp_name = #{empName}
|
||||||
</if>
|
</if>
|
||||||
<if test="billMonth != null and billMonth != ''">
|
<if test="billMonth != null and billMonth != ''">
|
||||||
and bill_month=#{billMonth}
|
and bill_month=#{billMonth}
|
||||||
</if>
|
</if>
|
||||||
group by emp_name,bill_month
|
group by emp_name,bill_month
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user