|
|
@@ -67,8 +67,8 @@ |
|
|
<if test=" null != propertyContractId ">and `property_contract_id` = #{propertyContractId}</if> |
|
|
<if test=" null != propertyContractId ">and `property_contract_id` = #{propertyContractId}</if> |
|
|
<if test=" null != parentBillId ">and `parent_bill_id` = #{parentBillId}</if> |
|
|
<if test=" null != parentBillId ">and `parent_bill_id` = #{parentBillId}</if> |
|
|
<if test=" null != isPreview ">and `is_preview` = #{isPreview}</if> |
|
|
<if test=" null != isPreview ">and `is_preview` = #{isPreview}</if> |
|
|
<if test=" null != starttime">and `starttime` <= #{starttime}</if> |
|
|
|
|
|
<if test=" null != endtime">and `endtime` >= #{endtime}</if> |
|
|
|
|
|
|
|
|
<if test=" null != starttime">and `starttime` >= #{starttime}</if> |
|
|
|
|
|
<if test=" null != endtime">and `endtime` <= #{endtime}</if> |
|
|
<if test=" null != month and '' != month"> |
|
|
<if test=" null != month and '' != month"> |
|
|
and date_format(starttime,'%Y-%m') <= #{month} and date_format(endtime,'%Y-%m') >= #{month} |
|
|
and date_format(starttime,'%Y-%m') <= #{month} and date_format(endtime,'%Y-%m') >= #{month} |
|
|
</if> |
|
|
</if> |
|
|
|