|
|
@ -30,7 +30,7 @@ |
|
|
|
mir.householder_name householderName, |
|
|
|
mir.householder_relation householderRelation |
|
|
|
FROM ic_move_in_record mir |
|
|
|
left join ic_resi_user iru on iru.ID_CARD = mir.ID_CARD and iru.DEL_FLAG = 0 |
|
|
|
left join ic_resi_user iru on iru.ID_CARD = mir.ID_CARD and iru.DEL_FLAG = 0 and iru.CUSTOMER_ID=#{customerId} |
|
|
|
WHERE mir.del_flag = '0' |
|
|
|
AND mir.customer_id=#{customerId} |
|
|
|
<if test="gridId != null and gridId != '' "> |
|
|
|