linwei
2024-01-12 7dbc224fddba144063f52cab6ee911b7c63184ca
src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml
@@ -27,8 +27,8 @@
        jda.region_code,
        jg.community_code neiCode,
        jc.street_code streetCode,
        bu.name realName,
        bu.phone,
        jp.principal as realName,
        jp.principal_phone as phone,
        jt.id,
        jt.NAME,
        jt.type,
@@ -81,6 +81,10 @@
                and jg.community_code = #{task.neiCode}
            </if>
            <if test="task.communityName != null and task.communityName != null">
                and jc.name like concat('%', #{task.communityName}, '%')
            </if>
            <if test="task.streetCode != null and task.streetCode != null">
                and jc.street_code = #{task.streetCode}
            </if>