zhongrj
2023-12-28 23f449af3694358ee39b2c4441ef6327376eeef4
src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
@@ -430,5 +430,14 @@
        GROUP BY age
    </select>
    <!--查询所有未入库的业主信息-->
    <select id="getNotInsertUserHousehold" resultType="org.springblade.modules.house.entity.HouseholdEntity">
        select jh.* from jczz_household jh
        where jh.is_deleted = 0
        and jh.relationship = 1
        and jh.associated_user_id is null
        and jh.phone_number !=''
        and length(jh.name)&lt;=12
    </select>
</mapper>