md
This commit is contained in:
parent
c641f27ae5
commit
5db718359f
@ -942,10 +942,6 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
|||||||
profitMoney = Double.valueOf(AviatorEvaluator.execute(calcExprStr).toString());
|
profitMoney = Double.valueOf(AviatorEvaluator.execute(calcExprStr).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
// 插入参与分成人员
|
|
||||||
String empCode=quoteItem.getEmpCode();
|
|
||||||
String empName=quoteItem.getEmpName();
|
|
||||||
|
|
||||||
// 插入提成
|
// 插入提成
|
||||||
if(BigDecimal.valueOf(profitMoney).compareTo(BigDecimal.ZERO)>0) {
|
if(BigDecimal.valueOf(profitMoney).compareTo(BigDecimal.ZERO)>0) {
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectProfitStatList" parameterType="String" resultMap="EmisCommissionProfitResult">
|
<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
|
from emis_commission_dtl a
|
||||||
where a.emp_name = #{empName}
|
where a.emp_name = #{empName}
|
||||||
<if test="billMonth != null and billMonth != ''">
|
<if test="billMonth != null and billMonth != ''">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user