lin
2024-03-20 f075746fcd4be2b0c5322a5b9d7b5e81da8dcee8
src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
@@ -239,7 +239,7 @@
            <if test="household.relationship!=null and household.relationship == 18">
                and jh.relationship = #{household.relationship}
                <if test="household.minors!=null and household.minors ==1">
                <if test="household.minors!=null and household.minors ==2">
                    and TIMESTAMPDIFF(year, substring(jh.id_card, 7, 8), now()) &lt; 18
                </if>
            </if>