diff --git a/mallinkService/src/main/resources/mapper/WxAllBillMapper.xml b/mallinkService/src/main/resources/mapper/WxAllBillMapper.xml index 1e56049a4..5d650b691 100644 --- a/mallinkService/src/main/resources/mapper/WxAllBillMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxAllBillMapper.xml @@ -75,7 +75,7 @@ and `endtime` = #{endtimeEqual} and `extra_create_from` = #{extraCreateFrom} and `extra_create_from` is null - and bill_type = 9 and IFNULL(`pay`,'0') - IFNULL(`use_money`,'0') > 0 + and bill_type = 6 and IFNULL(`pay`,'0') - IFNULL(`use_money`,'0') > 0 and date_format(starttime,'%Y-%m') <= #{month} and date_format(endtime,'%Y-%m') >= #{month}