|
@@ -2,11 +2,6 @@
|
2
|
2
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
3
|
3
|
<mapper namespace="com.chinaitop.depot.business.mapper.BusinessDeliveryStorageNoticeMapper" >
|
4
|
4
|
<resultMap id="BaseResultMap" type="com.chinaitop.depot.business.model.BusinessDeliveryStorageNotice" >
|
5
|
|
- <!--
|
6
|
|
- WARNING - @mbggenerated
|
7
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
8
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
9
|
|
- -->
|
10
|
5
|
<id column="id" property="id" jdbcType="INTEGER" />
|
11
|
6
|
<result column="bill_type" property="billType" jdbcType="VARCHAR" />
|
12
|
7
|
<result column="bill_type_id" property="billTypeId" jdbcType="INTEGER" />
|
|
@@ -61,14 +56,10 @@
|
61
|
56
|
<result column="change_time" property="changeTime" jdbcType="TIMESTAMP" />
|
62
|
57
|
<result column="change_content" property="changeContent" jdbcType="VARCHAR" />
|
63
|
58
|
<result column="lqss" property="lqss" jdbcType="VARCHAR" />
|
|
59
|
+ <result column="yjssl" property="yjssl" jdbcType="DECIMAL" />
|
64
|
60
|
|
65
|
61
|
</resultMap>
|
66
|
62
|
<sql id="Example_Where_Clause" >
|
67
|
|
- <!--
|
68
|
|
- WARNING - @mbggenerated
|
69
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
70
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
71
|
|
- -->
|
72
|
63
|
<where >
|
73
|
64
|
<foreach collection="oredCriteria" item="criteria" separator="or" >
|
74
|
65
|
<if test="criteria.valid" >
|
|
@@ -98,11 +89,6 @@
|
98
|
89
|
</where>
|
99
|
90
|
</sql>
|
100
|
91
|
<sql id="Update_By_Example_Where_Clause" >
|
101
|
|
- <!--
|
102
|
|
- WARNING - @mbggenerated
|
103
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
104
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
105
|
|
- -->
|
106
|
92
|
<where >
|
107
|
93
|
<foreach collection="example.oredCriteria" item="criteria" separator="or" >
|
108
|
94
|
<if test="criteria.valid" >
|
|
@@ -132,11 +118,6 @@
|
132
|
118
|
</where>
|
133
|
119
|
</sql>
|
134
|
120
|
<sql id="Base_Column_List" >
|
135
|
|
- <!--
|
136
|
|
- WARNING - @mbggenerated
|
137
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
138
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
139
|
|
- -->
|
140
|
121
|
id, bill_type, bill_type_id, bill_number, shiping_count, finished_count, received_money,
|
141
|
122
|
customer_bid, customer_number, mobile, delivery_customer, contract, contract_bid,
|
142
|
123
|
plan_number, plan_bid, bill_memo, grain_price, money_quantity, grain_annual, warehouse,
|
|
@@ -145,14 +126,9 @@
|
145
|
126
|
warehouse_id, warehouse_name, creater, create_time, create_unit, create_depot, update_time,
|
146
|
127
|
org_id, in_application, creater_id, root_contract_bid, identification, carNumber,
|
147
|
128
|
changing, change_record_flag, root_notice_bid, original_notice, original_notice_bid,
|
148
|
|
- change_reason, change_time, change_content, lqss
|
|
129
|
+ change_reason, change_time, change_content, lqss, yjssl
|
149
|
130
|
</sql>
|
150
|
131
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.business.model.BusinessDeliveryStorageNoticeExample" >
|
151
|
|
- <!--
|
152
|
|
- WARNING - @mbggenerated
|
153
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
154
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
155
|
|
- -->
|
156
|
132
|
select
|
157
|
133
|
<if test="distinct" >
|
158
|
134
|
distinct
|
|
@@ -167,42 +143,22 @@
|
167
|
143
|
</if>
|
168
|
144
|
</select>
|
169
|
145
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
170
|
|
- <!--
|
171
|
|
- WARNING - @mbggenerated
|
172
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
173
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
174
|
|
- -->
|
175
|
146
|
select
|
176
|
147
|
<include refid="Base_Column_List" />
|
177
|
148
|
from business_delivery_storage_notice
|
178
|
149
|
where id = #{id,jdbcType=INTEGER}
|
179
|
150
|
</select>
|
180
|
151
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
|
181
|
|
- <!--
|
182
|
|
- WARNING - @mbggenerated
|
183
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
184
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
185
|
|
- -->
|
186
|
152
|
delete from business_delivery_storage_notice
|
187
|
153
|
where id = #{id,jdbcType=INTEGER}
|
188
|
154
|
</delete>
|
189
|
155
|
<delete id="deleteByExample" parameterType="com.chinaitop.depot.business.model.BusinessDeliveryStorageNoticeExample" >
|
190
|
|
- <!--
|
191
|
|
- WARNING - @mbggenerated
|
192
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
193
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
194
|
|
- -->
|
195
|
156
|
delete from business_delivery_storage_notice
|
196
|
157
|
<if test="_parameter != null" >
|
197
|
158
|
<include refid="Example_Where_Clause" />
|
198
|
159
|
</if>
|
199
|
160
|
</delete>
|
200
|
161
|
<insert id="insert" useGeneratedKeys="true" keyProperty="id" parameterType="com.chinaitop.depot.business.model.BusinessDeliveryStorageNotice" >
|
201
|
|
- <!--
|
202
|
|
- WARNING - @mbggenerated
|
203
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
204
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
205
|
|
- -->
|
206
|
162
|
insert into business_delivery_storage_notice (id, bill_type, bill_type_id,
|
207
|
163
|
bill_number, shiping_count, finished_count,
|
208
|
164
|
received_money, customer_bid, customer_number,
|
|
@@ -220,7 +176,7 @@
|
220
|
176
|
root_contract_bid, identification, carNumber,
|
221
|
177
|
changing, change_record_flag,
|
222
|
178
|
root_notice_bid, original_notice, original_notice_bid,
|
223
|
|
- change_reason, change_time, change_content, lqss
|
|
179
|
+ change_reason, change_time, change_content, lqss, yjssl
|
224
|
180
|
)
|
225
|
181
|
values (#{id,jdbcType=INTEGER}, #{billType,jdbcType=VARCHAR}, #{billTypeId,jdbcType=INTEGER},
|
226
|
182
|
#{billNumber,jdbcType=VARCHAR}, #{shipingCount,jdbcType=VARCHAR}, #{finishedCount,jdbcType=VARCHAR},
|
|
@@ -239,14 +195,10 @@
|
239
|
195
|
#{rootContractBid,jdbcType=INTEGER}, #{identification,jdbcType=VARCHAR}, #{carnumber,jdbcType=VARCHAR},
|
240
|
196
|
#{changing,jdbcType=VARCHAR}, #{changeRecordFlag,jdbcType=VARCHAR},
|
241
|
197
|
#{rootNoticeBid,jdbcType=INTEGER}, #{originalNotice,jdbcType=VARCHAR}, #{originalNoticeBid,jdbcType=INTEGER},
|
242
|
|
- #{changeReason,jdbcType=VARCHAR}, #{changeTime,jdbcType=TIMESTAMP}, #{changeContent,jdbcType=VARCHAR}, #{lqss,jdbcType=VARCHAR})
|
|
198
|
+ #{changeReason,jdbcType=VARCHAR}, #{changeTime,jdbcType=TIMESTAMP}, #{changeContent,jdbcType=VARCHAR}, #{lqss,jdbcType=VARCHAR},
|
|
199
|
+ #{yjssl,jdbcType=DECIMAL})
|
243
|
200
|
</insert>
|
244
|
201
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.business.model.BusinessDeliveryStorageNotice" >
|
245
|
|
- <!--
|
246
|
|
- WARNING - @mbggenerated
|
247
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
248
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
249
|
|
- -->
|
250
|
202
|
insert into business_delivery_storage_notice
|
251
|
203
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
252
|
204
|
<if test="id != null" >
|
|
@@ -411,7 +363,9 @@
|
411
|
363
|
<if test="lqss != null" >
|
412
|
364
|
lqss,
|
413
|
365
|
</if>
|
414
|
|
-
|
|
366
|
+ <if test="yjssl != null">
|
|
367
|
+ yjssl,
|
|
368
|
+ </if>
|
415
|
369
|
</trim>
|
416
|
370
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
417
|
371
|
<if test="id != null" >
|
|
@@ -576,26 +530,18 @@
|
576
|
530
|
<if test="lqss != null" >
|
577
|
531
|
#{lqss,jdbcType=VARCHAR},
|
578
|
532
|
</if>
|
579
|
|
-
|
|
533
|
+ <if test="yjssl != null">
|
|
534
|
+ #{yjssl,jdbcType=DECIMAL},
|
|
535
|
+ </if>
|
580
|
536
|
</trim>
|
581
|
537
|
</insert>
|
582
|
538
|
<select id="countByExample" parameterType="com.chinaitop.depot.business.model.BusinessDeliveryStorageNoticeExample" resultType="java.lang.Integer" >
|
583
|
|
- <!--
|
584
|
|
- WARNING - @mbggenerated
|
585
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
586
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
587
|
|
- -->
|
588
|
539
|
select count(*) from business_delivery_storage_notice
|
589
|
540
|
<if test="_parameter != null" >
|
590
|
541
|
<include refid="Example_Where_Clause" />
|
591
|
542
|
</if>
|
592
|
543
|
</select>
|
593
|
544
|
<update id="updateByExampleSelective" parameterType="map" >
|
594
|
|
- <!--
|
595
|
|
- WARNING - @mbggenerated
|
596
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
597
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
598
|
|
- -->
|
599
|
545
|
update business_delivery_storage_notice
|
600
|
546
|
<set >
|
601
|
547
|
<if test="record.id != null" >
|
|
@@ -760,18 +706,15 @@
|
760
|
706
|
<if test="record.lqss != null" >
|
761
|
707
|
lqss = #{record.lqss,jdbcType=VARCHAR},
|
762
|
708
|
</if>
|
763
|
|
-
|
|
709
|
+ <if test="record.yjssl != null">
|
|
710
|
+ yjssl = #{record.yjssl,jdbcType=DECIMAL},
|
|
711
|
+ </if>
|
764
|
712
|
</set>
|
765
|
713
|
<if test="_parameter != null" >
|
766
|
714
|
<include refid="Update_By_Example_Where_Clause" />
|
767
|
715
|
</if>
|
768
|
716
|
</update>
|
769
|
717
|
<update id="updateByExample" parameterType="map" >
|
770
|
|
- <!--
|
771
|
|
- WARNING - @mbggenerated
|
772
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
773
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
774
|
|
- -->
|
775
|
718
|
update business_delivery_storage_notice
|
776
|
719
|
set id = #{record.id,jdbcType=INTEGER},
|
777
|
720
|
bill_type = #{record.billType,jdbcType=VARCHAR},
|
|
@@ -826,18 +769,14 @@
|
826
|
769
|
change_reason = #{record.changeReason,jdbcType=VARCHAR},
|
827
|
770
|
change_time = #{record.changeTime,jdbcType=TIMESTAMP},
|
828
|
771
|
change_content = #{record.changeContent,jdbcType=VARCHAR},
|
829
|
|
- lqss = #{record.lqss,jdbcType=VARCHAR}
|
|
772
|
+ lqss = #{record.lqss,jdbcType=VARCHAR},
|
|
773
|
+ yjssl = #{record.yjssl,jdbcType=DECIMAL}
|
830
|
774
|
|
831
|
775
|
<if test="_parameter != null" >
|
832
|
776
|
<include refid="Update_By_Example_Where_Clause" />
|
833
|
777
|
</if>
|
834
|
778
|
</update>
|
835
|
779
|
<update id="updateByPrimaryKeySelective" parameterType="com.chinaitop.depot.business.model.BusinessDeliveryStorageNotice" >
|
836
|
|
- <!--
|
837
|
|
- WARNING - @mbggenerated
|
838
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
839
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
840
|
|
- -->
|
841
|
780
|
update business_delivery_storage_notice
|
842
|
781
|
<set >
|
843
|
782
|
<if test="billType != null" >
|
|
@@ -999,16 +938,13 @@
|
999
|
938
|
<if test="lqss != null" >
|
1000
|
939
|
lqss = #{lqss,jdbcType=VARCHAR},
|
1001
|
940
|
</if>
|
1002
|
|
-
|
|
941
|
+ <if test="yjssl != null">
|
|
942
|
+ yjssl = #{yjssl,jdbcType=DECIMAL},
|
|
943
|
+ </if>
|
1003
|
944
|
</set>
|
1004
|
945
|
where id = #{id,jdbcType=INTEGER}
|
1005
|
946
|
</update>
|
1006
|
947
|
<update id="updateByPrimaryKey" parameterType="com.chinaitop.depot.business.model.BusinessDeliveryStorageNotice" >
|
1007
|
|
- <!--
|
1008
|
|
- WARNING - @mbggenerated
|
1009
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
1010
|
|
- This element was generated on Tue Aug 25 14:02:58 CST 2020.
|
1011
|
|
- -->
|
1012
|
948
|
update business_delivery_storage_notice
|
1013
|
949
|
set bill_type = #{billType,jdbcType=VARCHAR},
|
1014
|
950
|
bill_type_id = #{billTypeId,jdbcType=INTEGER},
|
|
@@ -1062,7 +998,8 @@
|
1062
|
998
|
change_reason = #{changeReason,jdbcType=VARCHAR},
|
1063
|
999
|
change_time = #{changeTime,jdbcType=TIMESTAMP},
|
1064
|
1000
|
change_content = #{changeContent,jdbcType=VARCHAR},
|
1065
|
|
- lqss = #{lqss,jdbcType=VARCHAR}
|
|
1001
|
+ lqss = #{lqss,jdbcType=VARCHAR},
|
|
1002
|
+ yjssl = #{yjssl,jdbcType=DECIMAL}
|
1066
|
1003
|
|
1067
|
1004
|
where id = #{id,jdbcType=INTEGER}
|
1068
|
1005
|
</update>
|