1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
| <mapper namespace="com.zt.life.modules.mainPart.test.dao.ProjectModelDaos">
|
| <select id="page" resultType="com.zt.life.modules.mainPart.test.model.ProjectModelTest">
| select a.*,
| (select group_concat(dept_name order by dept_name) from SYS_DEPT s1
| where instr(a.maintain_unit,s1.dept_id) > 0
| ) as maintainUnitName
| from WX_PROJECT_FILE_CATALOG a
| where
| a.is_delete = 0
| order by a.code
| </select>
| </mapper>
|
|