|
|
|
@@ -75,7 +75,7 @@ |
|
|
|
<if test=" null != endtimeEqual">and `endtime` = #{endtimeEqual}</if> |
|
|
|
<if test=" null != extraCreateFrom">and `extra_create_from` = #{extraCreateFrom}</if> |
|
|
|
<if test=" null != noExtraCreateFrom">and `extra_create_from` is null</if> |
|
|
|
<if test=" null != advanceHasMoney">and bill_type = 9 and IFNULL(`pay`,'0') - IFNULL(`use_money`,'0') > 0</if> |
|
|
|
<if test=" null != advanceHasMoney">and bill_type = 6 and IFNULL(`pay`,'0') - IFNULL(`use_money`,'0') > 0</if> |
|
|
|
<if test=" null != month and '' != month"> |
|
|
|
and date_format(starttime,'%Y-%m') <= #{month} and date_format(endtime,'%Y-%m') >= #{month} |
|
|
|
</if> |
|
|
|
|