|
@@ -27,6 +27,7 @@
|
27
|
27
|
<result column="input_time" property="inputTime" jdbcType="TIMESTAMP" />
|
28
|
28
|
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
|
29
|
29
|
<result column="data_type" property="dataType" jdbcType="VARCHAR" />
|
|
30
|
+ <result column="wtdw" property="wtdw" jdbcType="VARCHAR" />
|
30
|
31
|
</resultMap>
|
31
|
32
|
<sql id="Example_Where_Clause" >
|
32
|
33
|
<where >
|
|
@@ -89,7 +90,7 @@
|
89
|
90
|
<sql id="Base_Column_List" >
|
90
|
91
|
id, org_id, spt_htid, htbh, htlx, htzsl, htdj, htzj, yjssl, house_id, warehouse_id,
|
91
|
92
|
lypz, mxpz, lydj, lyxz, scnf, shnd, lycd, rksj, khid, khmc, tyxydm, input_time, update_time,
|
92
|
|
- data_type
|
|
93
|
+ data_type, wtdw
|
93
|
94
|
</sql>
|
94
|
95
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.business.model.BusinessContractReceiveExample" >
|
95
|
96
|
select
|
|
@@ -129,7 +130,7 @@
|
129
|
130
|
mxpz, lydj, lyxz, scnf,
|
130
|
131
|
shnd, lycd, rksj,
|
131
|
132
|
khid, khmc, tyxydm,
|
132
|
|
- input_time, update_time, data_type
|
|
133
|
+ input_time, update_time, data_type, wtdw
|
133
|
134
|
)
|
134
|
135
|
values (#{id,jdbcType=INTEGER}, #{orgId,jdbcType=INTEGER}, #{sptHtid,jdbcType=VARCHAR},
|
135
|
136
|
#{htbh,jdbcType=VARCHAR}, #{htlx,jdbcType=VARCHAR}, #{htzsl,jdbcType=DECIMAL},
|
|
@@ -138,7 +139,8 @@
|
138
|
139
|
#{mxpz,jdbcType=INTEGER}, #{lydj,jdbcType=INTEGER}, #{lyxz,jdbcType=INTEGER}, #{scnf,jdbcType=INTEGER},
|
139
|
140
|
#{shnd,jdbcType=INTEGER}, #{lycd,jdbcType=INTEGER}, #{rksj,jdbcType=TIMESTAMP},
|
140
|
141
|
#{khid,jdbcType=INTEGER}, #{khmc,jdbcType=VARCHAR}, #{tyxydm,jdbcType=VARCHAR},
|
141
|
|
- #{inputTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{dataType,jdbcType=VARCHAR}
|
|
142
|
+ #{inputTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{dataType,jdbcType=VARCHAR},
|
|
143
|
+ #{wtdw,jdbcType=VARCHAR}
|
142
|
144
|
)
|
143
|
145
|
</insert>
|
144
|
146
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.business.model.BusinessContractReceive" >
|
|
@@ -219,6 +221,9 @@
|
219
|
221
|
<if test="dataType != null" >
|
220
|
222
|
data_type,
|
221
|
223
|
</if>
|
|
224
|
+ <if test="wtdw != null">
|
|
225
|
+ wtdw,
|
|
226
|
+ </if>
|
222
|
227
|
</trim>
|
223
|
228
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
224
|
229
|
<if test="id != null" >
|
|
@@ -296,6 +301,9 @@
|
296
|
301
|
<if test="dataType != null" >
|
297
|
302
|
#{dataType,jdbcType=VARCHAR},
|
298
|
303
|
</if>
|
|
304
|
+ <if test="wtdw != null">
|
|
305
|
+ #{wtdw,jdbcType=VARCHAR},
|
|
306
|
+ </if>
|
299
|
307
|
</trim>
|
300
|
308
|
</insert>
|
301
|
309
|
<select id="countByExample" parameterType="com.chinaitop.depot.business.model.BusinessContractReceiveExample" resultType="java.lang.Integer" >
|
|
@@ -382,6 +390,9 @@
|
382
|
390
|
<if test="record.dataType != null" >
|
383
|
391
|
data_type = #{record.dataType,jdbcType=VARCHAR},
|
384
|
392
|
</if>
|
|
393
|
+ <if test="record.wtdw != null">
|
|
394
|
+ wtdw = #{record.wtdw,jdbcType=VARCHAR},
|
|
395
|
+ </if>
|
385
|
396
|
</set>
|
386
|
397
|
<if test="_parameter != null" >
|
387
|
398
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -413,7 +424,8 @@
|
413
|
424
|
tyxydm = #{record.tyxydm,jdbcType=VARCHAR},
|
414
|
425
|
input_time = #{record.inputTime,jdbcType=TIMESTAMP},
|
415
|
426
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
416
|
|
- data_type = #{record.dataType,jdbcType=VARCHAR}
|
|
427
|
+ data_type = #{record.dataType,jdbcType=VARCHAR},
|
|
428
|
+ wtdw = #{record.wtdw,jdbcType=VARCHAR}
|
417
|
429
|
<if test="_parameter != null" >
|
418
|
430
|
<include refid="Update_By_Example_Where_Clause" />
|
419
|
431
|
</if>
|
|
@@ -493,6 +505,9 @@
|
493
|
505
|
<if test="dataType != null" >
|
494
|
506
|
data_type = #{dataType,jdbcType=VARCHAR},
|
495
|
507
|
</if>
|
|
508
|
+ <if test="wtdw != null">
|
|
509
|
+ wtdw = #{wtdw,jdbcType=VARCHAR},
|
|
510
|
+ </if>
|
496
|
511
|
</set>
|
497
|
512
|
where id = #{id,jdbcType=INTEGER}
|
498
|
513
|
</update>
|
|
@@ -521,7 +536,8 @@
|
521
|
536
|
tyxydm = #{tyxydm,jdbcType=VARCHAR},
|
522
|
537
|
input_time = #{inputTime,jdbcType=TIMESTAMP},
|
523
|
538
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
524
|
|
- data_type = #{dataType,jdbcType=VARCHAR}
|
|
539
|
+ data_type = #{dataType,jdbcType=VARCHAR},
|
|
540
|
+ wtdw = #{wtdw,jdbcType=VARCHAR}
|
525
|
541
|
where id = #{id,jdbcType=INTEGER}
|
526
|
542
|
</update>
|
527
|
543
|
</mapper>
|