diff --git a/emis-biz/src/main/resources/mapper/EmisNotCalcAgingMapper.xml b/emis-biz/src/main/resources/mapper/EmisNotCalcAgingMapper.xml index 7031f0fdd..b12f5e4ed 100644 --- a/emis-biz/src/main/resources/mapper/EmisNotCalcAgingMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisNotCalcAgingMapper.xml @@ -40,9 +40,7 @@ and id = #{id} - and country like concat('%', #{country}, '%') and country_name like concat('%', #{countryName}, '%') - and no_calc_day = #{noCalcDay} and status = #{status} and remark like concat('%', #{remark}, '%') and tenant_id like concat('%', #{tenantId}, '%') @@ -53,6 +51,18 @@ and update_time = #{updateTime} and create_site like concat('%', #{createSite}, '%') and update_site like concat('%', #{updateSite}, '%') + + + + + and (country = #{country} or country='-1') + + + and no_calc_day = ]]> #{params.beginNoCalcDay} + + + and no_calc_day #{params.endNoCalcDay} + order by create_time desc