md
This commit is contained in:
parent
ae0b09db47
commit
369cd90e66
@ -35,14 +35,14 @@
|
||||
sum(if(b.payment_type in(1,3,6),money,0) ) as money,
|
||||
sum(if(b.payment_type in(2,4,5),money,0) ) as month_money
|
||||
from emis_commission_dtl a,emis_waybill b
|
||||
where del_flag='0' and a.bill_code=b.bill_code
|
||||
where a.del_flag='0' and a.bill_code=b.bill_code
|
||||
<if test="empName != null and empName != ''">
|
||||
and a.emp_name = #{empName}
|
||||
</if>
|
||||
<if test="billMonth != null and billMonth != ''">
|
||||
and bill_month=#{billMonth}
|
||||
and a.bill_month=#{billMonth}
|
||||
</if>
|
||||
group by emp_name,bill_month
|
||||
group by a.emp_name,a.bill_month
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user