|
|
@@ -29,7 +29,7 @@
|
|
29
|
29
|
<result column="out_detail_total_price" property="outDetailTotalPrice" jdbcType="VARCHAR" />
|
|
30
|
30
|
<result column="out_remaining_number" property="outRemainingNumber" jdbcType="VARCHAR" />
|
|
31
|
31
|
<result column="jstzd_id" property="jstzdId" jdbcType="VARCHAR" />
|
|
32
|
|
- <result column="agreement_number" property="agreementNumber" jdbcType="VARCHAR" />
|
|
|
32
|
+ <!-- <result column="agreement_number" property="agreementNumber" jdbcType="VARCHAR" /> -->
|
|
33
|
33
|
<result column="incoming_type" property="incomingType" jdbcType="INTEGER" />
|
|
34
|
34
|
<result column="htbh" property="htbh" jdbcType="VARCHAR" />
|
|
35
|
35
|
</resultMap>
|
|
|
@@ -95,7 +95,7 @@
|
|
95
|
95
|
id, zid, type, house_id, house_name, warehouse_id, warehouse_name, create_time, org_id,
|
|
96
|
96
|
grain_kind, grain_detail_kind, grain_grade, grain_attribute, grain_annual, grain_producing_area,
|
|
97
|
97
|
in_price, in_count, in_detail_total_price, input_time, state, productive_year, remaining_number,
|
|
98
|
|
- out_price, out_count, out_detail_total_price, out_remaining_number,jstzd_id,agreement_number,incoming_type,htbh
|
|
|
98
|
+ out_price, out_count, out_detail_total_price, out_remaining_number,jstzd_id,incoming_type,htbh
|
|
99
|
99
|
</sql>
|
|
100
|
100
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.business.model.BusinessStoreWareDetailExample" >
|
|
101
|
101
|
select
|
|
|
@@ -136,7 +136,7 @@
|
|
136
|
136
|
in_price, in_count, in_detail_total_price,
|
|
137
|
137
|
input_time, state, productive_year,
|
|
138
|
138
|
remaining_number, out_price, out_count,
|
|
139
|
|
- out_detail_total_price, out_remaining_number,jstzd_id,agreement_number,incoming_type,htbh
|
|
|
139
|
+ out_detail_total_price, out_remaining_number,jstzd_id,incoming_type,htbh
|
|
140
|
140
|
)
|
|
141
|
141
|
values (#{id,jdbcType=INTEGER}, #{zid,jdbcType=INTEGER}, #{type,jdbcType=VARCHAR},
|
|
142
|
142
|
#{houseId,jdbcType=INTEGER}, #{houseName,jdbcType=VARCHAR}, #{warehouseId,jdbcType=INTEGER},
|
|
|
@@ -147,7 +147,7 @@
|
|
147
|
147
|
#{inputTime,jdbcType=TIMESTAMP}, #{state,jdbcType=INTEGER}, #{productiveYear,jdbcType=INTEGER},
|
|
148
|
148
|
#{remainingNumber,jdbcType=VARCHAR}, #{outPrice,jdbcType=VARCHAR}, #{outCount,jdbcType=VARCHAR},
|
|
149
|
149
|
#{outDetailTotalPrice,jdbcType=VARCHAR}, #{outRemainingNumber,jdbcType=VARCHAR},#{jstzdId,jdbcType=VARCHAR}
|
|
150
|
|
- ,#{agreementNumber,jdbcType=VARCHAR},#{incomingType,jdbcType=INTEGER},#{htbh,jdbcType=VARCHAR})
|
|
|
150
|
+ ,#{incomingType,jdbcType=INTEGER},#{htbh,jdbcType=VARCHAR})
|
|
151
|
151
|
</insert>
|
|
152
|
152
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.business.model.BusinessStoreWareDetail" >
|
|
153
|
153
|
insert into business_store_ware_detail
|
|
|
@@ -233,9 +233,6 @@
|
|
233
|
233
|
<if test="jstzdId != null" >
|
|
234
|
234
|
jstzd_id,
|
|
235
|
235
|
</if>
|
|
236
|
|
- <if test="agreementNumber != null" >
|
|
237
|
|
- agreement_number,
|
|
238
|
|
- </if>
|
|
239
|
236
|
<if test="incomingType != null" >
|
|
240
|
237
|
incoming_type,
|
|
241
|
238
|
</if>
|
|
|
@@ -325,9 +322,6 @@
|
|
325
|
322
|
<if test="jstzdId != null" >
|
|
326
|
323
|
#{jstzdId,jdbcType=VARCHAR},
|
|
327
|
324
|
</if>
|
|
328
|
|
- <if test="agreementNumber != null" >
|
|
329
|
|
- #{agreementNumber,jdbcType=VARCHAR},
|
|
330
|
|
- </if>
|
|
331
|
325
|
<if test="incomingType != null" >
|
|
332
|
326
|
#{incomingType,jdbcType=INTEGER},
|
|
333
|
327
|
</if>
|
|
|
@@ -426,9 +420,6 @@
|
|
426
|
420
|
<if test="record.jstzdId != null" >
|
|
427
|
421
|
jstzd_id = #{record.jstzdId,jdbcType=VARCHAR},
|
|
428
|
422
|
</if>
|
|
429
|
|
- <if test="record.agreementNumber!= null" >
|
|
430
|
|
- agreement_number = #{record.agreementNumber ,jdbcType=VARCHAR},
|
|
431
|
|
- </if>
|
|
432
|
423
|
<if test="record.incomingType != null" >
|
|
433
|
424
|
incoming_type = #{record.incomingType,jdbcType=INTEGER},
|
|
434
|
425
|
</if>
|
|
|
@@ -468,7 +459,7 @@
|
|
468
|
459
|
out_count = #{record.outCount,jdbcType=VARCHAR},
|
|
469
|
460
|
out_detail_total_price = #{record.outDetailTotalPrice,jdbcType=VARCHAR},
|
|
470
|
461
|
out_remaining_number = #{record.outRemainingNumber,jdbcType=VARCHAR},
|
|
471
|
|
- jstzd_id = #{record.jstzdId,jdbcType=VARCHAR},agreement_number = #{record.agreementNumber,jdbcType=VARCHAR},
|
|
|
462
|
+ jstzd_id = #{record.jstzdId,jdbcType=VARCHAR},
|
|
472
|
463
|
incoming_type = #{record.incomingType,jdbcType=INTEGER},
|
|
473
|
464
|
htbh = #{record.htbh,jdbcType=VARCHAR}
|
|
474
|
465
|
<if test="_parameter != null" >
|
|
|
@@ -556,9 +547,6 @@
|
|
556
|
547
|
<if test="jstzdId != null" >
|
|
557
|
548
|
jstzd_id = #{jstzdId,jdbcType=VARCHAR},
|
|
558
|
549
|
</if>
|
|
559
|
|
- <if test="agreementNumber != null" >
|
|
560
|
|
- agreement_number = #{agreementNumber,jdbcType=VARCHAR},
|
|
561
|
|
- </if>
|
|
562
|
550
|
<if test="incomingType != null" >
|
|
563
|
551
|
incoming_type = #{incomingType,jdbcType=INTEGER},
|
|
564
|
552
|
</if>
|
|
|
@@ -596,7 +584,6 @@
|
|
596
|
584
|
out_detail_total_price = #{outDetailTotalPrice,jdbcType=VARCHAR},
|
|
597
|
585
|
out_remaining_number = #{outRemainingNumber,jdbcType=VARCHAR},
|
|
598
|
586
|
jstzd_id = #{jstzdId,jdbcType=VARCHAR},
|
|
599
|
|
- agreement_number = #{agreementNumber,jdbcType=VARCHAR},
|
|
600
|
587
|
incoming_type = #{incomingType,jdbcType=INTEGER},
|
|
601
|
588
|
htbh = #{htbh,jdbcType=VARCHAR}
|
|
602
|
589
|
where id = #{id,jdbcType=INTEGER}
|