wente
2024-01-12 735916a9ac00b8ef1a1e0a548e7804a3ffef396a
zt/core/src/main/resources/mapper/sys/SysPostDao.xml
@@ -4,7 +4,7 @@
<mapper namespace="com.zt.modules.sys.dao.SysPostDao">
    <select id="getList" resultType="com.zt.modules.sys.model.SysPost">
        select a.* ,(select t2.dept_name from SYS_DEPT t2 where t2.dept_id=a.dept_id) deptName
        select a.* ,(select t2.name from SYS_DEPT t2 where t2.id=a.dept_id) deptName
        from SYS_POST a
        where a.is_delete = 0
        <if test="name != null">