bug修改
This commit is contained in:
parent
2fd49f17f4
commit
cefcbc439c
@ -847,7 +847,7 @@
|
|||||||
#{houseIds[${index}]}
|
#{houseIds[${index}]}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="(populationInfoId != null and populationInfoId != '') or (cardNum != '' and cardNum != '')">
|
<if test="populationInfoId != null and populationInfoId != ''">
|
||||||
AND
|
AND
|
||||||
t1.house_id IN (
|
t1.house_id IN (
|
||||||
SELECT
|
SELECT
|
||||||
@ -859,6 +859,17 @@
|
|||||||
<if test="populationInfoId != null and populationInfoId != ''">
|
<if test="populationInfoId != null and populationInfoId != ''">
|
||||||
AND hp.population_info_id = #{populationInfoId}
|
AND hp.population_info_id = #{populationInfoId}
|
||||||
</if>
|
</if>
|
||||||
|
)
|
||||||
|
</if>
|
||||||
|
<if test="cardNum != null and cardNum != ''">
|
||||||
|
AND
|
||||||
|
t1.house_id IN (
|
||||||
|
SELECT
|
||||||
|
hp.house_id
|
||||||
|
FROM
|
||||||
|
house_population hp
|
||||||
|
WHERE
|
||||||
|
1 = 1
|
||||||
<if test="cardNum != null and cardNum != ''">
|
<if test="cardNum != null and cardNum != ''">
|
||||||
AND hp.card_num = #{cardNum}
|
AND hp.card_num = #{cardNum}
|
||||||
</if>
|
</if>
|
||||||
|
Loading…
Reference in New Issue
Block a user