src/main/resources/mapper/data/DirMapper.xml
@@ -4,6 +4,9 @@ <select id="selectDir" resultType="com.lf.server.entity.data.DirEntity"> select a.*, fn_get_fullname(a.code, 2) fullName from lf.sys_dir a where id = #{id} </select> <select id="selectByCode" resultType="com.lf.server.entity.data.DirEntity"> select a.*, fn_get_fullname(a.code, 2) fullName from lf.sys_dir a where code = #{code} </select> <select id="selectDirAll" resultType="com.lf.server.entity.data.DirEntity"> select a.*, fn_get_fullname(a.code, 2) fullName from lf.sys_dir a order by order_num;