|
|
@@ -4,34 +4,55 @@
|
|
4
|
4
|
|
|
5
|
5
|
<resultMap id="BaseResultMap" type="com.sundot.airport.ledger.domain.LedgerPatrolInspection">
|
|
6
|
6
|
<id property="id" column="id" />
|
|
7
|
|
- <result property="recordDate" column="record_date" />
|
|
8
|
|
- <result property="deptName" column="dept_name" />
|
|
9
|
|
- <result property="teamName" column="team_name" />
|
|
10
|
|
- <result property="groupName" column="group_name" />
|
|
11
|
|
- <result property="inspectorName" column="inspector_name" />
|
|
12
|
|
- <result property="inspectedName" column="inspected_name" />
|
|
13
|
|
- <result property="patrolType" column="patrol_type" />
|
|
14
|
|
- <result property="patrolItem" column="patrol_item" />
|
|
15
|
|
- <result property="problemDesc" column="problem_desc" />
|
|
16
|
|
- <result property="location" column="location" />
|
|
17
|
|
- <result property="channelNo" column="channel_no" />
|
|
18
|
|
- <result property="resultHandling" column="result_handling" />
|
|
19
|
|
- <result property="deductScore" column="deduct_score" />
|
|
20
|
|
- <result property="scoreDimension" column="score_dimension" />
|
|
21
|
|
- <result property="scoreIndicator" column="score_indicator" />
|
|
22
|
|
- <result property="evidenceFile" column="evidence_file" />
|
|
23
|
|
- <result property="remark" column="remark" />
|
|
24
|
|
- <result property="importBatch" column="import_batch" />
|
|
25
|
|
- <result property="sourceType" column="source_type" />
|
|
26
|
|
- <result property="createBy" column="create_by" />
|
|
27
|
|
- <result property="createTime" column="create_time" />
|
|
28
|
|
- <result property="updateBy" column="update_by" />
|
|
29
|
|
- <result property="updateTime" column="update_time" />
|
|
30
|
|
- <result property="syncFlag" column="sync_flag" />
|
|
|
7
|
+ <result property="recordDate" column="record_date" />
|
|
|
8
|
+ <result property="deptName" column="dept_name" />
|
|
|
9
|
+ <result property="teamName" column="team_name" />
|
|
|
10
|
+ <result property="groupName" column="group_name" />
|
|
|
11
|
+ <result property="inspectorName" column="inspector_name" />
|
|
|
12
|
+ <result property="inspectedName" column="inspected_name" />
|
|
|
13
|
+ <result property="patrolType" column="patrol_type" />
|
|
|
14
|
+ <result property="patrolItem" column="patrol_item" />
|
|
|
15
|
+ <result property="problemDesc" column="problem_desc" />
|
|
|
16
|
+ <result property="location" column="location" />
|
|
|
17
|
+ <result property="channelNo" column="channel_no" />
|
|
|
18
|
+ <result property="resultHandling" column="result_handling" />
|
|
|
19
|
+ <result property="deductScore" column="deduct_score" />
|
|
|
20
|
+ <result property="scoreDimension" column="score_dimension" />
|
|
|
21
|
+ <result property="scoreIndicator" column="score_indicator" />
|
|
|
22
|
+ <result property="evidenceFile" column="evidence_file" />
|
|
|
23
|
+ <result property="remark" column="remark" />
|
|
|
24
|
+ <result property="importBatch" column="import_batch" />
|
|
|
25
|
+ <result property="sourceType" column="source_type" />
|
|
|
26
|
+ <result property="createBy" column="create_by" />
|
|
|
27
|
+ <result property="createTime" column="create_time" />
|
|
|
28
|
+ <result property="updateBy" column="update_by" />
|
|
|
29
|
+ <result property="updateTime" column="update_time" />
|
|
|
30
|
+ <result property="syncFlag" column="sync_flag" />
|
|
|
31
|
+ <!-- 新增字段 -->
|
|
|
32
|
+ <result property="patrolTimePeriod" column="patrol_time_period" />
|
|
|
33
|
+ <result property="hasProblem" column="has_problem" />
|
|
|
34
|
+ <result property="rectificationStatus" column="rectification_status" />
|
|
|
35
|
+ <result property="evidenceMaterial" column="evidence_material" />
|
|
|
36
|
+ <result property="responsibleLeader" column="responsible_leader" />
|
|
|
37
|
+ <result property="qualityOfficer" column="quality_officer" />
|
|
|
38
|
+ <result property="teamLeader" column="team_leader" />
|
|
|
39
|
+ <result property="reporter" column="reporter" />
|
|
|
40
|
+ <result property="teamInternalDuty" column="team_internal_duty" />
|
|
|
41
|
+ <result property="reportTime" column="report_time" />
|
|
|
42
|
+ <result property="sendToRelevant" column="send_to_relevant" />
|
|
|
43
|
+ <!-- ID字段 -->
|
|
|
44
|
+ <result property="inspectedId" column="inspected_id" />
|
|
|
45
|
+ <result property="deptId" column="dept_id" />
|
|
|
46
|
+ <result property="teamId" column="team_id" />
|
|
|
47
|
+ <result property="groupId" column="group_id" />
|
|
|
48
|
+ <result property="positionId" column="position_id" />
|
|
|
49
|
+ <result property="areaId" column="area_id" />
|
|
31
|
50
|
</resultMap>
|
|
32
|
51
|
|
|
33
|
52
|
<sql id="selectVo">
|
|
34
|
|
- SELECT id, record_date, dept_name, team_name, group_name, inspector_name, inspected_name, patrol_type, patrol_item, problem_desc, location, channel_no, result_handling, deduct_score, score_dimension, score_indicator, evidence_file, remark, import_batch, source_type, create_by, create_time, update_by, update_time, sync_flag
|
|
|
53
|
+ SELECT id, record_date, dept_name, team_name, group_name, inspector_name, inspected_name, patrol_type, patrol_item, problem_desc, location, channel_no, result_handling, deduct_score, score_dimension, score_indicator, evidence_file, remark, import_batch, source_type, create_by, create_time, update_by, update_time, sync_flag,
|
|
|
54
|
+ patrol_time_period, has_problem, rectification_status, evidence_material, responsible_leader, quality_officer, team_leader, reporter, team_internal_duty, report_time, send_to_relevant,
|
|
|
55
|
+ inspected_id, dept_id, team_id, group_id, position_id, area_id
|
|
35
|
56
|
FROM ledger_patrol_inspection
|
|
36
|
57
|
WHERE del_flag = '0'
|
|
37
|
58
|
</sql>
|
|
|
@@ -70,4 +91,4 @@
|
|
70
|
91
|
</if>
|
|
71
|
92
|
</select>
|
|
72
|
93
|
|
|
73
|
|
-</mapper>
|
|
|
94
|
+</mapper>
|