|
|
@@ -7,7 +7,6 @@
|
|
7
|
7
|
<result column="updatename" property="updatename" jdbcType="VARCHAR" />
|
|
8
|
8
|
<result column="updatedate" property="updatedate" jdbcType="TIMESTAMP" />
|
|
9
|
9
|
<result column="qc_quality_inspection_id" property="qcQualityInspectionId" jdbcType="INTEGER" />
|
|
10
|
|
- <result column="parent_inspection_item_id" property="parentInspectionItemId" jdbcType="INTEGER" />
|
|
11
|
10
|
<result column="inspection_item_id" property="inspectionItemId" jdbcType="INTEGER" />
|
|
12
|
11
|
<result column="inspection_value" property="inspectionValue" jdbcType="VARCHAR" />
|
|
13
|
12
|
<result column="single_conclusion" property="singleConclusion" jdbcType="VARCHAR" />
|
|
|
@@ -72,7 +71,7 @@
|
|
72
|
71
|
</where>
|
|
73
|
72
|
</sql>
|
|
74
|
73
|
<sql id="Base_Column_List" >
|
|
75
|
|
- id, createdate, updatename, updatedate, qc_quality_inspection_id, parent_inspection_item_id, inspection_item_id,
|
|
|
74
|
+ id, createdate, updatename, updatedate, qc_quality_inspection_id, inspection_item_id,
|
|
76
|
75
|
inspection_value, single_conclusion, inspection_method
|
|
77
|
76
|
</sql>
|
|
78
|
77
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.qualityControl.model.BusinessQcQualityInspectionItemExample" >
|
|
|
@@ -107,11 +106,11 @@
|
|
107
|
106
|
</delete>
|
|
108
|
107
|
<insert id="insert" parameterType="com.chinaitop.depot.qualityControl.model.BusinessQcQualityInspectionItem" >
|
|
109
|
108
|
insert into business_qc_quality_inspection_item (id, createdate, updatename,
|
|
110
|
|
- updatedate, qc_quality_inspection_id, parent_inspection_item_id, inspection_item_id,
|
|
|
109
|
+ updatedate, qc_quality_inspection_id, inspection_item_id,
|
|
111
|
110
|
inspection_value, single_conclusion, inspection_method
|
|
112
|
111
|
)
|
|
113
|
112
|
values (#{id,jdbcType=INTEGER}, #{createdate,jdbcType=TIMESTAMP}, #{updatename,jdbcType=VARCHAR},
|
|
114
|
|
- #{updatedate,jdbcType=TIMESTAMP}, #{qcQualityInspectionId,jdbcType=INTEGER}, #{parentInspectionItemId,jdbcType=INTEGER}, #{inspectionItemId,jdbcType=INTEGER},
|
|
|
113
|
+ #{updatedate,jdbcType=TIMESTAMP}, #{qcQualityInspectionId,jdbcType=INTEGER}, #{inspectionItemId,jdbcType=INTEGER},
|
|
115
|
114
|
#{inspectionValue,jdbcType=VARCHAR}, #{singleConclusion,jdbcType=VARCHAR}, #{inspectionMethod,jdbcType=VARCHAR}
|
|
116
|
115
|
)
|
|
117
|
116
|
</insert>
|
|
|
@@ -133,9 +132,6 @@
|
|
133
|
132
|
<if test="qcQualityInspectionId != null" >
|
|
134
|
133
|
qc_quality_inspection_id,
|
|
135
|
134
|
</if>
|
|
136
|
|
- <if test="parentInspectionItemId != null" >
|
|
137
|
|
- parent_inspection_item_id,
|
|
138
|
|
- </if>
|
|
139
|
135
|
<if test="inspectionItemId != null" >
|
|
140
|
136
|
inspection_item_id,
|
|
141
|
137
|
</if>
|
|
|
@@ -203,9 +199,6 @@
|
|
203
|
199
|
<if test="record.qcQualityInspectionId != null" >
|
|
204
|
200
|
qc_quality_inspection_id = #{record.qcQualityInspectionId,jdbcType=INTEGER},
|
|
205
|
201
|
</if>
|
|
206
|
|
- <if test="record.parentInspectionItemId != null" >
|
|
207
|
|
- parent_inspection_item_id = #{record.parentInspectionItemId,jdbcType=INTEGER},
|
|
208
|
|
- </if>
|
|
209
|
202
|
<if test="record.inspectionItemId != null" >
|
|
210
|
203
|
inspection_item_id = #{record.inspectionItemId,jdbcType=INTEGER},
|
|
211
|
204
|
</if>
|
|
|
@@ -230,7 +223,6 @@
|
|
230
|
223
|
updatename = #{record.updatename,jdbcType=VARCHAR},
|
|
231
|
224
|
updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
|
|
232
|
225
|
qc_quality_inspection_id = #{record.qcQualityInspectionId,jdbcType=INTEGER},
|
|
233
|
|
- parent_inspection_item_id = #{record.parentInspectionItemId,jdbcType=INTEGER},
|
|
234
|
226
|
inspection_item_id = #{record.inspectionItemId,jdbcType=INTEGER},
|
|
235
|
227
|
inspection_value = #{record.inspectionValue,jdbcType=VARCHAR},
|
|
236
|
228
|
single_conclusion = #{record.singleConclusion,jdbcType=VARCHAR},
|
|
|
@@ -254,9 +246,6 @@
|
|
254
|
246
|
<if test="qcQualityInspectionId != null" >
|
|
255
|
247
|
qc_quality_inspection_id = #{qcQualityInspectionId,jdbcType=INTEGER},
|
|
256
|
248
|
</if>
|
|
257
|
|
- <if test="qcQualityInspectionId != null" >
|
|
258
|
|
- parent_inspection_item_id = #{parentInspectionItemId,jdbcType=INTEGER},
|
|
259
|
|
- </if>
|
|
260
|
249
|
<if test="inspectionItemId != null" >
|
|
261
|
250
|
inspection_item_id = #{inspectionItemId,jdbcType=INTEGER},
|
|
262
|
251
|
</if>
|
|
|
@@ -278,7 +267,6 @@
|
|
278
|
267
|
updatename = #{updatename,jdbcType=VARCHAR},
|
|
279
|
268
|
updatedate = #{updatedate,jdbcType=TIMESTAMP},
|
|
280
|
269
|
qc_quality_inspection_id = #{qcQualityInspectionId,jdbcType=INTEGER},
|
|
281
|
|
- parent_inspection_item_id = #{parentInspectionItemId,jdbcType=INTEGER},
|
|
282
|
270
|
inspection_item_id = #{inspectionItemId,jdbcType=INTEGER},
|
|
283
|
271
|
inspection_value = #{inspectionValue,jdbcType=VARCHAR},
|
|
284
|
272
|
single_conclusion = #{singleConclusion,jdbcType=VARCHAR},
|