|
|
@@ -7,7 +7,7 @@
|
|
7
|
7
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
8
|
8
|
This element was generated on Mon Jun 29 19:30:27 CST 2020.
|
|
9
|
9
|
-->
|
|
10
|
|
- <id column="id" property="id" jdbcType="INTEGER" />
|
|
|
10
|
+ <!-- <id column="id" property="id" jdbcType="INTEGER" />
|
|
11
|
11
|
<result column="contract_number" property="contractNumber" jdbcType="VARCHAR" />
|
|
12
|
12
|
<result column="contract_title" property="contractTitle" jdbcType="VARCHAR" />
|
|
13
|
13
|
<result column="customer_id" property="customerId" jdbcType="VARCHAR" />
|
|
|
@@ -63,7 +63,72 @@
|
|
63
|
63
|
<result column="lybzj" property="lybzj" jdbcType="VARCHAR" />
|
|
64
|
64
|
<result column="khqyr" property="khqyr" jdbcType="VARCHAR" />
|
|
65
|
65
|
<result column="bfkhh" property="bfkhh" jdbcType="VARCHAR" />
|
|
|
66
|
+ <result column="bfzh" property="bfzh" jdbcType="VARCHAR" /> -->
|
|
|
67
|
+
|
|
|
68
|
+ <id column="id" property="id" jdbcType="INTEGER" />
|
|
|
69
|
+ <result column="contract_number" property="contractNumber" jdbcType="VARCHAR" />
|
|
|
70
|
+ <result column="plan_bid" property="planBid" jdbcType="INTEGER" />
|
|
|
71
|
+ <result column="contract_title" property="contractTitle" jdbcType="VARCHAR" />
|
|
|
72
|
+ <result column="contract_type" property="contractType" jdbcType="INTEGER" />
|
|
|
73
|
+ <result column="signing_time" property="signingTime" jdbcType="DATE" />
|
|
|
74
|
+ <result column="qddd" property="qddd" jdbcType="VARCHAR" />
|
|
|
75
|
+ <result column="money_quantity" property="moneyQuantity" jdbcType="VARCHAR" />
|
|
|
76
|
+ <result column="lybzj" property="lybzj" jdbcType="VARCHAR" />
|
|
|
77
|
+ <result column="customer_bid" property="customerBid" jdbcType="INTEGER" />
|
|
|
78
|
+ <result column="grain_quantity" property="grainQuantity" jdbcType="DECIMAL" />
|
|
|
79
|
+ <result column="customer_id" property="customerId" jdbcType="VARCHAR" />
|
|
|
80
|
+ <result column="customer_number" property="customerNumber" jdbcType="VARCHAR" />
|
|
|
81
|
+ <result column="customer_name" property="customerName" jdbcType="VARCHAR" />
|
|
|
82
|
+ <result column="signing_man" property="signingMan" jdbcType="VARCHAR" />
|
|
|
83
|
+ <result column="enable_date" property="enableDate" jdbcType="TIMESTAMP" />
|
|
|
84
|
+ <result column="performance_quantity" property="performanceQuantity" jdbcType="DECIMAL" />
|
|
|
85
|
+ <result column="performance_rate" property="performanceRate" jdbcType="DECIMAL" />
|
|
|
86
|
+ <result column="settle_contract_uniformity" property="settleContractUniformity" jdbcType="TINYINT" />
|
|
|
87
|
+ <result column="settle_contract_uniformity_reason" property="settleContractUniformityReason" jdbcType="VARCHAR" />
|
|
|
88
|
+ <result column="sign_comple_time" property="signCompleTime" jdbcType="TIMESTAMP" />
|
|
|
89
|
+ <result column="purchase_unit" property="purchaseUnit" jdbcType="VARCHAR" />
|
|
|
90
|
+ <result column="disable_date" property="disableDate" jdbcType="TIMESTAMP" />
|
|
|
91
|
+ <result column="original_contract" property="originalContract" jdbcType="VARCHAR" />
|
|
|
92
|
+ <result column="original_contract_bid" property="originalContractBid" jdbcType="INTEGER" />
|
|
|
93
|
+ <result column="root_contract_bid" property="rootContractBid" jdbcType="INTEGER" />
|
|
|
94
|
+ <result column="shipping_type" property="shippingType" jdbcType="INTEGER" />
|
|
|
95
|
+ <result column="contract_pay_type" property="contractPayType" jdbcType="INTEGER" />
|
|
|
96
|
+ <result column="finished_quantity" property="finishedQuantity" jdbcType="VARCHAR" />
|
|
|
97
|
+ <result column="money_of_finished_quantity" property="moneyOfFinishedQuantity" jdbcType="VARCHAR" />
|
|
|
98
|
+ <result column="remark" property="remark" jdbcType="VARCHAR" />
|
|
|
99
|
+ <result column="plant_acreage" property="plantAcreage" jdbcType="VARCHAR" />
|
|
|
100
|
+ <result column="plan_number" property="planNumber" jdbcType="VARCHAR" />
|
|
|
101
|
+ <result column="mobile" property="mobile" jdbcType="VARCHAR" />
|
|
|
102
|
+ <result column="bank_name" property="bankName" jdbcType="VARCHAR" />
|
|
|
103
|
+ <result column="account_name" property="accountName" jdbcType="VARCHAR" />
|
|
|
104
|
+ <result column="account_number" property="accountNumber" jdbcType="VARCHAR" />
|
|
|
105
|
+ <result column="breach_liability" property="breachLiability" jdbcType="VARCHAR" />
|
|
|
106
|
+ <result column="dissolution_conditions" property="dissolutionConditions" jdbcType="VARCHAR" />
|
|
|
107
|
+ <result column="identification" property="identification" jdbcType="VARCHAR" />
|
|
|
108
|
+ <result column="khqyr" property="khqyr" jdbcType="VARCHAR" />
|
|
|
109
|
+ <result column="bfkhh" property="bfkhh" jdbcType="VARCHAR" />
|
|
66
|
110
|
<result column="bfzh" property="bfzh" jdbcType="VARCHAR" />
|
|
|
111
|
+ <result column="dispute_settlement_method" property="disputeSettlementMethod" jdbcType="VARCHAR" />
|
|
|
112
|
+ <result column="change_record_flag" property="changeRecordFlag" jdbcType="VARCHAR" />
|
|
|
113
|
+ <result column="change_reason" property="changeReason" jdbcType="VARCHAR" />
|
|
|
114
|
+ <result column="change_time" property="changeTime" jdbcType="TIMESTAMP" />
|
|
|
115
|
+ <result column="change_content" property="changeContent" jdbcType="VARCHAR" />
|
|
|
116
|
+ <result column="changing" property="changing" jdbcType="VARCHAR" />
|
|
|
117
|
+ <result column="audit_state" property="auditState" jdbcType="VARCHAR" />
|
|
|
118
|
+ <result column="process_instance_id" property="processInstanceId" jdbcType="VARCHAR" />
|
|
|
119
|
+ <result column="process_definition_id" property="processDefinitionId" jdbcType="VARCHAR" />
|
|
|
120
|
+ <result column="agree_time" property="agreeTime" jdbcType="TIMESTAMP" />
|
|
|
121
|
+ <result column="create_man" property="createMan" jdbcType="VARCHAR" />
|
|
|
122
|
+ <result column="creater" property="creater" jdbcType="VARCHAR" />
|
|
|
123
|
+ <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
|
|
|
124
|
+ <result column="create_unit" property="createUnit" jdbcType="VARCHAR" />
|
|
|
125
|
+ <result column="create_depot" property="createDepot" jdbcType="VARCHAR" />
|
|
|
126
|
+ <result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
|
|
|
127
|
+ <result column="org_id" property="orgId" jdbcType="INTEGER" />
|
|
|
128
|
+ <result column="in_application" property="inApplication" jdbcType="INTEGER" />
|
|
|
129
|
+ <result column="creater_id" property="createrId" jdbcType="INTEGER" />
|
|
|
130
|
+ <result column="updatetime" property="updatetime" jdbcType="TIMESTAMP" />
|
|
|
131
|
+ <result column="attachment" property="attachment" jdbcType="VARCHAR" />
|
|
67
|
132
|
|
|
68
|
133
|
</resultMap>
|
|
69
|
134
|
<sql id="Example_Where_Clause" >
|
|
|
@@ -140,16 +205,18 @@
|
|
140
|
205
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
141
|
206
|
This element was generated on Mon Jun 29 19:30:27 CST 2020.
|
|
142
|
207
|
-->
|
|
143
|
|
- id, contract_number, contract_title, customer_id, customer_bid, customer_number,
|
|
144
|
|
- customer_name, grain_quantity, money_quantity, signing_man, signing_time, enable_date,
|
|
145
|
|
- disable_date, contract_type, original_contract, original_contract_bid, root_contract_bid,
|
|
|
208
|
+ id, contract_number, plan_bid, contract_title, contract_type, signing_time, qddd,
|
|
|
209
|
+ money_quantity, lybzj, customer_bid, grain_quantity, customer_id, customer_number,
|
|
|
210
|
+ customer_name, signing_man, enable_date, performance_quantity, performance_rate,
|
|
|
211
|
+ settle_contract_uniformity, settle_contract_uniformity_reason, sign_comple_time,
|
|
|
212
|
+ purchase_unit, disable_date, original_contract, original_contract_bid, root_contract_bid,
|
|
146
|
213
|
shipping_type, contract_pay_type, finished_quantity, money_of_finished_quantity,
|
|
147
|
214
|
remark, plant_acreage, plan_number, mobile, bank_name, account_name, account_number,
|
|
148
|
|
- breach_liability, dissolution_conditions, dispute_settlement_method, change_record_flag,
|
|
149
|
|
- change_reason, change_time, change_content, changing, plan_bid, audit_state, process_instance_id,
|
|
150
|
|
- process_definition_id, agree_time, create_man, creater, create_time, create_unit,
|
|
151
|
|
- create_depot, update_time, org_id, in_application, creater_id, identification, updatetime,
|
|
152
|
|
- qddd, lybzj, khqyr, bfkhh, bfzh
|
|
|
215
|
+ breach_liability, dissolution_conditions, identification, khqyr, bfkhh, bfzh, dispute_settlement_method,
|
|
|
216
|
+ change_record_flag, change_reason, change_time, change_content, changing, audit_state,
|
|
|
217
|
+ process_instance_id, process_definition_id, agree_time, create_man, creater, create_time,
|
|
|
218
|
+ create_unit, create_depot, update_time, org_id, in_application, creater_id, updatetime,
|
|
|
219
|
+ attachment
|
|
153
|
220
|
</sql>
|
|
154
|
221
|
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.business.model.BusinessContractExample" >
|
|
155
|
222
|
<!--
|
|
|
@@ -202,58 +269,54 @@
|
|
202
|
269
|
</if>
|
|
203
|
270
|
</delete>
|
|
204
|
271
|
<insert id="insert" useGeneratedKeys="true" keyProperty="id" parameterType="com.chinaitop.depot.business.model.BusinessContract" >
|
|
205
|
|
- <!--
|
|
206
|
|
- WARNING - @mbggenerated
|
|
207
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
208
|
|
- This element was generated on Mon Jun 29 19:30:27 CST 2020.
|
|
209
|
|
- -->
|
|
210
|
|
- insert into business_contract (id, contract_number, contract_title,
|
|
211
|
|
- customer_id, customer_bid, customer_number,
|
|
212
|
|
- customer_name, grain_quantity, money_quantity,
|
|
213
|
|
- signing_man, signing_time, enable_date,
|
|
214
|
|
- disable_date, contract_type, original_contract,
|
|
215
|
|
- original_contract_bid, root_contract_bid, shipping_type,
|
|
216
|
|
- contract_pay_type, finished_quantity, money_of_finished_quantity,
|
|
|
272
|
+ insert into business_contract (id, contract_number, plan_bid,
|
|
|
273
|
+ contract_title, contract_type, signing_time,
|
|
|
274
|
+ qddd, money_quantity, lybzj,
|
|
|
275
|
+ customer_bid, grain_quantity, customer_id,
|
|
|
276
|
+ customer_number, customer_name, signing_man,
|
|
|
277
|
+ enable_date, performance_quantity, performance_rate,
|
|
|
278
|
+ settle_contract_uniformity, settle_contract_uniformity_reason,
|
|
|
279
|
+ sign_comple_time, purchase_unit, disable_date,
|
|
|
280
|
+ original_contract, original_contract_bid,
|
|
|
281
|
+ root_contract_bid, shipping_type, contract_pay_type,
|
|
|
282
|
+ finished_quantity, money_of_finished_quantity,
|
|
217
|
283
|
remark, plant_acreage, plan_number,
|
|
218
|
284
|
mobile, bank_name, account_name,
|
|
219
|
285
|
account_number, breach_liability, dissolution_conditions,
|
|
220
|
|
- dispute_settlement_method, change_record_flag,
|
|
|
286
|
+ identification, khqyr, bfkhh,
|
|
|
287
|
+ bfzh, dispute_settlement_method, change_record_flag,
|
|
221
|
288
|
change_reason, change_time, change_content,
|
|
222
|
|
- changing, plan_bid, audit_state,
|
|
223
|
|
- process_instance_id, process_definition_id,
|
|
224
|
|
- agree_time, create_man, creater,
|
|
225
|
|
- create_time, create_unit, create_depot,
|
|
226
|
|
- update_time, org_id, in_application,
|
|
227
|
|
- creater_id, identification, updatetime,
|
|
228
|
|
- qddd, lybzj, khqyr,
|
|
229
|
|
- bfkhh, bfzh)
|
|
230
|
|
- values (#{id,jdbcType=INTEGER}, #{contractNumber,jdbcType=VARCHAR}, #{contractTitle,jdbcType=VARCHAR},
|
|
231
|
|
- #{customerId,jdbcType=VARCHAR}, #{customerBid,jdbcType=INTEGER}, #{customerNumber,jdbcType=VARCHAR},
|
|
232
|
|
- #{customerName,jdbcType=VARCHAR}, #{grainQuantity,jdbcType=VARCHAR}, #{moneyQuantity,jdbcType=VARCHAR},
|
|
233
|
|
- #{signingMan,jdbcType=VARCHAR}, #{signingTime,jdbcType=TIMESTAMP}, #{enableDate,jdbcType=TIMESTAMP},
|
|
234
|
|
- #{disableDate,jdbcType=TIMESTAMP}, #{contractType,jdbcType=INTEGER}, #{originalContract,jdbcType=VARCHAR},
|
|
235
|
|
- #{originalContractBid,jdbcType=INTEGER}, #{rootContractBid,jdbcType=INTEGER}, #{shippingType,jdbcType=INTEGER},
|
|
236
|
|
- #{contractPayType,jdbcType=INTEGER}, #{finishedQuantity,jdbcType=VARCHAR}, #{moneyOfFinishedQuantity,jdbcType=VARCHAR},
|
|
|
289
|
+ changing, audit_state, process_instance_id,
|
|
|
290
|
+ process_definition_id, agree_time, create_man,
|
|
|
291
|
+ creater, create_time, create_unit,
|
|
|
292
|
+ create_depot, update_time, org_id,
|
|
|
293
|
+ in_application, creater_id, updatetime,
|
|
|
294
|
+ attachment)
|
|
|
295
|
+ values (#{id,jdbcType=INTEGER}, #{contractNumber,jdbcType=VARCHAR}, #{planBid,jdbcType=INTEGER},
|
|
|
296
|
+ #{contractTitle,jdbcType=VARCHAR}, #{contractType,jdbcType=INTEGER}, #{signingTime,jdbcType=DATE},
|
|
|
297
|
+ #{qddd,jdbcType=VARCHAR}, #{moneyQuantity,jdbcType=VARCHAR}, #{lybzj,jdbcType=VARCHAR},
|
|
|
298
|
+ #{customerBid,jdbcType=INTEGER}, #{grainQuantity,jdbcType=DECIMAL}, #{customerId,jdbcType=VARCHAR},
|
|
|
299
|
+ #{customerNumber,jdbcType=VARCHAR}, #{customerName,jdbcType=VARCHAR}, #{signingMan,jdbcType=VARCHAR},
|
|
|
300
|
+ #{enableDate,jdbcType=TIMESTAMP}, #{performanceQuantity,jdbcType=DECIMAL}, #{performanceRate,jdbcType=DECIMAL},
|
|
|
301
|
+ #{settleContractUniformity,jdbcType=TINYINT}, #{settleContractUniformityReason,jdbcType=VARCHAR},
|
|
|
302
|
+ #{signCompleTime,jdbcType=TIMESTAMP}, #{purchaseUnit,jdbcType=VARCHAR}, #{disableDate,jdbcType=TIMESTAMP},
|
|
|
303
|
+ #{originalContract,jdbcType=VARCHAR}, #{originalContractBid,jdbcType=INTEGER},
|
|
|
304
|
+ #{rootContractBid,jdbcType=INTEGER}, #{shippingType,jdbcType=INTEGER}, #{contractPayType,jdbcType=INTEGER},
|
|
|
305
|
+ #{finishedQuantity,jdbcType=VARCHAR}, #{moneyOfFinishedQuantity,jdbcType=VARCHAR},
|
|
237
|
306
|
#{remark,jdbcType=VARCHAR}, #{plantAcreage,jdbcType=VARCHAR}, #{planNumber,jdbcType=VARCHAR},
|
|
238
|
307
|
#{mobile,jdbcType=VARCHAR}, #{bankName,jdbcType=VARCHAR}, #{accountName,jdbcType=VARCHAR},
|
|
239
|
308
|
#{accountNumber,jdbcType=VARCHAR}, #{breachLiability,jdbcType=VARCHAR}, #{dissolutionConditions,jdbcType=VARCHAR},
|
|
240
|
|
- #{disputeSettlementMethod,jdbcType=VARCHAR}, #{changeRecordFlag,jdbcType=VARCHAR},
|
|
|
309
|
+ #{identification,jdbcType=VARCHAR}, #{khqyr,jdbcType=VARCHAR}, #{bfkhh,jdbcType=VARCHAR},
|
|
|
310
|
+ #{bfzh,jdbcType=VARCHAR}, #{disputeSettlementMethod,jdbcType=VARCHAR}, #{changeRecordFlag,jdbcType=VARCHAR},
|
|
241
|
311
|
#{changeReason,jdbcType=VARCHAR}, #{changeTime,jdbcType=TIMESTAMP}, #{changeContent,jdbcType=VARCHAR},
|
|
242
|
|
- #{changing,jdbcType=VARCHAR}, #{planBid,jdbcType=INTEGER}, #{auditState,jdbcType=VARCHAR},
|
|
243
|
|
- #{processInstanceId,jdbcType=VARCHAR}, #{processDefinitionId,jdbcType=VARCHAR},
|
|
244
|
|
- #{agreeTime,jdbcType=TIMESTAMP}, #{createMan,jdbcType=VARCHAR}, #{creater,jdbcType=VARCHAR},
|
|
245
|
|
- #{createTime,jdbcType=TIMESTAMP}, #{createUnit,jdbcType=VARCHAR}, #{createDepot,jdbcType=VARCHAR},
|
|
246
|
|
- #{updateTime,jdbcType=TIMESTAMP}, #{orgId,jdbcType=INTEGER}, #{inApplication,jdbcType=INTEGER},
|
|
247
|
|
- #{createrId,jdbcType=INTEGER}, #{identification,jdbcType=VARCHAR}, #{updatetime,jdbcType=TIMESTAMP},
|
|
248
|
|
- #{qddd,jdbcType=VARCHAR}, #{lybzj,jdbcType=VARCHAR}, #{khqyr,jdbcType=VARCHAR},
|
|
249
|
|
- #{bfkhh,jdbcType=VARCHAR}, #{bfzh,jdbcType=VARCHAR})
|
|
|
312
|
+ #{changing,jdbcType=VARCHAR}, #{auditState,jdbcType=VARCHAR}, #{processInstanceId,jdbcType=VARCHAR},
|
|
|
313
|
+ #{processDefinitionId,jdbcType=VARCHAR}, #{agreeTime,jdbcType=TIMESTAMP}, #{createMan,jdbcType=VARCHAR},
|
|
|
314
|
+ #{creater,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createUnit,jdbcType=VARCHAR},
|
|
|
315
|
+ #{createDepot,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{orgId,jdbcType=INTEGER},
|
|
|
316
|
+ #{inApplication,jdbcType=INTEGER}, #{createrId,jdbcType=INTEGER}, #{updatetime,jdbcType=TIMESTAMP},
|
|
|
317
|
+ #{attachment,jdbcType=VARCHAR})
|
|
250
|
318
|
</insert>
|
|
251
|
319
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.business.model.BusinessContract" >
|
|
252
|
|
- <!--
|
|
253
|
|
- WARNING - @mbggenerated
|
|
254
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
255
|
|
- This element was generated on Mon Jun 29 19:30:27 CST 2020.
|
|
256
|
|
- -->
|
|
257
|
320
|
insert into business_contract
|
|
258
|
321
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
|
259
|
322
|
<if test="id != null" >
|
|
|
@@ -262,42 +325,69 @@
|
|
262
|
325
|
<if test="contractNumber != null" >
|
|
263
|
326
|
contract_number,
|
|
264
|
327
|
</if>
|
|
|
328
|
+ <if test="planBid != null" >
|
|
|
329
|
+ plan_bid,
|
|
|
330
|
+ </if>
|
|
265
|
331
|
<if test="contractTitle != null" >
|
|
266
|
332
|
contract_title,
|
|
267
|
333
|
</if>
|
|
268
|
|
- <if test="customerId != null" >
|
|
269
|
|
- customer_id,
|
|
|
334
|
+ <if test="contractType != null" >
|
|
|
335
|
+ contract_type,
|
|
|
336
|
+ </if>
|
|
|
337
|
+ <if test="signingTime != null" >
|
|
|
338
|
+ signing_time,
|
|
|
339
|
+ </if>
|
|
|
340
|
+ <if test="qddd != null" >
|
|
|
341
|
+ qddd,
|
|
|
342
|
+ </if>
|
|
|
343
|
+ <if test="moneyQuantity != null" >
|
|
|
344
|
+ money_quantity,
|
|
|
345
|
+ </if>
|
|
|
346
|
+ <if test="lybzj != null" >
|
|
|
347
|
+ lybzj,
|
|
270
|
348
|
</if>
|
|
271
|
349
|
<if test="customerBid != null" >
|
|
272
|
350
|
customer_bid,
|
|
273
|
351
|
</if>
|
|
|
352
|
+ <if test="grainQuantity != null" >
|
|
|
353
|
+ grain_quantity,
|
|
|
354
|
+ </if>
|
|
|
355
|
+ <if test="customerId != null" >
|
|
|
356
|
+ customer_id,
|
|
|
357
|
+ </if>
|
|
274
|
358
|
<if test="customerNumber != null" >
|
|
275
|
359
|
customer_number,
|
|
276
|
360
|
</if>
|
|
277
|
361
|
<if test="customerName != null" >
|
|
278
|
362
|
customer_name,
|
|
279
|
363
|
</if>
|
|
280
|
|
- <if test="grainQuantity != null" >
|
|
281
|
|
- grain_quantity,
|
|
282
|
|
- </if>
|
|
283
|
|
- <if test="moneyQuantity != null" >
|
|
284
|
|
- money_quantity,
|
|
285
|
|
- </if>
|
|
286
|
364
|
<if test="signingMan != null" >
|
|
287
|
365
|
signing_man,
|
|
288
|
366
|
</if>
|
|
289
|
|
- <if test="signingTime != null" >
|
|
290
|
|
- signing_time,
|
|
291
|
|
- </if>
|
|
292
|
367
|
<if test="enableDate != null" >
|
|
293
|
368
|
enable_date,
|
|
294
|
369
|
</if>
|
|
|
370
|
+ <if test="performanceQuantity != null" >
|
|
|
371
|
+ performance_quantity,
|
|
|
372
|
+ </if>
|
|
|
373
|
+ <if test="performanceRate != null" >
|
|
|
374
|
+ performance_rate,
|
|
|
375
|
+ </if>
|
|
|
376
|
+ <if test="settleContractUniformity != null" >
|
|
|
377
|
+ settle_contract_uniformity,
|
|
|
378
|
+ </if>
|
|
|
379
|
+ <if test="settleContractUniformityReason != null" >
|
|
|
380
|
+ settle_contract_uniformity_reason,
|
|
|
381
|
+ </if>
|
|
|
382
|
+ <if test="signCompleTime != null" >
|
|
|
383
|
+ sign_comple_time,
|
|
|
384
|
+ </if>
|
|
|
385
|
+ <if test="purchaseUnit != null" >
|
|
|
386
|
+ purchase_unit,
|
|
|
387
|
+ </if>
|
|
295
|
388
|
<if test="disableDate != null" >
|
|
296
|
389
|
disable_date,
|
|
297
|
390
|
</if>
|
|
298
|
|
- <if test="contractType != null" >
|
|
299
|
|
- contract_type,
|
|
300
|
|
- </if>
|
|
301
|
391
|
<if test="originalContract != null" >
|
|
302
|
392
|
original_contract,
|
|
303
|
393
|
</if>
|
|
|
@@ -346,6 +436,18 @@
|
|
346
|
436
|
<if test="dissolutionConditions != null" >
|
|
347
|
437
|
dissolution_conditions,
|
|
348
|
438
|
</if>
|
|
|
439
|
+ <if test="identification != null" >
|
|
|
440
|
+ identification,
|
|
|
441
|
+ </if>
|
|
|
442
|
+ <if test="khqyr != null" >
|
|
|
443
|
+ khqyr,
|
|
|
444
|
+ </if>
|
|
|
445
|
+ <if test="bfkhh != null" >
|
|
|
446
|
+ bfkhh,
|
|
|
447
|
+ </if>
|
|
|
448
|
+ <if test="bfzh != null" >
|
|
|
449
|
+ bfzh,
|
|
|
450
|
+ </if>
|
|
349
|
451
|
<if test="disputeSettlementMethod != null" >
|
|
350
|
452
|
dispute_settlement_method,
|
|
351
|
453
|
</if>
|
|
|
@@ -364,9 +466,6 @@
|
|
364
|
466
|
<if test="changing != null" >
|
|
365
|
467
|
changing,
|
|
366
|
468
|
</if>
|
|
367
|
|
- <if test="planBid != null" >
|
|
368
|
|
- plan_bid,
|
|
369
|
|
- </if>
|
|
370
|
469
|
<if test="auditState != null" >
|
|
371
|
470
|
audit_state,
|
|
372
|
471
|
</if>
|
|
|
@@ -406,28 +505,12 @@
|
|
406
|
505
|
<if test="createrId != null" >
|
|
407
|
506
|
creater_id,
|
|
408
|
507
|
</if>
|
|
409
|
|
- <if test="identification != null" >
|
|
410
|
|
- identification,
|
|
411
|
|
- </if>
|
|
412
|
508
|
<if test="updatetime != null" >
|
|
413
|
509
|
updatetime,
|
|
414
|
510
|
</if>
|
|
415
|
|
- <if test="qddd != null" >
|
|
416
|
|
- qddd,
|
|
|
511
|
+ <if test="attachment != null" >
|
|
|
512
|
+ attachment,
|
|
417
|
513
|
</if>
|
|
418
|
|
- <if test="lybzj != null" >
|
|
419
|
|
- lybzj,
|
|
420
|
|
- </if>
|
|
421
|
|
- <if test="khqyr != null" >
|
|
422
|
|
- khqyr,
|
|
423
|
|
- </if>
|
|
424
|
|
- <if test="bfkhh != null" >
|
|
425
|
|
- bfkhh,
|
|
426
|
|
- </if>
|
|
427
|
|
- <if test="bfzh != null" >
|
|
428
|
|
- bfzh,
|
|
429
|
|
- </if>
|
|
430
|
|
-
|
|
431
|
514
|
</trim>
|
|
432
|
515
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
433
|
516
|
<if test="id != null" >
|
|
|
@@ -436,42 +519,69 @@
|
|
436
|
519
|
<if test="contractNumber != null" >
|
|
437
|
520
|
#{contractNumber,jdbcType=VARCHAR},
|
|
438
|
521
|
</if>
|
|
|
522
|
+ <if test="planBid != null" >
|
|
|
523
|
+ #{planBid,jdbcType=INTEGER},
|
|
|
524
|
+ </if>
|
|
439
|
525
|
<if test="contractTitle != null" >
|
|
440
|
526
|
#{contractTitle,jdbcType=VARCHAR},
|
|
441
|
527
|
</if>
|
|
442
|
|
- <if test="customerId != null" >
|
|
443
|
|
- #{customerId,jdbcType=VARCHAR},
|
|
|
528
|
+ <if test="contractType != null" >
|
|
|
529
|
+ #{contractType,jdbcType=INTEGER},
|
|
|
530
|
+ </if>
|
|
|
531
|
+ <if test="signingTime != null" >
|
|
|
532
|
+ #{signingTime,jdbcType=DATE},
|
|
|
533
|
+ </if>
|
|
|
534
|
+ <if test="qddd != null" >
|
|
|
535
|
+ #{qddd,jdbcType=VARCHAR},
|
|
|
536
|
+ </if>
|
|
|
537
|
+ <if test="moneyQuantity != null" >
|
|
|
538
|
+ #{moneyQuantity,jdbcType=VARCHAR},
|
|
|
539
|
+ </if>
|
|
|
540
|
+ <if test="lybzj != null" >
|
|
|
541
|
+ #{lybzj,jdbcType=VARCHAR},
|
|
444
|
542
|
</if>
|
|
445
|
543
|
<if test="customerBid != null" >
|
|
446
|
544
|
#{customerBid,jdbcType=INTEGER},
|
|
447
|
545
|
</if>
|
|
|
546
|
+ <if test="grainQuantity != null" >
|
|
|
547
|
+ #{grainQuantity,jdbcType=DECIMAL},
|
|
|
548
|
+ </if>
|
|
|
549
|
+ <if test="customerId != null" >
|
|
|
550
|
+ #{customerId,jdbcType=VARCHAR},
|
|
|
551
|
+ </if>
|
|
448
|
552
|
<if test="customerNumber != null" >
|
|
449
|
553
|
#{customerNumber,jdbcType=VARCHAR},
|
|
450
|
554
|
</if>
|
|
451
|
555
|
<if test="customerName != null" >
|
|
452
|
556
|
#{customerName,jdbcType=VARCHAR},
|
|
453
|
557
|
</if>
|
|
454
|
|
- <if test="grainQuantity != null" >
|
|
455
|
|
- #{grainQuantity,jdbcType=VARCHAR},
|
|
456
|
|
- </if>
|
|
457
|
|
- <if test="moneyQuantity != null" >
|
|
458
|
|
- #{moneyQuantity,jdbcType=VARCHAR},
|
|
459
|
|
- </if>
|
|
460
|
558
|
<if test="signingMan != null" >
|
|
461
|
559
|
#{signingMan,jdbcType=VARCHAR},
|
|
462
|
560
|
</if>
|
|
463
|
|
- <if test="signingTime != null" >
|
|
464
|
|
- #{signingTime,jdbcType=TIMESTAMP},
|
|
465
|
|
- </if>
|
|
466
|
561
|
<if test="enableDate != null" >
|
|
467
|
562
|
#{enableDate,jdbcType=TIMESTAMP},
|
|
468
|
563
|
</if>
|
|
|
564
|
+ <if test="performanceQuantity != null" >
|
|
|
565
|
+ #{performanceQuantity,jdbcType=DECIMAL},
|
|
|
566
|
+ </if>
|
|
|
567
|
+ <if test="performanceRate != null" >
|
|
|
568
|
+ #{performanceRate,jdbcType=DECIMAL},
|
|
|
569
|
+ </if>
|
|
|
570
|
+ <if test="settleContractUniformity != null" >
|
|
|
571
|
+ #{settleContractUniformity,jdbcType=TINYINT},
|
|
|
572
|
+ </if>
|
|
|
573
|
+ <if test="settleContractUniformityReason != null" >
|
|
|
574
|
+ #{settleContractUniformityReason,jdbcType=VARCHAR},
|
|
|
575
|
+ </if>
|
|
|
576
|
+ <if test="signCompleTime != null" >
|
|
|
577
|
+ #{signCompleTime,jdbcType=TIMESTAMP},
|
|
|
578
|
+ </if>
|
|
|
579
|
+ <if test="purchaseUnit != null" >
|
|
|
580
|
+ #{purchaseUnit,jdbcType=VARCHAR},
|
|
|
581
|
+ </if>
|
|
469
|
582
|
<if test="disableDate != null" >
|
|
470
|
583
|
#{disableDate,jdbcType=TIMESTAMP},
|
|
471
|
584
|
</if>
|
|
472
|
|
- <if test="contractType != null" >
|
|
473
|
|
- #{contractType,jdbcType=INTEGER},
|
|
474
|
|
- </if>
|
|
475
|
585
|
<if test="originalContract != null" >
|
|
476
|
586
|
#{originalContract,jdbcType=VARCHAR},
|
|
477
|
587
|
</if>
|
|
|
@@ -520,6 +630,18 @@
|
|
520
|
630
|
<if test="dissolutionConditions != null" >
|
|
521
|
631
|
#{dissolutionConditions,jdbcType=VARCHAR},
|
|
522
|
632
|
</if>
|
|
|
633
|
+ <if test="identification != null" >
|
|
|
634
|
+ #{identification,jdbcType=VARCHAR},
|
|
|
635
|
+ </if>
|
|
|
636
|
+ <if test="khqyr != null" >
|
|
|
637
|
+ #{khqyr,jdbcType=VARCHAR},
|
|
|
638
|
+ </if>
|
|
|
639
|
+ <if test="bfkhh != null" >
|
|
|
640
|
+ #{bfkhh,jdbcType=VARCHAR},
|
|
|
641
|
+ </if>
|
|
|
642
|
+ <if test="bfzh != null" >
|
|
|
643
|
+ #{bfzh,jdbcType=VARCHAR},
|
|
|
644
|
+ </if>
|
|
523
|
645
|
<if test="disputeSettlementMethod != null" >
|
|
524
|
646
|
#{disputeSettlementMethod,jdbcType=VARCHAR},
|
|
525
|
647
|
</if>
|
|
|
@@ -538,9 +660,6 @@
|
|
538
|
660
|
<if test="changing != null" >
|
|
539
|
661
|
#{changing,jdbcType=VARCHAR},
|
|
540
|
662
|
</if>
|
|
541
|
|
- <if test="planBid != null" >
|
|
542
|
|
- #{planBid,jdbcType=INTEGER},
|
|
543
|
|
- </if>
|
|
544
|
663
|
<if test="auditState != null" >
|
|
545
|
664
|
#{auditState,jdbcType=VARCHAR},
|
|
546
|
665
|
</if>
|
|
|
@@ -580,28 +699,12 @@
|
|
580
|
699
|
<if test="createrId != null" >
|
|
581
|
700
|
#{createrId,jdbcType=INTEGER},
|
|
582
|
701
|
</if>
|
|
583
|
|
- <if test="identification != null" >
|
|
584
|
|
- #{identification,jdbcType=VARCHAR},
|
|
585
|
|
- </if>
|
|
586
|
702
|
<if test="updatetime != null" >
|
|
587
|
703
|
#{updatetime,jdbcType=TIMESTAMP},
|
|
588
|
704
|
</if>
|
|
589
|
|
- <if test="qddd != null" >
|
|
590
|
|
- #{qddd,jdbcType=VARCHAR},
|
|
591
|
|
- </if>
|
|
592
|
|
- <if test="lybzj != null" >
|
|
593
|
|
- #{lybzj,jdbcType=VARCHAR},
|
|
594
|
|
- </if>
|
|
595
|
|
- <if test="khqyr != null" >
|
|
596
|
|
- #{khqyr,jdbcType=VARCHAR},
|
|
597
|
|
- </if>
|
|
598
|
|
- <if test="bfkhh != null" >
|
|
599
|
|
- #{bfkhh,jdbcType=VARCHAR},
|
|
600
|
|
- </if>
|
|
601
|
|
- <if test="bfzh != null" >
|
|
602
|
|
- #{bfzh,jdbcType=VARCHAR},
|
|
|
705
|
+ <if test="attachment != null" >
|
|
|
706
|
+ #{attachment,jdbcType=VARCHAR},
|
|
603
|
707
|
</if>
|
|
604
|
|
-
|
|
605
|
708
|
</trim>
|
|
606
|
709
|
</insert>
|
|
607
|
710
|
<select id="countByExample" parameterType="com.chinaitop.depot.business.model.BusinessContractExample" resultType="java.lang.Integer" >
|
|
|
@@ -616,11 +719,6 @@
|
|
616
|
719
|
</if>
|
|
617
|
720
|
</select>
|
|
618
|
721
|
<update id="updateByExampleSelective" parameterType="map" >
|
|
619
|
|
- <!--
|
|
620
|
|
- WARNING - @mbggenerated
|
|
621
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
622
|
|
- This element was generated on Mon Jun 29 19:30:27 CST 2020.
|
|
623
|
|
- -->
|
|
624
|
722
|
update business_contract
|
|
625
|
723
|
<set >
|
|
626
|
724
|
<if test="record.id != null" >
|
|
|
@@ -629,42 +727,69 @@
|
|
629
|
727
|
<if test="record.contractNumber != null" >
|
|
630
|
728
|
contract_number = #{record.contractNumber,jdbcType=VARCHAR},
|
|
631
|
729
|
</if>
|
|
|
730
|
+ <if test="record.planBid != null" >
|
|
|
731
|
+ plan_bid = #{record.planBid,jdbcType=INTEGER},
|
|
|
732
|
+ </if>
|
|
632
|
733
|
<if test="record.contractTitle != null" >
|
|
633
|
734
|
contract_title = #{record.contractTitle,jdbcType=VARCHAR},
|
|
634
|
735
|
</if>
|
|
635
|
|
- <if test="record.customerId != null" >
|
|
636
|
|
- customer_id = #{record.customerId,jdbcType=VARCHAR},
|
|
|
736
|
+ <if test="record.contractType != null" >
|
|
|
737
|
+ contract_type = #{record.contractType,jdbcType=INTEGER},
|
|
|
738
|
+ </if>
|
|
|
739
|
+ <if test="record.signingTime != null" >
|
|
|
740
|
+ signing_time = #{record.signingTime,jdbcType=DATE},
|
|
|
741
|
+ </if>
|
|
|
742
|
+ <if test="record.qddd != null" >
|
|
|
743
|
+ qddd = #{record.qddd,jdbcType=VARCHAR},
|
|
|
744
|
+ </if>
|
|
|
745
|
+ <if test="record.moneyQuantity != null" >
|
|
|
746
|
+ money_quantity = #{record.moneyQuantity,jdbcType=VARCHAR},
|
|
|
747
|
+ </if>
|
|
|
748
|
+ <if test="record.lybzj != null" >
|
|
|
749
|
+ lybzj = #{record.lybzj,jdbcType=VARCHAR},
|
|
637
|
750
|
</if>
|
|
638
|
751
|
<if test="record.customerBid != null" >
|
|
639
|
752
|
customer_bid = #{record.customerBid,jdbcType=INTEGER},
|
|
640
|
753
|
</if>
|
|
|
754
|
+ <if test="record.grainQuantity != null" >
|
|
|
755
|
+ grain_quantity = #{record.grainQuantity,jdbcType=DECIMAL},
|
|
|
756
|
+ </if>
|
|
|
757
|
+ <if test="record.customerId != null" >
|
|
|
758
|
+ customer_id = #{record.customerId,jdbcType=VARCHAR},
|
|
|
759
|
+ </if>
|
|
641
|
760
|
<if test="record.customerNumber != null" >
|
|
642
|
761
|
customer_number = #{record.customerNumber,jdbcType=VARCHAR},
|
|
643
|
762
|
</if>
|
|
644
|
763
|
<if test="record.customerName != null" >
|
|
645
|
764
|
customer_name = #{record.customerName,jdbcType=VARCHAR},
|
|
646
|
765
|
</if>
|
|
647
|
|
- <if test="record.grainQuantity != null" >
|
|
648
|
|
- grain_quantity = #{record.grainQuantity,jdbcType=VARCHAR},
|
|
649
|
|
- </if>
|
|
650
|
|
- <if test="record.moneyQuantity != null" >
|
|
651
|
|
- money_quantity = #{record.moneyQuantity,jdbcType=VARCHAR},
|
|
652
|
|
- </if>
|
|
653
|
766
|
<if test="record.signingMan != null" >
|
|
654
|
767
|
signing_man = #{record.signingMan,jdbcType=VARCHAR},
|
|
655
|
768
|
</if>
|
|
656
|
|
- <if test="record.signingTime != null" >
|
|
657
|
|
- signing_time = #{record.signingTime,jdbcType=TIMESTAMP},
|
|
658
|
|
- </if>
|
|
659
|
769
|
<if test="record.enableDate != null" >
|
|
660
|
770
|
enable_date = #{record.enableDate,jdbcType=TIMESTAMP},
|
|
661
|
771
|
</if>
|
|
|
772
|
+ <if test="record.performanceQuantity != null" >
|
|
|
773
|
+ performance_quantity = #{record.performanceQuantity,jdbcType=DECIMAL},
|
|
|
774
|
+ </if>
|
|
|
775
|
+ <if test="record.performanceRate != null" >
|
|
|
776
|
+ performance_rate = #{record.performanceRate,jdbcType=DECIMAL},
|
|
|
777
|
+ </if>
|
|
|
778
|
+ <if test="record.settleContractUniformity != null" >
|
|
|
779
|
+ settle_contract_uniformity = #{record.settleContractUniformity,jdbcType=TINYINT},
|
|
|
780
|
+ </if>
|
|
|
781
|
+ <if test="record.settleContractUniformityReason != null" >
|
|
|
782
|
+ settle_contract_uniformity_reason = #{record.settleContractUniformityReason,jdbcType=VARCHAR},
|
|
|
783
|
+ </if>
|
|
|
784
|
+ <if test="record.signCompleTime != null" >
|
|
|
785
|
+ sign_comple_time = #{record.signCompleTime,jdbcType=TIMESTAMP},
|
|
|
786
|
+ </if>
|
|
|
787
|
+ <if test="record.purchaseUnit != null" >
|
|
|
788
|
+ purchase_unit = #{record.purchaseUnit,jdbcType=VARCHAR},
|
|
|
789
|
+ </if>
|
|
662
|
790
|
<if test="record.disableDate != null" >
|
|
663
|
791
|
disable_date = #{record.disableDate,jdbcType=TIMESTAMP},
|
|
664
|
792
|
</if>
|
|
665
|
|
- <if test="record.contractType != null" >
|
|
666
|
|
- contract_type = #{record.contractType,jdbcType=INTEGER},
|
|
667
|
|
- </if>
|
|
668
|
793
|
<if test="record.originalContract != null" >
|
|
669
|
794
|
original_contract = #{record.originalContract,jdbcType=VARCHAR},
|
|
670
|
795
|
</if>
|
|
|
@@ -713,6 +838,18 @@
|
|
713
|
838
|
<if test="record.dissolutionConditions != null" >
|
|
714
|
839
|
dissolution_conditions = #{record.dissolutionConditions,jdbcType=VARCHAR},
|
|
715
|
840
|
</if>
|
|
|
841
|
+ <if test="record.identification != null" >
|
|
|
842
|
+ identification = #{record.identification,jdbcType=VARCHAR},
|
|
|
843
|
+ </if>
|
|
|
844
|
+ <if test="record.khqyr != null" >
|
|
|
845
|
+ khqyr = #{record.khqyr,jdbcType=VARCHAR},
|
|
|
846
|
+ </if>
|
|
|
847
|
+ <if test="record.bfkhh != null" >
|
|
|
848
|
+ bfkhh = #{record.bfkhh,jdbcType=VARCHAR},
|
|
|
849
|
+ </if>
|
|
|
850
|
+ <if test="record.bfzh != null" >
|
|
|
851
|
+ bfzh = #{record.bfzh,jdbcType=VARCHAR},
|
|
|
852
|
+ </if>
|
|
716
|
853
|
<if test="record.disputeSettlementMethod != null" >
|
|
717
|
854
|
dispute_settlement_method = #{record.disputeSettlementMethod,jdbcType=VARCHAR},
|
|
718
|
855
|
</if>
|
|
|
@@ -731,9 +868,6 @@
|
|
731
|
868
|
<if test="record.changing != null" >
|
|
732
|
869
|
changing = #{record.changing,jdbcType=VARCHAR},
|
|
733
|
870
|
</if>
|
|
734
|
|
- <if test="record.planBid != null" >
|
|
735
|
|
- plan_bid = #{record.planBid,jdbcType=INTEGER},
|
|
736
|
|
- </if>
|
|
737
|
871
|
<if test="record.auditState != null" >
|
|
738
|
872
|
audit_state = #{record.auditState,jdbcType=VARCHAR},
|
|
739
|
873
|
</if>
|
|
|
@@ -773,54 +907,42 @@
|
|
773
|
907
|
<if test="record.createrId != null" >
|
|
774
|
908
|
creater_id = #{record.createrId,jdbcType=INTEGER},
|
|
775
|
909
|
</if>
|
|
776
|
|
- <if test="record.identification != null" >
|
|
777
|
|
- identification = #{record.identification,jdbcType=VARCHAR},
|
|
778
|
|
- </if>
|
|
779
|
910
|
<if test="record.updatetime != null" >
|
|
780
|
911
|
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
|
781
|
912
|
</if>
|
|
782
|
|
- <if test="record.qddd != null" >
|
|
783
|
|
- qddd = #{record.qddd,jdbcType=VARCHAR},
|
|
|
913
|
+ <if test="record.attachment != null" >
|
|
|
914
|
+ attachment = #{record.attachment,jdbcType=VARCHAR},
|
|
784
|
915
|
</if>
|
|
785
|
|
- <if test="record.lybzj != null" >
|
|
786
|
|
- lybzj = #{record.lybzj,jdbcType=VARCHAR},
|
|
787
|
|
- </if>
|
|
788
|
|
- <if test="record.khqyr != null" >
|
|
789
|
|
- khqyr = #{record.khqyr,jdbcType=VARCHAR},
|
|
790
|
|
- </if>
|
|
791
|
|
- <if test="record.bfkhh != null" >
|
|
792
|
|
- bfkhh = #{record.bfkhh,jdbcType=VARCHAR},
|
|
793
|
|
- </if>
|
|
794
|
|
- <if test="record.bfzh != null" >
|
|
795
|
|
- bfzh = #{record.bfzh,jdbcType=VARCHAR},
|
|
796
|
|
- </if>
|
|
797
|
|
-
|
|
798
|
916
|
</set>
|
|
799
|
917
|
<if test="_parameter != null" >
|
|
800
|
918
|
<include refid="Update_By_Example_Where_Clause" />
|
|
801
|
919
|
</if>
|
|
802
|
920
|
</update>
|
|
803
|
921
|
<update id="updateByExample" parameterType="map" >
|
|
804
|
|
- <!--
|
|
805
|
|
- WARNING - @mbggenerated
|
|
806
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
807
|
|
- This element was generated on Mon Jun 29 19:30:27 CST 2020.
|
|
808
|
|
- -->
|
|
809
|
922
|
update business_contract
|
|
810
|
923
|
set id = #{record.id,jdbcType=INTEGER},
|
|
811
|
924
|
contract_number = #{record.contractNumber,jdbcType=VARCHAR},
|
|
|
925
|
+ plan_bid = #{record.planBid,jdbcType=INTEGER},
|
|
812
|
926
|
contract_title = #{record.contractTitle,jdbcType=VARCHAR},
|
|
813
|
|
- customer_id = #{record.customerId,jdbcType=VARCHAR},
|
|
|
927
|
+ contract_type = #{record.contractType,jdbcType=INTEGER},
|
|
|
928
|
+ signing_time = #{record.signingTime,jdbcType=DATE},
|
|
|
929
|
+ qddd = #{record.qddd,jdbcType=VARCHAR},
|
|
|
930
|
+ money_quantity = #{record.moneyQuantity,jdbcType=VARCHAR},
|
|
|
931
|
+ lybzj = #{record.lybzj,jdbcType=VARCHAR},
|
|
814
|
932
|
customer_bid = #{record.customerBid,jdbcType=INTEGER},
|
|
|
933
|
+ grain_quantity = #{record.grainQuantity,jdbcType=DECIMAL},
|
|
|
934
|
+ customer_id = #{record.customerId,jdbcType=VARCHAR},
|
|
815
|
935
|
customer_number = #{record.customerNumber,jdbcType=VARCHAR},
|
|
816
|
936
|
customer_name = #{record.customerName,jdbcType=VARCHAR},
|
|
817
|
|
- grain_quantity = #{record.grainQuantity,jdbcType=VARCHAR},
|
|
818
|
|
- money_quantity = #{record.moneyQuantity,jdbcType=VARCHAR},
|
|
819
|
937
|
signing_man = #{record.signingMan,jdbcType=VARCHAR},
|
|
820
|
|
- signing_time = #{record.signingTime,jdbcType=TIMESTAMP},
|
|
821
|
938
|
enable_date = #{record.enableDate,jdbcType=TIMESTAMP},
|
|
|
939
|
+ performance_quantity = #{record.performanceQuantity,jdbcType=DECIMAL},
|
|
|
940
|
+ performance_rate = #{record.performanceRate,jdbcType=DECIMAL},
|
|
|
941
|
+ settle_contract_uniformity = #{record.settleContractUniformity,jdbcType=TINYINT},
|
|
|
942
|
+ settle_contract_uniformity_reason = #{record.settleContractUniformityReason,jdbcType=VARCHAR},
|
|
|
943
|
+ sign_comple_time = #{record.signCompleTime,jdbcType=TIMESTAMP},
|
|
|
944
|
+ purchase_unit = #{record.purchaseUnit,jdbcType=VARCHAR},
|
|
822
|
945
|
disable_date = #{record.disableDate,jdbcType=TIMESTAMP},
|
|
823
|
|
- contract_type = #{record.contractType,jdbcType=INTEGER},
|
|
824
|
946
|
original_contract = #{record.originalContract,jdbcType=VARCHAR},
|
|
825
|
947
|
original_contract_bid = #{record.originalContractBid,jdbcType=INTEGER},
|
|
826
|
948
|
root_contract_bid = #{record.rootContractBid,jdbcType=INTEGER},
|
|
|
@@ -837,13 +959,16 @@
|
|
837
|
959
|
account_number = #{record.accountNumber,jdbcType=VARCHAR},
|
|
838
|
960
|
breach_liability = #{record.breachLiability,jdbcType=VARCHAR},
|
|
839
|
961
|
dissolution_conditions = #{record.dissolutionConditions,jdbcType=VARCHAR},
|
|
|
962
|
+ identification = #{record.identification,jdbcType=VARCHAR},
|
|
|
963
|
+ khqyr = #{record.khqyr,jdbcType=VARCHAR},
|
|
|
964
|
+ bfkhh = #{record.bfkhh,jdbcType=VARCHAR},
|
|
|
965
|
+ bfzh = #{record.bfzh,jdbcType=VARCHAR},
|
|
840
|
966
|
dispute_settlement_method = #{record.disputeSettlementMethod,jdbcType=VARCHAR},
|
|
841
|
967
|
change_record_flag = #{record.changeRecordFlag,jdbcType=VARCHAR},
|
|
842
|
968
|
change_reason = #{record.changeReason,jdbcType=VARCHAR},
|
|
843
|
969
|
change_time = #{record.changeTime,jdbcType=TIMESTAMP},
|
|
844
|
970
|
change_content = #{record.changeContent,jdbcType=VARCHAR},
|
|
845
|
971
|
changing = #{record.changing,jdbcType=VARCHAR},
|
|
846
|
|
- plan_bid = #{record.planBid,jdbcType=INTEGER},
|
|
847
|
972
|
audit_state = #{record.auditState,jdbcType=VARCHAR},
|
|
848
|
973
|
process_instance_id = #{record.processInstanceId,jdbcType=VARCHAR},
|
|
849
|
974
|
process_definition_id = #{record.processDefinitionId,jdbcType=VARCHAR},
|
|
|
@@ -857,65 +982,81 @@
|
|
857
|
982
|
org_id = #{record.orgId,jdbcType=INTEGER},
|
|
858
|
983
|
in_application = #{record.inApplication,jdbcType=INTEGER},
|
|
859
|
984
|
creater_id = #{record.createrId,jdbcType=INTEGER},
|
|
860
|
|
- identification = #{record.identification,jdbcType=VARCHAR},
|
|
861
|
985
|
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
|
862
|
|
- qddd = #{record.qddd,jdbcType=VARCHAR},
|
|
863
|
|
- lybzj = #{record.lybzj,jdbcType=VARCHAR},
|
|
864
|
|
- khqyr = #{record.khqyr,jdbcType=VARCHAR},
|
|
865
|
|
- bfkhh = #{record.bfkhh,jdbcType=VARCHAR},
|
|
866
|
|
- bfzh = #{record.bfzh,jdbcType=VARCHAR}
|
|
867
|
|
-
|
|
|
986
|
+ attachment = #{record.attachment,jdbcType=VARCHAR}
|
|
868
|
987
|
<if test="_parameter != null" >
|
|
869
|
988
|
<include refid="Update_By_Example_Where_Clause" />
|
|
870
|
989
|
</if>
|
|
871
|
990
|
</update>
|
|
872
|
991
|
<update id="updateByPrimaryKeySelective" parameterType="com.chinaitop.depot.business.model.BusinessContract" >
|
|
873
|
|
- <!--
|
|
874
|
|
- WARNING - @mbggenerated
|
|
875
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
876
|
|
- This element was generated on Mon Jun 29 19:30:27 CST 2020.
|
|
877
|
|
- -->
|
|
878
|
992
|
update business_contract
|
|
879
|
993
|
<set >
|
|
880
|
994
|
<if test="contractNumber != null" >
|
|
881
|
995
|
contract_number = #{contractNumber,jdbcType=VARCHAR},
|
|
882
|
996
|
</if>
|
|
|
997
|
+ <if test="planBid != null" >
|
|
|
998
|
+ plan_bid = #{planBid,jdbcType=INTEGER},
|
|
|
999
|
+ </if>
|
|
883
|
1000
|
<if test="contractTitle != null" >
|
|
884
|
1001
|
contract_title = #{contractTitle,jdbcType=VARCHAR},
|
|
885
|
1002
|
</if>
|
|
886
|
|
- <if test="customerId != null" >
|
|
887
|
|
- customer_id = #{customerId,jdbcType=VARCHAR},
|
|
|
1003
|
+ <if test="contractType != null" >
|
|
|
1004
|
+ contract_type = #{contractType,jdbcType=INTEGER},
|
|
|
1005
|
+ </if>
|
|
|
1006
|
+ <if test="signingTime != null" >
|
|
|
1007
|
+ signing_time = #{signingTime,jdbcType=DATE},
|
|
|
1008
|
+ </if>
|
|
|
1009
|
+ <if test="qddd != null" >
|
|
|
1010
|
+ qddd = #{qddd,jdbcType=VARCHAR},
|
|
|
1011
|
+ </if>
|
|
|
1012
|
+ <if test="moneyQuantity != null" >
|
|
|
1013
|
+ money_quantity = #{moneyQuantity,jdbcType=VARCHAR},
|
|
|
1014
|
+ </if>
|
|
|
1015
|
+ <if test="lybzj != null" >
|
|
|
1016
|
+ lybzj = #{lybzj,jdbcType=VARCHAR},
|
|
888
|
1017
|
</if>
|
|
889
|
1018
|
<if test="customerBid != null" >
|
|
890
|
1019
|
customer_bid = #{customerBid,jdbcType=INTEGER},
|
|
891
|
1020
|
</if>
|
|
|
1021
|
+ <if test="grainQuantity != null" >
|
|
|
1022
|
+ grain_quantity = #{grainQuantity,jdbcType=DECIMAL},
|
|
|
1023
|
+ </if>
|
|
|
1024
|
+ <if test="customerId != null" >
|
|
|
1025
|
+ customer_id = #{customerId,jdbcType=VARCHAR},
|
|
|
1026
|
+ </if>
|
|
892
|
1027
|
<if test="customerNumber != null" >
|
|
893
|
1028
|
customer_number = #{customerNumber,jdbcType=VARCHAR},
|
|
894
|
1029
|
</if>
|
|
895
|
1030
|
<if test="customerName != null" >
|
|
896
|
1031
|
customer_name = #{customerName,jdbcType=VARCHAR},
|
|
897
|
1032
|
</if>
|
|
898
|
|
- <if test="grainQuantity != null" >
|
|
899
|
|
- grain_quantity = #{grainQuantity,jdbcType=VARCHAR},
|
|
900
|
|
- </if>
|
|
901
|
|
- <if test="moneyQuantity != null" >
|
|
902
|
|
- money_quantity = #{moneyQuantity,jdbcType=VARCHAR},
|
|
903
|
|
- </if>
|
|
904
|
1033
|
<if test="signingMan != null" >
|
|
905
|
1034
|
signing_man = #{signingMan,jdbcType=VARCHAR},
|
|
906
|
1035
|
</if>
|
|
907
|
|
- <if test="signingTime != null" >
|
|
908
|
|
- signing_time = #{signingTime,jdbcType=TIMESTAMP},
|
|
909
|
|
- </if>
|
|
910
|
1036
|
<if test="enableDate != null" >
|
|
911
|
1037
|
enable_date = #{enableDate,jdbcType=TIMESTAMP},
|
|
912
|
1038
|
</if>
|
|
|
1039
|
+ <if test="performanceQuantity != null" >
|
|
|
1040
|
+ performance_quantity = #{performanceQuantity,jdbcType=DECIMAL},
|
|
|
1041
|
+ </if>
|
|
|
1042
|
+ <if test="performanceRate != null" >
|
|
|
1043
|
+ performance_rate = #{performanceRate,jdbcType=DECIMAL},
|
|
|
1044
|
+ </if>
|
|
|
1045
|
+ <if test="settleContractUniformity != null" >
|
|
|
1046
|
+ settle_contract_uniformity = #{settleContractUniformity,jdbcType=TINYINT},
|
|
|
1047
|
+ </if>
|
|
|
1048
|
+ <if test="settleContractUniformityReason != null" >
|
|
|
1049
|
+ settle_contract_uniformity_reason = #{settleContractUniformityReason,jdbcType=VARCHAR},
|
|
|
1050
|
+ </if>
|
|
|
1051
|
+ <if test="signCompleTime != null" >
|
|
|
1052
|
+ sign_comple_time = #{signCompleTime,jdbcType=TIMESTAMP},
|
|
|
1053
|
+ </if>
|
|
|
1054
|
+ <if test="purchaseUnit != null" >
|
|
|
1055
|
+ purchase_unit = #{purchaseUnit,jdbcType=VARCHAR},
|
|
|
1056
|
+ </if>
|
|
913
|
1057
|
<if test="disableDate != null" >
|
|
914
|
1058
|
disable_date = #{disableDate,jdbcType=TIMESTAMP},
|
|
915
|
1059
|
</if>
|
|
916
|
|
- <if test="contractType != null" >
|
|
917
|
|
- contract_type = #{contractType,jdbcType=INTEGER},
|
|
918
|
|
- </if>
|
|
919
|
1060
|
<if test="originalContract != null" >
|
|
920
|
1061
|
original_contract = #{originalContract,jdbcType=VARCHAR},
|
|
921
|
1062
|
</if>
|
|
|
@@ -964,6 +1105,18 @@
|
|
964
|
1105
|
<if test="dissolutionConditions != null" >
|
|
965
|
1106
|
dissolution_conditions = #{dissolutionConditions,jdbcType=VARCHAR},
|
|
966
|
1107
|
</if>
|
|
|
1108
|
+ <if test="identification != null" >
|
|
|
1109
|
+ identification = #{identification,jdbcType=VARCHAR},
|
|
|
1110
|
+ </if>
|
|
|
1111
|
+ <if test="khqyr != null" >
|
|
|
1112
|
+ khqyr = #{khqyr,jdbcType=VARCHAR},
|
|
|
1113
|
+ </if>
|
|
|
1114
|
+ <if test="bfkhh != null" >
|
|
|
1115
|
+ bfkhh = #{bfkhh,jdbcType=VARCHAR},
|
|
|
1116
|
+ </if>
|
|
|
1117
|
+ <if test="bfzh != null" >
|
|
|
1118
|
+ bfzh = #{bfzh,jdbcType=VARCHAR},
|
|
|
1119
|
+ </if>
|
|
967
|
1120
|
<if test="disputeSettlementMethod != null" >
|
|
968
|
1121
|
dispute_settlement_method = #{disputeSettlementMethod,jdbcType=VARCHAR},
|
|
969
|
1122
|
</if>
|
|
|
@@ -982,9 +1135,6 @@
|
|
982
|
1135
|
<if test="changing != null" >
|
|
983
|
1136
|
changing = #{changing,jdbcType=VARCHAR},
|
|
984
|
1137
|
</if>
|
|
985
|
|
- <if test="planBid != null" >
|
|
986
|
|
- plan_bid = #{planBid,jdbcType=INTEGER},
|
|
987
|
|
- </if>
|
|
988
|
1138
|
<if test="auditState != null" >
|
|
989
|
1139
|
audit_state = #{auditState,jdbcType=VARCHAR},
|
|
990
|
1140
|
</if>
|
|
|
@@ -1024,51 +1174,39 @@
|
|
1024
|
1174
|
<if test="createrId != null" >
|
|
1025
|
1175
|
creater_id = #{createrId,jdbcType=INTEGER},
|
|
1026
|
1176
|
</if>
|
|
1027
|
|
- <if test="identification != null" >
|
|
1028
|
|
- identification = #{identification,jdbcType=VARCHAR},
|
|
1029
|
|
- </if>
|
|
1030
|
1177
|
<if test="updatetime != null" >
|
|
1031
|
1178
|
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
1032
|
1179
|
</if>
|
|
1033
|
|
- <if test="qddd != null" >
|
|
1034
|
|
- qddd = #{qddd,jdbcType=VARCHAR},
|
|
|
1180
|
+ <if test="attachment != null" >
|
|
|
1181
|
+ attachment = #{attachment,jdbcType=VARCHAR},
|
|
1035
|
1182
|
</if>
|
|
1036
|
|
- <if test="lybzj != null" >
|
|
1037
|
|
- lybzj = #{lybzj,jdbcType=VARCHAR},
|
|
1038
|
|
- </if>
|
|
1039
|
|
- <if test="khqyr != null" >
|
|
1040
|
|
- khqyr = #{khqyr,jdbcType=VARCHAR},
|
|
1041
|
|
- </if>
|
|
1042
|
|
- <if test="bfkhh != null" >
|
|
1043
|
|
- bfkhh = #{bfkhh,jdbcType=VARCHAR},
|
|
1044
|
|
- </if>
|
|
1045
|
|
- <if test="bfzh != null" >
|
|
1046
|
|
- bfzh = #{bfzh,jdbcType=VARCHAR},
|
|
1047
|
|
- </if>
|
|
1048
|
|
-
|
|
1049
|
1183
|
</set>
|
|
1050
|
1184
|
where id = #{id,jdbcType=INTEGER}
|
|
1051
|
1185
|
</update>
|
|
1052
|
1186
|
<update id="updateByPrimaryKey" parameterType="com.chinaitop.depot.business.model.BusinessContract" >
|
|
1053
|
|
- <!--
|
|
1054
|
|
- WARNING - @mbggenerated
|
|
1055
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
1056
|
|
- This element was generated on Mon Jun 29 19:30:27 CST 2020.
|
|
1057
|
|
- -->
|
|
1058
|
1187
|
update business_contract
|
|
1059
|
1188
|
set contract_number = #{contractNumber,jdbcType=VARCHAR},
|
|
|
1189
|
+ plan_bid = #{planBid,jdbcType=INTEGER},
|
|
1060
|
1190
|
contract_title = #{contractTitle,jdbcType=VARCHAR},
|
|
1061
|
|
- customer_id = #{customerId,jdbcType=VARCHAR},
|
|
|
1191
|
+ contract_type = #{contractType,jdbcType=INTEGER},
|
|
|
1192
|
+ signing_time = #{signingTime,jdbcType=DATE},
|
|
|
1193
|
+ qddd = #{qddd,jdbcType=VARCHAR},
|
|
|
1194
|
+ money_quantity = #{moneyQuantity,jdbcType=VARCHAR},
|
|
|
1195
|
+ lybzj = #{lybzj,jdbcType=VARCHAR},
|
|
1062
|
1196
|
customer_bid = #{customerBid,jdbcType=INTEGER},
|
|
|
1197
|
+ grain_quantity = #{grainQuantity,jdbcType=DECIMAL},
|
|
|
1198
|
+ customer_id = #{customerId,jdbcType=VARCHAR},
|
|
1063
|
1199
|
customer_number = #{customerNumber,jdbcType=VARCHAR},
|
|
1064
|
1200
|
customer_name = #{customerName,jdbcType=VARCHAR},
|
|
1065
|
|
- grain_quantity = #{grainQuantity,jdbcType=VARCHAR},
|
|
1066
|
|
- money_quantity = #{moneyQuantity,jdbcType=VARCHAR},
|
|
1067
|
1201
|
signing_man = #{signingMan,jdbcType=VARCHAR},
|
|
1068
|
|
- signing_time = #{signingTime,jdbcType=TIMESTAMP},
|
|
1069
|
1202
|
enable_date = #{enableDate,jdbcType=TIMESTAMP},
|
|
|
1203
|
+ performance_quantity = #{performanceQuantity,jdbcType=DECIMAL},
|
|
|
1204
|
+ performance_rate = #{performanceRate,jdbcType=DECIMAL},
|
|
|
1205
|
+ settle_contract_uniformity = #{settleContractUniformity,jdbcType=TINYINT},
|
|
|
1206
|
+ settle_contract_uniformity_reason = #{settleContractUniformityReason,jdbcType=VARCHAR},
|
|
|
1207
|
+ sign_comple_time = #{signCompleTime,jdbcType=TIMESTAMP},
|
|
|
1208
|
+ purchase_unit = #{purchaseUnit,jdbcType=VARCHAR},
|
|
1070
|
1209
|
disable_date = #{disableDate,jdbcType=TIMESTAMP},
|
|
1071
|
|
- contract_type = #{contractType,jdbcType=INTEGER},
|
|
1072
|
1210
|
original_contract = #{originalContract,jdbcType=VARCHAR},
|
|
1073
|
1211
|
original_contract_bid = #{originalContractBid,jdbcType=INTEGER},
|
|
1074
|
1212
|
root_contract_bid = #{rootContractBid,jdbcType=INTEGER},
|
|
|
@@ -1085,13 +1223,16 @@
|
|
1085
|
1223
|
account_number = #{accountNumber,jdbcType=VARCHAR},
|
|
1086
|
1224
|
breach_liability = #{breachLiability,jdbcType=VARCHAR},
|
|
1087
|
1225
|
dissolution_conditions = #{dissolutionConditions,jdbcType=VARCHAR},
|
|
|
1226
|
+ identification = #{identification,jdbcType=VARCHAR},
|
|
|
1227
|
+ khqyr = #{khqyr,jdbcType=VARCHAR},
|
|
|
1228
|
+ bfkhh = #{bfkhh,jdbcType=VARCHAR},
|
|
|
1229
|
+ bfzh = #{bfzh,jdbcType=VARCHAR},
|
|
1088
|
1230
|
dispute_settlement_method = #{disputeSettlementMethod,jdbcType=VARCHAR},
|
|
1089
|
1231
|
change_record_flag = #{changeRecordFlag,jdbcType=VARCHAR},
|
|
1090
|
1232
|
change_reason = #{changeReason,jdbcType=VARCHAR},
|
|
1091
|
1233
|
change_time = #{changeTime,jdbcType=TIMESTAMP},
|
|
1092
|
1234
|
change_content = #{changeContent,jdbcType=VARCHAR},
|
|
1093
|
1235
|
changing = #{changing,jdbcType=VARCHAR},
|
|
1094
|
|
- plan_bid = #{planBid,jdbcType=INTEGER},
|
|
1095
|
1236
|
audit_state = #{auditState,jdbcType=VARCHAR},
|
|
1096
|
1237
|
process_instance_id = #{processInstanceId,jdbcType=VARCHAR},
|
|
1097
|
1238
|
process_definition_id = #{processDefinitionId,jdbcType=VARCHAR},
|
|
|
@@ -1105,14 +1246,8 @@
|
|
1105
|
1246
|
org_id = #{orgId,jdbcType=INTEGER},
|
|
1106
|
1247
|
in_application = #{inApplication,jdbcType=INTEGER},
|
|
1107
|
1248
|
creater_id = #{createrId,jdbcType=INTEGER},
|
|
1108
|
|
- identification = #{identification,jdbcType=VARCHAR},
|
|
1109
|
1249
|
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
1110
|
|
- qddd = #{qddd,jdbcType=VARCHAR},
|
|
1111
|
|
- lybzj = #{lybzj,jdbcType=VARCHAR},
|
|
1112
|
|
- khqyr = #{khqyr,jdbcType=VARCHAR},
|
|
1113
|
|
- bfkhh = #{bfkhh,jdbcType=VARCHAR},
|
|
1114
|
|
- bfzh = #{bfzh,jdbcType=VARCHAR}
|
|
1115
|
|
-
|
|
|
1250
|
+ attachment = #{attachment,jdbcType=VARCHAR}
|
|
1116
|
1251
|
where id = #{id,jdbcType=INTEGER}
|
|
1117
|
1252
|
</update>
|
|
1118
|
1253
|
|