| | |
| | | jh.*, |
| | | jhl.id as cid,jhl.*,jhl.remark as cremark |
| | | from jczz_household jh |
| | | left join jczz_household_label jhl on jh.id = jhl.household_id |
| | | where 1=1 and is_deleted = 0 |
| | | and house_code = #{code} |
| | | left join jczz_user_house_label jhl on jh.id = jhl.household_id |
| | | where 1=1 and jh.is_deleted = 0 |
| | | and jh.house_code = #{code} |
| | | </select> |
| | | |
| | | <!--查询房屋集合信息-按id--> |
| | |
| | | jh.*, |
| | | jhl.id as cid,jhl.*,jhl.remark as cremark |
| | | from jczz_household jh |
| | | left join jczz_household_label jhl on jh.id = jhl.household_id |
| | | left join jczz_user_house_label jhl on jh.id = jhl.household_id |
| | | where 1=1 and is_deleted = 0 |
| | | and jh.id = #{household.id} |
| | | </select> |