|
|
@@ -53,6 +53,7 @@
|
|
53
|
53
|
<result column="data_status" property="dataStatus" jdbcType="VARCHAR" />
|
|
54
|
54
|
<result column="bzq" property="bzq" jdbcType="TIMESTAMP" />
|
|
55
|
55
|
<result column="sjcygd" property="sjcygd" jdbcType="DECIMAL" />
|
|
|
56
|
+ <result column="fcqrd_id" property="fcqrdId" jdbcType="VARCHAR" />
|
|
56
|
57
|
</resultMap>
|
|
57
|
58
|
<sql id="Example_Where_Clause" >
|
|
58
|
59
|
<where >
|
|
|
@@ -118,7 +119,8 @@
|
|
118
|
119
|
in_width, grain_line_heigth, bin_volume, storeman_code, storeman_name, lypz_code,
|
|
119
|
120
|
lypz_name, lydj_code, lydj_name, rksj, scrq, lycd_code, lycd_name, lysl, js, bzgg,
|
|
120
|
121
|
pinp, ccfs_code, ccfs_name, jkrq, org_id, image_url, spare_one, spare_two, spare_three,
|
|
121
|
|
- spare_four, spare_five, sfgd, gdsj, zhycsj, jkr, updatetime, lqss, ywlx, cj, remark, data_status, bzq, sjcygd
|
|
|
122
|
+ spare_four, spare_five, sfgd, gdsj, zhycsj, jkr, updatetime, lqss, ywlx, cj, remark, data_status, bzq, sjcygd,
|
|
|
123
|
+ fcqrd_id
|
|
122
|
124
|
</sql>
|
|
123
|
125
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.grainSituationCard.model.StorageCerealsCardExample" >
|
|
124
|
126
|
select
|
|
|
@@ -164,7 +166,7 @@
|
|
164
|
166
|
ccfs_name, jkrq, org_id,
|
|
165
|
167
|
image_url, spare_one, spare_two,
|
|
166
|
168
|
spare_three, spare_four, spare_five, sfgd, gdsj, zhycsj, jkr, updatetime, lqss, ywlx, cj, remark,
|
|
167
|
|
- data_status, bzq, sjcygd)
|
|
|
169
|
+ data_status, bzq, sjcygd, fcqrd_id)
|
|
168
|
170
|
values (#{id,jdbcType=VARCHAR}, #{storehouseCode,jdbcType=VARCHAR}, #{storehouseName,jdbcType=VARCHAR},
|
|
169
|
171
|
#{warehouseCode,jdbcType=VARCHAR}, #{warehouseName,jdbcType=VARCHAR}, #{storehouseType,jdbcType=VARCHAR},
|
|
170
|
172
|
#{storehouseTypeName,jdbcType=VARCHAR}, #{buildDate,jdbcType=TIMESTAMP}, #{wallCode,jdbcType=VARCHAR},
|
|
|
@@ -180,7 +182,7 @@
|
|
180
|
182
|
#{spareThree,jdbcType=VARCHAR}, #{spareFour,jdbcType=VARCHAR}, #{spareFive,jdbcType=VARCHAR},
|
|
181
|
183
|
#{sfgd,jdbcType=VARCHAR}, #{gdsj,jdbcType=TIMESTAMP}, #{zhycsj,jdbcType=TIMESTAMP}, #{jkr,jdbcType=VARCHAR},
|
|
182
|
184
|
#{updatetime,jdbcType=TIMESTAMP}, #{lqss,jdbcType=VARCHAR}, #{ywlx,jdbcType=VARCHAR}, #{cj,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
|
|
183
|
|
- #{dataStatus,jdbcType=VARCHAR}, #{bzq,jdbcType=TIMESTAMP}, #{sjcygd,jdbcType=DECIMAL}
|
|
|
185
|
+ #{dataStatus,jdbcType=VARCHAR}, #{bzq,jdbcType=TIMESTAMP}, #{sjcygd,jdbcType=DECIMAL}, #{fcqrdId,jdbcType=VARCHAR}
|
|
184
|
186
|
)
|
|
185
|
187
|
</insert>
|
|
186
|
188
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.grainSituationCard.model.StorageCerealsCard" >
|
|
|
@@ -339,6 +341,9 @@
|
|
339
|
341
|
<if test="sjcygd != null">
|
|
340
|
342
|
sjcygd,
|
|
341
|
343
|
</if>
|
|
|
344
|
+ <if test="fcqrdId != null">
|
|
|
345
|
+ fcqrd_id,
|
|
|
346
|
+ </if>
|
|
342
|
347
|
</trim>
|
|
343
|
348
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
344
|
349
|
<if test="id != null" >
|
|
|
@@ -494,6 +499,9 @@
|
|
494
|
499
|
<if test="sjcygd != null">
|
|
495
|
500
|
#{sjcygd,jdbcType=DECIMAL},
|
|
496
|
501
|
</if>
|
|
|
502
|
+ <if test="fcqrdId != null">
|
|
|
503
|
+ #{fcqrdId,jdbcType=VARCHAR},
|
|
|
504
|
+ </if>
|
|
497
|
505
|
</trim>
|
|
498
|
506
|
</insert>
|
|
499
|
507
|
<select id="countByExample" parameterType="com.chinaitop.depot.grainSituationCard.model.StorageCerealsCardExample" resultType="java.lang.Integer" >
|
|
|
@@ -658,6 +666,9 @@
|
|
658
|
666
|
<if test="record.sjcygd != null">
|
|
659
|
667
|
sjcygd = #{record.sjcygd,jdbcType=DECIMAL},
|
|
660
|
668
|
</if>
|
|
|
669
|
+ <if test="record.fcqrdId != null">
|
|
|
670
|
+ fcqrd_id = #{record.fcqrdId,jdbcType=VARCHAR},
|
|
|
671
|
+ </if>
|
|
661
|
672
|
</set>
|
|
662
|
673
|
<if test="_parameter != null" >
|
|
663
|
674
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -715,7 +726,8 @@
|
|
715
|
726
|
remark = #{record.remark,jdbcType=VARCHAR},
|
|
716
|
727
|
data_status = #{record.dataStatus,jdbcType=VARCHAR},
|
|
717
|
728
|
bzq = #{record.bzq,jdbcType=TIMESTAMP},
|
|
718
|
|
- sjcygd = #{record.sjcygd,jdbcType=DECIMAL}
|
|
|
729
|
+ sjcygd = #{record.sjcygd,jdbcType=DECIMAL},
|
|
|
730
|
+ fcqrd_id = #{record.fcqrdId,jdbcType=VARCHAR}
|
|
719
|
731
|
<if test="_parameter != null" >
|
|
720
|
732
|
<include refid="Update_By_Example_Where_Clause" />
|
|
721
|
733
|
</if>
|
|
|
@@ -873,6 +885,9 @@
|
|
873
|
885
|
<if test="sjcygd != null">
|
|
874
|
886
|
sjcygd = #{sjcygd,jdbcType=DECIMAL},
|
|
875
|
887
|
</if>
|
|
|
888
|
+ <if test="fcqrdId != null">
|
|
|
889
|
+ fcqrd_id = #{fcqrdId,jdbcType=VARCHAR},
|
|
|
890
|
+ </if>
|
|
876
|
891
|
</set>
|
|
877
|
892
|
where id = #{id,jdbcType=VARCHAR}
|
|
878
|
893
|
</update>
|
|
|
@@ -927,7 +942,8 @@
|
|
927
|
942
|
remark = #{remark,jdbcType=VARCHAR},
|
|
928
|
943
|
data_status = #{dataStatus,jdbcType=VARCHAR},
|
|
929
|
944
|
bzq = #{bzq,jdbcType=TIMESTAMP},
|
|
930
|
|
- sjcygd = #{sjcygd,jdbcType=DECIMAL}
|
|
|
945
|
+ sjcygd = #{sjcygd,jdbcType=DECIMAL},
|
|
|
946
|
+ fcqrd_id = #{fcqrdId,jdbcType=VARCHAR}
|
|
931
|
947
|
where id = #{id,jdbcType=VARCHAR}
|
|
932
|
948
|
</update>
|
|
933
|
949
|
|