|
@@ -43,6 +43,7 @@
|
43
|
43
|
<result column="is_sheet" property="isSheet" jdbcType="INTEGER" />
|
44
|
44
|
<result column="cblx" property="cblx" jdbcType="VARCHAR" />
|
45
|
45
|
<result column="ysid" property="ysid" jdbcType="VARCHAR" />
|
|
46
|
+ <result column="ytzdid" property="ytzdid" jdbcType="VARCHAR" />
|
46
|
47
|
|
47
|
48
|
</resultMap>
|
48
|
49
|
<sql id="Example_Where_Clause" >
|
|
@@ -117,7 +118,7 @@
|
117
|
118
|
id, notice_number, crktype, contract_number, ywtype, house_id, ware_house_id, grain_kind,
|
118
|
119
|
grain_grade, count, outgoing_period, forwarding_unit, receive_unit, resion, in_application,
|
119
|
120
|
org_id, grain_attribute, grain_detail_kind, receive_time,input_time,grain_annual,productive_year,grain_producing_area,
|
120
|
|
- lsxzzbdh,lssl,hzqlsxzdm,hzrq,ccshr,zjshr,tjshr,kjshr,ldshr,bz,audit_state,is_notice,pzmc,is_sheet,htbh,cblx,ysid
|
|
121
|
+ lsxzzbdh,lssl,hzqlsxzdm,hzrq,ccshr,zjshr,tjshr,kjshr,ldshr,bz,audit_state,is_notice,pzmc,is_sheet,htbh,cblx,ysid, ytzdid
|
121
|
122
|
</sql>
|
122
|
123
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.business.model.BusinessNoticeReceiveExample" >
|
123
|
124
|
select
|
|
@@ -157,7 +158,8 @@
|
157
|
158
|
receive_unit, resion, in_application,
|
158
|
159
|
org_id, grain_attribute, grain_detail_kind,
|
159
|
160
|
receive_time,input_time,grain_annual,productive_year,grain_producing_area,
|
160
|
|
- lsxzzbdh,lssl,hzqlsxzdm,hzrq,ccshr,zjshr,tjshr,kjshr,ldshr,bz,audit_state,is_notice,pzmc,is_sheet,htbh,cblx,ysid)
|
|
161
|
+ lsxzzbdh,lssl,hzqlsxzdm,hzrq,ccshr,zjshr,tjshr,kjshr,ldshr,bz,audit_state,is_notice,pzmc,is_sheet,htbh,cblx,ysid,
|
|
162
|
+ ytzdid)
|
161
|
163
|
values (#{id,jdbcType=INTEGER}, #{noticeNumber,jdbcType=VARCHAR}, #{crktype,jdbcType=VARCHAR},
|
162
|
164
|
#{contractNumber,jdbcType=VARCHAR}, #{ywtype,jdbcType=VARCHAR}, #{houseId,jdbcType=INTEGER},
|
163
|
165
|
#{wareHouseId,jdbcType=INTEGER}, #{grainKind,jdbcType=INTEGER}, #{grainGrade,jdbcType=INTEGER},
|
|
@@ -169,8 +171,9 @@
|
169
|
171
|
#{lsxzzbdh,jdbcType=VARCHAR},#{lssl,jdbcType=VARCHAR},#{hzqlsxzdm,jdbcType=INTEGER},
|
170
|
172
|
#{hzrq,jdbcType=TIMESTAMP},#{ccshr,jdbcType=VARCHAR},#{zjshr,jdbcType=VARCHAR},
|
171
|
173
|
#{tjshr,jdbcType=VARCHAR},#{kjshr,jdbcType=VARCHAR},#{ldshr,jdbcType=VARCHAR},
|
172
|
|
- #{bz,jdbcType=VARCHAR},#{auditState,jdbcType=INTEGER},#{isNotice,jdbcType=INTEGER},#{pzmc,jdbcType=VARCHAR}
|
173
|
|
- ,#{isSheet,jdbcType=INTEGER},#{htbh,jdbcType=VARCHAR},#{cblx,jdbcType=VARCHAR},#{ysid,jdbcType=VARCHAR})
|
|
174
|
+ #{bz,jdbcType=VARCHAR},#{auditState,jdbcType=INTEGER},#{isNotice,jdbcType=INTEGER},#{pzmc,jdbcType=VARCHAR},
|
|
175
|
+ #{isSheet,jdbcType=INTEGER},#{htbh,jdbcType=VARCHAR},#{cblx,jdbcType=VARCHAR},#{ysid,jdbcType=VARCHAR},
|
|
176
|
+ #{ytzdid,jdbcType=VARCHAR})
|
174
|
177
|
</insert>
|
175
|
178
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.business.model.BusinessNoticeReceive" >
|
176
|
179
|
insert into business_notice_receive
|
|
@@ -295,6 +298,9 @@
|
295
|
298
|
<if test="ysid != null">
|
296
|
299
|
ysid,
|
297
|
300
|
</if>
|
|
301
|
+ <if test="ytzdid != null">
|
|
302
|
+ ytzdid,
|
|
303
|
+ </if>
|
298
|
304
|
</trim>
|
299
|
305
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
300
|
306
|
<if test="id != null" >
|
|
@@ -417,6 +423,9 @@
|
417
|
423
|
<if test="ysid != null">
|
418
|
424
|
#{ysid,jdbcType=VARCHAR},
|
419
|
425
|
</if>
|
|
426
|
+ <if test="ytzdid != null">
|
|
427
|
+ #{ytzdid,jdbcType=VARCHAR},
|
|
428
|
+ </if>
|
420
|
429
|
</trim>
|
421
|
430
|
</insert>
|
422
|
431
|
<select id="countByExample" parameterType="com.chinaitop.depot.business.model.BusinessNoticeReceiveExample" resultType="java.lang.Integer" >
|
|
@@ -548,6 +557,9 @@
|
548
|
557
|
<if test="record.ysid != null">
|
549
|
558
|
ysid = #{record.ysid,jdbcType=VARCHAR},
|
550
|
559
|
</if>
|
|
560
|
+ <if test="record.ytzdid != null">
|
|
561
|
+ ytzdid = #{record.ytzdid,jdbcType=VARCHAR},
|
|
562
|
+ </if>
|
551
|
563
|
</set>
|
552
|
564
|
<if test="_parameter != null" >
|
553
|
565
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -594,7 +606,8 @@
|
594
|
606
|
is_sheet = #{record.isSheet,jdbcType=INTEGER},
|
595
|
607
|
htbh = #{record.htbh,jdbcType=VARCHAR},
|
596
|
608
|
cblx = #{record.cblx,jdbcType=VARCHAR},
|
597
|
|
- ysid = #{record.ysid,jdbcType=VARCHAR}
|
|
609
|
+ ysid = #{record.ysid,jdbcType=VARCHAR},
|
|
610
|
+ ytzdid = #{record.ytzdid,jdbcType=VARCHAR}
|
598
|
611
|
|
599
|
612
|
<if test="_parameter != null" >
|
600
|
613
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -720,6 +733,9 @@
|
720
|
733
|
<if test="ysid != null">
|
721
|
734
|
ysid = #{ysid,jdbcType=VARCHAR},
|
722
|
735
|
</if>
|
|
736
|
+ <if test="ytzdid != null">
|
|
737
|
+ ytzdid = #{ytzdid,jdbcType=VARCHAR},
|
|
738
|
+ </if>
|
723
|
739
|
</set>
|
724
|
740
|
where id = #{id,jdbcType=INTEGER}
|
725
|
741
|
</update>
|
|
@@ -763,7 +779,8 @@
|
763
|
779
|
is_sheet = #{isSheet,jdbcType=INTEGER},
|
764
|
780
|
htbh = #{htbh,jdbcType=VARCHAR},
|
765
|
781
|
cblx = #{cblx,jdbcType=VARCHAR},
|
766
|
|
- ysid = #{ysid,jdbcType=VARCHAR}
|
|
782
|
+ ysid = #{ysid,jdbcType=VARCHAR},
|
|
783
|
+ ytzdid = #{ytzdid,jdbcType=VARCHAR}
|
767
|
784
|
where id = #{id,jdbcType=INTEGER}
|
768
|
785
|
</update>
|
769
|
786
|
|