|
|
@@ -69,6 +69,7 @@
|
|
69
|
69
|
<result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" />
|
|
70
|
70
|
<result column="cfbm" jdbcType="VARCHAR" property="cfbm" />
|
|
71
|
71
|
<result column="ajbm" jdbcType="VARCHAR" property="ajbm" />
|
|
|
72
|
+ <result column="datatype" jdbcType="VARCHAR" property="datatype" />
|
|
72
|
73
|
</resultMap>
|
|
73
|
74
|
<sql id="Example_Where_Clause">
|
|
74
|
75
|
<where>
|
|
|
@@ -138,7 +139,8 @@
|
|
138
|
139
|
draftType, heatInsulationStep_roof, heatInsulationStep_window, grbwcs, nfszcc, ywfsfqfczz,
|
|
139
|
140
|
ywfhfbfdss, ywlqjcss, ywjxtfss, nfhlxzsc, nffddyqtcl, nfcwcc, actual_capacity, completion_date,
|
|
140
|
141
|
useDate, storehouse_state, store_way, currentType, dutyStoreman, remark, createName,
|
|
141
|
|
- createDate, updateName, updateDate, working_status, del_flag, library_type, updatetime, cfbm, ajbm
|
|
|
142
|
+ createDate, updateName, updateDate, working_status, del_flag, library_type, updatetime, cfbm, ajbm,
|
|
|
143
|
+ datatype
|
|
142
|
144
|
</sql>
|
|
143
|
145
|
<select id="selectByExample" parameterType="com.chinaitop.depot.basic.model.BasicStorehouseExample" resultMap="BaseResultMap">
|
|
144
|
146
|
select
|
|
|
@@ -193,7 +195,7 @@
|
|
193
|
195
|
dutyStoreman, remark, createName,
|
|
194
|
196
|
createDate, updateName, updateDate,
|
|
195
|
197
|
working_status, del_flag, library_type,
|
|
196
|
|
- updatetime, cfbm, ajbm)
|
|
|
198
|
+ updatetime, cfbm, ajbm, datatype)
|
|
197
|
199
|
values (#{storehouseId,jdbcType=INTEGER}, #{uuid,jdbcType=VARCHAR}, #{depotId,jdbcType=INTEGER},
|
|
198
|
200
|
#{depotName,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR},
|
|
199
|
201
|
#{storehouseCode,jdbcType=VARCHAR}, #{storehouseName,jdbcType=VARCHAR}, #{storehouseType,jdbcType=INTEGER},
|
|
|
@@ -216,7 +218,8 @@
|
|
216
|
218
|
#{dutystoreman,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createname,jdbcType=VARCHAR},
|
|
217
|
219
|
#{createdate,jdbcType=TIMESTAMP}, #{updatename,jdbcType=VARCHAR}, #{updatedate,jdbcType=TIMESTAMP},
|
|
218
|
220
|
#{workingStatus,jdbcType=INTEGER}, #{delFlag,jdbcType=INTEGER}, #{libraryType,jdbcType=VARCHAR},
|
|
219
|
|
- #{updatetime,jdbcType=TIMESTAMP}, #{cfbm,jdbcType=VARCHAR}, #{ajbm,jdbcType=VARCHAR})
|
|
|
221
|
+ #{updatetime,jdbcType=TIMESTAMP}, #{cfbm,jdbcType=VARCHAR}, #{ajbm,jdbcType=VARCHAR},
|
|
|
222
|
+ #{datatype,jdbcType=VARCHAR})
|
|
220
|
223
|
</insert>
|
|
221
|
224
|
<insert id="insertSelective" parameterType="com.chinaitop.depot.basic.model.BasicStorehouse" keyProperty="storehouseId" useGeneratedKeys="true">
|
|
222
|
225
|
insert into basic_storehouse
|
|
|
@@ -422,6 +425,9 @@
|
|
422
|
425
|
<if test="ajbm != null">
|
|
423
|
426
|
ajbm,
|
|
424
|
427
|
</if>
|
|
|
428
|
+ <if test="datatype != null">
|
|
|
429
|
+ datatype,
|
|
|
430
|
+ </if>
|
|
425
|
431
|
</trim>
|
|
426
|
432
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
427
|
433
|
<if test="storehouseId != null">
|
|
|
@@ -625,6 +631,9 @@
|
|
625
|
631
|
<if test="ajbm != null">
|
|
626
|
632
|
#{ajbm,jdbcType=VARCHAR},
|
|
627
|
633
|
</if>
|
|
|
634
|
+ <if test="datatype != null">
|
|
|
635
|
+ #{datatype,jdbcType=VARCHAR},
|
|
|
636
|
+ </if>
|
|
628
|
637
|
</trim>
|
|
629
|
638
|
</insert>
|
|
630
|
639
|
<select id="countByExample" parameterType="com.chinaitop.depot.basic.model.BasicStorehouseExample" resultType="java.lang.Integer">
|
|
|
@@ -837,6 +846,9 @@
|
|
837
|
846
|
<if test="record.ajbm != null">
|
|
838
|
847
|
ajbm = #{record.ajbm,jdbcType=VARCHAR},
|
|
839
|
848
|
</if>
|
|
|
849
|
+ <if test="record.datatype != null">
|
|
|
850
|
+ datatype = #{record.datatype,jdbcType=VARCHAR},
|
|
|
851
|
+ </if>
|
|
840
|
852
|
</set>
|
|
841
|
853
|
<if test="_parameter != null">
|
|
842
|
854
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -910,7 +922,8 @@
|
|
910
|
922
|
library_type = #{record.libraryType,jdbcType=VARCHAR},
|
|
911
|
923
|
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
|
912
|
924
|
cfbm = #{record.cfbm,jdbcType=VARCHAR},
|
|
913
|
|
- ajbm = #{record.ajbm,jdbcType=VARCHAR}
|
|
|
925
|
+ ajbm = #{record.ajbm,jdbcType=VARCHAR},
|
|
|
926
|
+ datatype = #{record.datatype,jdbcType=VARCHAR}
|
|
914
|
927
|
<if test="_parameter != null">
|
|
915
|
928
|
<include refid="Update_By_Example_Where_Clause" />
|
|
916
|
929
|
</if>
|
|
|
@@ -1111,11 +1124,14 @@
|
|
1111
|
1124
|
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
1112
|
1125
|
</if>
|
|
1113
|
1126
|
<if test="cfbm != null">
|
|
1114
|
|
- cfbm = #{datatype,cfbm=VARCHAR},
|
|
|
1127
|
+ cfbm = #{cfbm,jdbcType=VARCHAR},
|
|
1115
|
1128
|
</if>
|
|
1116
|
1129
|
<if test="ajbm != null">
|
|
1117
|
1130
|
ajbm = #{ajbm,jdbcType=VARCHAR},
|
|
1118
|
1131
|
</if>
|
|
|
1132
|
+ <if test="datatype != null">
|
|
|
1133
|
+ datatype = #{datatype,jdbcType=VARCHAR},
|
|
|
1134
|
+ </if>
|
|
1119
|
1135
|
</set>
|
|
1120
|
1136
|
where storehouse_id = #{storehouseId,jdbcType=INTEGER}
|
|
1121
|
1137
|
</update>
|
|
|
@@ -1186,7 +1202,8 @@
|
|
1186
|
1202
|
library_type = #{libraryType,jdbcType=VARCHAR},
|
|
1187
|
1203
|
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
1188
|
1204
|
cfbm = #{cfbm,jdbcType=VARCHAR},
|
|
1189
|
|
- ajbm = #{ajbm,jdbcType=VARCHAR}
|
|
|
1205
|
+ ajbm = #{ajbm,jdbcType=VARCHAR},
|
|
|
1206
|
+ datatype = #{datatype,jdbcType=VARCHAR}
|
|
1190
|
1207
|
where storehouse_id = #{storehouseId,jdbcType=INTEGER}
|
|
1191
|
1208
|
</update>
|
|
1192
|
1209
|
|