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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
| <?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.QualityInformationExteriorMapper">
|
|
| <select id="selectExteriorList" resultType="com.gkhy.exam.system.domain.QualityInformationExterior">
| SELECT
| qie.`id`,
| qie.`company_id`,
| sc.`name` AS company_name,
| qie.`feed_from`,
| qie.`number`,
| qie.`product_name`,
| qie.`make_num`,
| qie.`offer_unit`,
| qie.`offer_time`,
| qie.`offer_method`,
| qie.`model`,
| qie.`com_num`,
| qie.`feed_information`,
| qie.`duty_mess`,
| qie.`general_sign`,
| qie.`general_time`,
| qie.`plan_mess`,
| qie.`product_sign`,
| qie.`product_time`,
| qie.`dispose_mess`,
| qie.`dispose_sign`,
| qie.`dispose_time`,
| qie.`del_flag`,
| qie.`create_by`,
| qie.`create_time`,
| qie.`update_by`,
| qie.`update_time`
| FROM
| `quality_information_exterior` qie
| LEFT JOIN sys_company sc ON qie.company_id = sc.id
| WHERE
| qie.del_flag = 0
| <if test="companyId != null">
| and qie.company_id =#{companyId}
| </if>
| ORDER BY
| qie.create_time DESC
| </select>
| </mapper>
|
|