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