1
2
3
4
5
6
7
8
9
10
11
12
13
| <?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.ruoyi.production.mapper.ProductionCostingDeptMapper">
|
| <select id="selectDeptConfigs" resultType="com.ruoyi.production.pojo.ProductionCostingDept">
| select d.id, d.dept_id, d.dept_type, d.remark, d.create_user, d.create_time, d.update_user, d.update_time,
| sd.dept_name as deptName
| from production_costing_dept d
| left join sys_dept sd on sd.dept_id = d.dept_id
| order by d.dept_type asc, d.id asc
| </select>
|
| </mapper>
|
|