guoshilong
2024-02-19 7c62754ee030d811c04d74fd1e2c951ff6be29e3
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>