|
@@ -41,6 +41,8 @@
|
41
|
41
|
<result column="is_notice" property="isNotice" jdbcType="INTEGER" />
|
42
|
42
|
<result column="pzmc" property="pzmc" jdbcType="VARCHAR" />
|
43
|
43
|
<result column="is_sheet" property="isSheet" jdbcType="INTEGER" />
|
|
44
|
+ <result column="cblx" property="cblx" jdbcType="VARCHAR" />
|
|
45
|
+ <result column="ysid" property="ysid" jdbcType="VARCHAR" />
|
44
|
46
|
|
45
|
47
|
</resultMap>
|
46
|
48
|
<sql id="Example_Where_Clause" >
|
|
@@ -115,7 +117,7 @@
|
115
|
117
|
id, notice_number, crktype, contract_number, ywtype, house_id, ware_house_id, grain_kind,
|
116
|
118
|
grain_grade, count, outgoing_period, forwarding_unit, receive_unit, resion, in_application,
|
117
|
119
|
org_id, grain_attribute, grain_detail_kind, receive_time,input_time,grain_annual,productive_year,grain_producing_area,
|
118
|
|
- lsxzzbdh,lssl,hzqlsxzdm,hzrq,ccshr,zjshr,tjshr,kjshr,ldshr,bz,audit_state,is_notice,pzmc,is_sheet,htbh
|
|
120
|
+ lsxzzbdh,lssl,hzqlsxzdm,hzrq,ccshr,zjshr,tjshr,kjshr,ldshr,bz,audit_state,is_notice,pzmc,is_sheet,htbh,cblx,ysid
|
119
|
121
|
</sql>
|
120
|
122
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.business.model.BusinessNoticeReceiveExample" >
|
121
|
123
|
select
|
|
@@ -155,7 +157,7 @@
|
155
|
157
|
receive_unit, resion, in_application,
|
156
|
158
|
org_id, grain_attribute, grain_detail_kind,
|
157
|
159
|
receive_time,input_time,grain_annual,productive_year,grain_producing_area,
|
158
|
|
- lsxzzbdh,lssl,hzqlsxzdm,hzrq,ccshr,zjshr,tjshr,kjshr,ldshr,bz,audit_state,is_notice,pzmc,is_sheet,htbh)
|
|
160
|
+ lsxzzbdh,lssl,hzqlsxzdm,hzrq,ccshr,zjshr,tjshr,kjshr,ldshr,bz,audit_state,is_notice,pzmc,is_sheet,htbh,cblx,ysid)
|
159
|
161
|
values (#{id,jdbcType=INTEGER}, #{noticeNumber,jdbcType=VARCHAR}, #{crktype,jdbcType=VARCHAR},
|
160
|
162
|
#{contractNumber,jdbcType=VARCHAR}, #{ywtype,jdbcType=VARCHAR}, #{houseId,jdbcType=INTEGER},
|
161
|
163
|
#{wareHouseId,jdbcType=INTEGER}, #{grainKind,jdbcType=INTEGER}, #{grainGrade,jdbcType=INTEGER},
|
|
@@ -168,7 +170,7 @@
|
168
|
170
|
#{hzrq,jdbcType=TIMESTAMP},#{ccshr,jdbcType=VARCHAR},#{zjshr,jdbcType=VARCHAR},
|
169
|
171
|
#{tjshr,jdbcType=VARCHAR},#{kjshr,jdbcType=VARCHAR},#{ldshr,jdbcType=VARCHAR},
|
170
|
172
|
#{bz,jdbcType=VARCHAR},#{auditState,jdbcType=INTEGER},#{isNotice,jdbcType=INTEGER},#{pzmc,jdbcType=VARCHAR}
|
171
|
|
- ,#{isSheet,jdbcType=INTEGER},#{htbh,jdbcType=VARCHAR})
|
|
173
|
+ ,#{isSheet,jdbcType=INTEGER},#{htbh,jdbcType=VARCHAR},#{cblx,jdbcType=VARCHAR},#{ysid,jdbcType=VARCHAR})
|
172
|
174
|
</insert>
|
173
|
175
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.business.model.BusinessNoticeReceive" >
|
174
|
176
|
insert into business_notice_receive
|
|
@@ -287,6 +289,12 @@
|
287
|
289
|
<if test="htbh != null">
|
288
|
290
|
htbh,
|
289
|
291
|
</if>
|
|
292
|
+ <if test="cblx != null">
|
|
293
|
+ cblx,
|
|
294
|
+ </if>
|
|
295
|
+ <if test="ysid != null">
|
|
296
|
+ ysid,
|
|
297
|
+ </if>
|
290
|
298
|
</trim>
|
291
|
299
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
292
|
300
|
<if test="id != null" >
|
|
@@ -403,6 +411,12 @@
|
403
|
411
|
<if test="htbh != null">
|
404
|
412
|
#{htbh,jdbcType=VARCHAR},
|
405
|
413
|
</if>
|
|
414
|
+ <if test="cblx != null">
|
|
415
|
+ #{cblx,jdbcType=VARCHAR},
|
|
416
|
+ </if>
|
|
417
|
+ <if test="ysid != null">
|
|
418
|
+ #{ysid,jdbcType=VARCHAR},
|
|
419
|
+ </if>
|
406
|
420
|
</trim>
|
407
|
421
|
</insert>
|
408
|
422
|
<select id="countByExample" parameterType="com.chinaitop.depot.business.model.BusinessNoticeReceiveExample" resultType="java.lang.Integer" >
|
|
@@ -528,6 +542,12 @@
|
528
|
542
|
<if test="record.htbh != null">
|
529
|
543
|
htbh = #{record.htbh,jdbcType=VARCHAR},
|
530
|
544
|
</if>
|
|
545
|
+ <if test="record.cblx != null">
|
|
546
|
+ cblx = #{record.cblx,jdbcType=VARCHAR},
|
|
547
|
+ </if>
|
|
548
|
+ <if test="record.ysid != null">
|
|
549
|
+ ysid = #{record.ysid,jdbcType=VARCHAR},
|
|
550
|
+ </if>
|
531
|
551
|
</set>
|
532
|
552
|
<if test="_parameter != null" >
|
533
|
553
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -572,7 +592,9 @@
|
572
|
592
|
is_notice = #{record.isNotice,jdbcType=INTEGER},
|
573
|
593
|
pzmc = #{record.pzmc,jdbcType=VARCHAR},
|
574
|
594
|
is_sheet = #{record.isSheet,jdbcType=INTEGER},
|
575
|
|
- htbh = #{record.htbh,jdbcType=VARCHAR}
|
|
595
|
+ htbh = #{record.htbh,jdbcType=VARCHAR},
|
|
596
|
+ cblx = #{record.cblx,jdbcType=VARCHAR},
|
|
597
|
+ ysid = #{record.ysid,jdbcType=VARCHAR}
|
576
|
598
|
|
577
|
599
|
<if test="_parameter != null" >
|
578
|
600
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -692,6 +714,12 @@
|
692
|
714
|
<if test="htbh != null">
|
693
|
715
|
htbh = #{htbh,jdbcType=VARCHAR},
|
694
|
716
|
</if>
|
|
717
|
+ <if test="cblx != null">
|
|
718
|
+ cblx = #{cblx,jdbcType=VARCHAR},
|
|
719
|
+ </if>
|
|
720
|
+ <if test="ysid != null">
|
|
721
|
+ ysid = #{ysid,jdbcType=VARCHAR},
|
|
722
|
+ </if>
|
695
|
723
|
</set>
|
696
|
724
|
where id = #{id,jdbcType=INTEGER}
|
697
|
725
|
</update>
|
|
@@ -733,7 +761,9 @@
|
733
|
761
|
is_notice = #{isNotice,jdbcType=INTEGER},
|
734
|
762
|
pzmc = #{pzmc,jdbcType=VARCHAR},
|
735
|
763
|
is_sheet = #{isSheet,jdbcType=INTEGER},
|
736
|
|
- htbh = #{htbh,jdbcType=VARCHAR}
|
|
764
|
+ htbh = #{htbh,jdbcType=VARCHAR},
|
|
765
|
+ cblx = #{cblx,jdbcType=VARCHAR},
|
|
766
|
+ ysid = #{ysid,jdbcType=VARCHAR}
|
737
|
767
|
where id = #{id,jdbcType=INTEGER}
|
738
|
768
|
</update>
|
739
|
769
|
|