1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
| <?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.gkhy.exam.system.mapper.InspectionSpecificationMapper">
|
| <select id="selectSpecificationList" resultType="com.gkhy.exam.system.domain.InspectionSpecification">
| SELECT
| iss.`id`,
| iss.`company_id`,
| sc.`name` AS company_name,
| iss.`file_name`,
| iss.`file_path`,
| iss.`specification`,
| iss.`del_flag`,
| iss.`create_by`,
| iss.`create_time`,
| iss.`update_by`,
| iss.`update_time`
| FROM
| `inspection_specification` iss
| LEFT JOIN sys_company sc ON iss.company_id = sc.id
| WHERE
| iss.del_flag = 1
| AND iss.company_id = 24
| ORDER BY
| iss.create_time DESC
| </select>
| </mapper>
|
|