Commit 289bfb16 authored by hongguangwu's avatar hongguangwu

优化-预估库获取基数配置

parent 9a999af7
......@@ -153,11 +153,21 @@
AND a.PROVINCE = #{sysBaseSetInfo.province}
</if>
<if test="sysBaseSetInfo.city != null">
<if test="sysBaseSetInfo.city != -1">
AND a.CITY = #{sysBaseSetInfo.city}
</if>
<if test="sysBaseSetInfo.city == -1">
AND a.CITY is null
</if>
</if>
<if test="sysBaseSetInfo.town != null">
<if test="sysBaseSetInfo.town != -1">
AND a.TOWN = #{sysBaseSetInfo.town}
</if>
<if test="sysBaseSetInfo.town == -1">
AND a.TOWN is null
</if>
</if>
<if test="sysBaseSetInfo.applyStartDate != null">
AND a.APPLY_START_DATE <![CDATA[ <= ]]> #{sysBaseSetInfo.applyStartDate}
AND (a.APPLY_END_DATE is null or a.APPLY_END_DATE <![CDATA[ >= ]]> #{sysBaseSetInfo.applyStartDate})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment