linwei
2024-02-22 7bcd0d2d7510cb2ba67099cd768e1b2b6d047dc2
src/main/java/org/springblade/modules/system/mapper/DeptMapper.xml
@@ -194,4 +194,12 @@
        where bd.dept_name like '%网格%'
    </select>
    <!--查询对应的派出所-->
    <select id="getDeptByDeptIds" resultType="org.springblade.modules.system.entity.Dept">
        select * from blade_dept
        where is_deleted = 0
      and locate(id,#{deptId})>0
      and dept_name like '%派出所%'
    </select>
</mapper>