linwei
2024-02-18 41d49c3e3b14afbb2fc0ae7eb3b49996e56e8d38
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>