Commit 289bfb16 authored by hongguangwu's avatar hongguangwu

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

parent 9a999af7
...@@ -153,10 +153,20 @@ ...@@ -153,10 +153,20 @@
AND a.PROVINCE = #{sysBaseSetInfo.province} AND a.PROVINCE = #{sysBaseSetInfo.province}
</if> </if>
<if test="sysBaseSetInfo.city != null"> <if test="sysBaseSetInfo.city != null">
AND a.CITY = #{sysBaseSetInfo.city} <if test="sysBaseSetInfo.city != -1">
AND a.CITY = #{sysBaseSetInfo.city}
</if>
<if test="sysBaseSetInfo.city == -1">
AND a.CITY is null
</if>
</if> </if>
<if test="sysBaseSetInfo.town != null"> <if test="sysBaseSetInfo.town != null">
AND a.TOWN = #{sysBaseSetInfo.town} <if test="sysBaseSetInfo.town != -1">
AND a.TOWN = #{sysBaseSetInfo.town}
</if>
<if test="sysBaseSetInfo.town == -1">
AND a.TOWN is null
</if>
</if> </if>
<if test="sysBaseSetInfo.applyStartDate != null"> <if test="sysBaseSetInfo.applyStartDate != null">
AND a.APPLY_START_DATE <![CDATA[ <= ]]> #{sysBaseSetInfo.applyStartDate} AND a.APPLY_START_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