提交 | 用户 | 时间
|
d9cf6b
|
1 |
<?xml version="1.0" encoding="UTF-8" ?> |
J |
2 |
<!DOCTYPE mapper |
5030f3
|
3 |
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
Y |
4 |
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
d9cf6b
|
5 |
<mapper namespace="com.jcdm.main.bs.orderScheduling.mapper.BsOrderSchedulingMapper"> |
5030f3
|
6 |
|
d9cf6b
|
7 |
<resultMap type="BsOrderScheduling" id="BsOrderSchedulingResult"> |
2aea64
|
8 |
<result property="id" column="id" /> |
J |
9 |
<result property="orderNo" column="order_no" /> |
d9cf6b
|
10 |
<result property="engineNo" column="engine_no" /> |
J |
11 |
<result property="productType" column="product_type" /> |
|
12 |
<result property="model" column="model" /> |
|
13 |
<result property="productionStatus" column="production_status" /> |
|
14 |
<result property="workingHours" column="working_hours" /> |
|
15 |
<result property="currentWorkstation" column="current_workstation" /> |
|
16 |
<result property="qualityStatus" column="quality_status" /> |
|
17 |
<result property="whetherOrPrint" column="whether_or_print" /> |
|
18 |
<result property="report10" column="report_10" /> |
|
19 |
<result property="report20" column="report_20" /> |
2aea64
|
20 |
<result property="combinedBoxTime" column="combined_box_time" /> |
J |
21 |
<result property="finalAssemblyTime" column="final_assembly_time" /> |
d9cf6b
|
22 |
<result property="operator" column="operator" /> |
J |
23 |
<result property="operateTime" column="operate_time" /> |
2aea64
|
24 |
<result property="status" column="status" /> |
J |
25 |
<result property="spareField1" column="spare_field_1" /> |
|
26 |
<result property="spareField2" column="spare_field_2" /> |
|
27 |
<result property="spareField3" column="spare_field_3" /> |
|
28 |
<result property="spareField4" column="spare_field_4" /> |
|
29 |
<result property="createUser" column="create_user" /> |
|
30 |
<result property="createTime" column="create_time" /> |
|
31 |
<result property="updateUser" column="update_user" /> |
|
32 |
<result property="updateTime" column="update_time" /> |
|
33 |
<result property="remarks" column="remarks" /> |
1391b3
|
34 |
<result property="report30" column="report_30" /> |
797845
|
35 |
<result property="boxClosingOnlineTime" column="box_closing_online_time" /> |
懒 |
36 |
<result property="closingBoxOfflineTime" column="closing_box_offline_time" /> |
|
37 |
<result property="finalAssemblyLaunchTime" column="final_assembly_launch_time" /> |
|
38 |
<result property="finalAssemblyOfflineTime" column="final_assembly_offline_time" /> |
|
39 |
<result property="cvtLaunchTime" column="cvt_launch_time" /> |
|
40 |
<result property="cvtOfflineTime" column="cvt_offline_time" /> |
1391b3
|
41 |
|
d9cf6b
|
42 |
</resultMap> |
J |
43 |
|
|
44 |
<sql id="selectBsOrderSchedulingVo"> |
797845
|
45 |
select id, order_no, engine_no, product_type, model, production_status, working_hours, current_workstation, quality_status, whether_or_print, report_10, report_20, combined_box_time, final_assembly_time, operator, operate_time, status, spare_field_1, spare_field_2, spare_field_3, spare_field_4, create_user, create_time, update_user, update_time, remarks, report_30, box_closing_online_time, closing_box_offline_time, final_assembly_launch_time, final_assembly_offline_time, cvt_launch_time, cvt_offline_time from bs_order_scheduling |
d9cf6b
|
46 |
</sql> |
J |
47 |
|
ea3c33
|
48 |
<sql id="selectBsOrderSchedulingForReport"> |
W |
49 |
select id, engine_no, report_20, remarks from bs_order_scheduling |
|
50 |
</sql> |
|
51 |
|
|
52 |
<select id="selectBsOrderSchedulingForReport" |
|
53 |
parameterType="BsOrderScheduling" resultMap="BsOrderSchedulingResult"> |
|
54 |
<include refid="selectBsOrderSchedulingForReport"/> |
|
55 |
<where> |
|
56 |
<if test="engineNoList != null and engineNoList.size() > 0"> |
|
57 |
and engine_no in |
|
58 |
<foreach collection="engineNoList" open="(" close=")" separator="," item="engine"> |
|
59 |
#{engine} |
|
60 |
</foreach> |
|
61 |
</if> |
|
62 |
</where> |
|
63 |
</select> |
|
64 |
|
d9cf6b
|
65 |
<select id="selectBsOrderSchedulingList" parameterType="BsOrderScheduling" resultMap="BsOrderSchedulingResult"> |
J |
66 |
<include refid="selectBsOrderSchedulingVo"/> |
5030f3
|
67 |
<where> |
2aea64
|
68 |
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if> |
d9cf6b
|
69 |
<if test="engineNo != null and engineNo != ''"> and engine_no = #{engineNo}</if> |
J |
70 |
<if test="productType != null and productType != ''"> and product_type = #{productType}</if> |
|
71 |
<if test="model != null and model != ''"> and model = #{model}</if> |
|
72 |
<if test="productionStatus != null and productionStatus != ''"> and production_status = #{productionStatus}</if> |
|
73 |
<if test="workingHours != null and workingHours != ''"> and working_hours = #{workingHours}</if> |
|
74 |
<if test="currentWorkstation != null and currentWorkstation != ''"> and current_workstation = #{currentWorkstation}</if> |
|
75 |
<if test="qualityStatus != null and qualityStatus != ''"> and quality_status = #{qualityStatus}</if> |
|
76 |
<if test="whetherOrPrint != null and whetherOrPrint != ''"> and whether_or_print = #{whetherOrPrint}</if> |
|
77 |
<if test="report10 != null and report10 != ''"> and report_10 = #{report10}</if> |
|
78 |
<if test="report20 != null and report20 != ''"> and report_20 = #{report20}</if> |
2aea64
|
79 |
<if test="combinedBoxTime != null and combinedBoxTime != ''"> and combined_box_time = #{combinedBoxTime}</if> |
J |
80 |
<if test="finalAssemblyTime != null and finalAssemblyTime != ''"> and final_assembly_time = #{finalAssemblyTime}</if> |
d9cf6b
|
81 |
<if test="operator != null and operator != ''"> and operator = #{operator}</if> |
J |
82 |
<if test="operateTime != null and operateTime != ''"> and operate_time = #{operateTime}</if> |
2aea64
|
83 |
<if test="status != null and status != ''"> and status = #{status}</if> |
5030f3
|
84 |
<if test="spareField1 != null and spareField1 != ''"> and isnull(spare_field_1,'') != #{spareField1}</if> |
Y |
85 |
<if test="spareField2 != null and spareField2 != ''"> and isnull(spare_field_2,'') != #{spareField2}</if> |
2aea64
|
86 |
<if test="spareField3 != null and spareField3 != ''"> and spare_field_3 = #{spareField3}</if> |
J |
87 |
<if test="spareField4 != null and spareField4 != ''"> and spare_field_4 = #{spareField4}</if> |
|
88 |
<if test="createUser != null and createUser != ''"> and create_user = #{createUser}</if> |
|
89 |
<if test="updateUser != null and updateUser != ''"> and update_user = #{updateUser}</if> |
|
90 |
<if test="remarks != null and remarks != ''"> and remarks = #{remarks}</if> |
1391b3
|
91 |
<if test="report30 != null and report30 != ''"> and report_30 = #{report30}</if> |
d2b752
|
92 |
<if test="dateConditions != null and dateConditions != ''"> and operate_time BETWEEN #{startTime} AND #{endTime}</if> |
797845
|
93 |
<if test="boxClosingOnlineTime != null and boxClosingOnlineTime != ''"> and box_closing_online_time = #{boxClosingOnlineTime}</if> |
懒 |
94 |
<if test="closingBoxOfflineTime != null and closingBoxOfflineTime != ''"> and closing_box_offline_time = #{closingBoxOfflineTime}</if> |
|
95 |
<if test="finalAssemblyLaunchTime != null and finalAssemblyLaunchTime != ''"> and final_assembly_launch_time = #{finalAssemblyLaunchTime}</if> |
|
96 |
<if test="finalAssemblyOfflineTime != null and finalAssemblyOfflineTime != ''"> and final_assembly_offline_time = #{finalAssemblyOfflineTime}</if> |
|
97 |
<if test="cvtLaunchTime != null and cvtLaunchTime != ''"> and cvt_launch_time = #{cvtLaunchTime}</if> |
|
98 |
<if test="cvtOfflineTime != null and cvtOfflineTime != ''"> and cvt_offline_time = #{cvtOfflineTime}</if> |
bbc578
|
99 |
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> and final_assembly_offline_time between #{startTime} and #{endTime}</if> |
c74dcb
|
100 |
<if test="engineNoList != null and engineNoList.size() > 0"> |
W |
101 |
and engine_no in |
|
102 |
<foreach collection="engineNoList" open="(" close=")" separator="," item="engine"> |
|
103 |
#{engine} |
|
104 |
</foreach> |
|
105 |
</if> |
|
106 |
<if test="engineNoListExcel != null and engineNoListExcel.size() > 0"> |
|
107 |
and engine_no in |
|
108 |
<foreach collection="engineNoListExcel" open="(" close=")" separator="," item="engine"> |
2d1514
|
109 |
#{engine} |
c74dcb
|
110 |
</foreach> |
W |
111 |
</if> |
d9cf6b
|
112 |
</where> |
J |
113 |
</select> |
d4f437
|
114 |
|
Y |
115 |
<select id="selectBsOrderSchedulingPage" parameterType="BsOrderScheduling" resultMap="BsOrderSchedulingResult"> |
|
116 |
<include refid="selectBsOrderSchedulingVo"/> |
|
117 |
<where> |
|
118 |
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if> |
|
119 |
<if test="engineNo != null and engineNo != ''"> and engine_no = #{engineNo}</if> |
|
120 |
<if test="productType != null and productType != ''"> and product_type = #{productType}</if> |
|
121 |
<if test="model != null and model != ''"> and model = #{model}</if> |
|
122 |
<if test="productionStatus != null and productionStatus != ''"> and production_status = #{productionStatus}</if> |
|
123 |
<if test="workingHours != null and workingHours != ''"> and working_hours = #{workingHours}</if> |
|
124 |
<if test="currentWorkstation != null and currentWorkstation != ''"> and current_workstation = #{currentWorkstation}</if> |
|
125 |
<if test="qualityStatus != null and qualityStatus != ''"> and quality_status = #{qualityStatus}</if> |
|
126 |
<if test="whetherOrPrint != null and whetherOrPrint != ''"> and whether_or_print = #{whetherOrPrint}</if> |
|
127 |
<if test="report10 != null and report10 != ''"> and report_10 = #{report10}</if> |
|
128 |
<if test="report20 != null and report20 != ''"> and report_20 = #{report20}</if> |
|
129 |
<if test="combinedBoxTime != null and combinedBoxTime != ''"> and combined_box_time = #{combinedBoxTime}</if> |
|
130 |
<if test="finalAssemblyTime != null and finalAssemblyTime != ''"> and final_assembly_time = #{finalAssemblyTime}</if> |
|
131 |
<if test="operator != null and operator != ''"> and operator = #{operator}</if> |
|
132 |
<if test="operateTime != null and operateTime != ''"> and operate_time = #{operateTime}</if> |
|
133 |
<if test="status != null and status != ''"> and status = #{status}</if> |
|
134 |
<if test="spareField1 != null and spareField1 != ''"> and spare_field_1 = #{spareField1}</if> |
|
135 |
<if test="spareField2 != null and spareField2 != ''"> and spare_field_2 = #{spareField2}</if> |
|
136 |
<if test="spareField3 != null and spareField3 != ''"> and spare_field_3 = #{spareField3}</if> |
|
137 |
<if test="spareField4 != null and spareField4 != ''"> and spare_field_4 = #{spareField4}</if> |
|
138 |
<if test="createUser != null and createUser != ''"> and create_user = #{createUser}</if> |
|
139 |
<if test="updateUser != null and updateUser != ''"> and update_user = #{updateUser}</if> |
|
140 |
<if test="remarks != null and remarks != ''"> and remarks = #{remarks}</if> |
|
141 |
<if test="report30 != null and report30 != ''"> and report_30 = #{report30}</if> |
|
142 |
<if test="dateConditions != null and dateConditions != ''"> and operate_time BETWEEN #{startTime} AND #{endTime}</if> |
|
143 |
<if test="boxClosingOnlineTime != null and boxClosingOnlineTime != ''"> and box_closing_online_time = #{boxClosingOnlineTime}</if> |
|
144 |
<if test="closingBoxOfflineTime != null and closingBoxOfflineTime != ''"> and closing_box_offline_time = #{closingBoxOfflineTime}</if> |
|
145 |
<if test="finalAssemblyLaunchTime != null and finalAssemblyLaunchTime != ''"> and final_assembly_launch_time = #{finalAssemblyLaunchTime}</if> |
|
146 |
<if test="finalAssemblyOfflineTime != null and finalAssemblyOfflineTime != ''"> and final_assembly_offline_time = #{finalAssemblyOfflineTime}</if> |
|
147 |
<if test="cvtLaunchTime != null and cvtLaunchTime != ''"> and cvt_launch_time = #{cvtLaunchTime}</if> |
|
148 |
<if test="cvtOfflineTime != null and cvtOfflineTime != ''"> and cvt_offline_time = #{cvtOfflineTime}</if> |
|
149 |
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> and cvt_offline_time between #{startTime} and #{endTime}</if> |
|
150 |
<if test="engineNoList != null and engineNoList.size() > 0"> |
|
151 |
and engine_no in |
|
152 |
<foreach collection="engineNoList" open="(" close=")" separator="," item="engine"> |
|
153 |
#{engine} |
|
154 |
</foreach> |
|
155 |
</if> |
|
156 |
<if test="engineNoListExcel != null and engineNoListExcel.size() > 0"> |
|
157 |
and engine_no in |
|
158 |
<foreach collection="engineNoListExcel" open="(" close=")" separator="," item="engine"> |
|
159 |
#{engine} |
|
160 |
</foreach> |
|
161 |
</if> |
|
162 |
and (production_status = '2' or production_status = '3') |
|
163 |
</where> |
|
164 |
order by create_time DESC |
|
165 |
</select> |
5030f3
|
166 |
|
2aea64
|
167 |
<select id="selectBsOrderSchedulingById" parameterType="Long" resultMap="BsOrderSchedulingResult"> |
d9cf6b
|
168 |
<include refid="selectBsOrderSchedulingVo"/> |
2aea64
|
169 |
where id = #{id} |
d9cf6b
|
170 |
</select> |
1a444b
|
171 |
|
Y |
172 |
<select id="selectBsOrderSchedulingSNCode" parameterType="String" resultMap="BsOrderSchedulingResult"> |
|
173 |
<include refid="selectBsOrderSchedulingVo"/> |
|
174 |
where engine_no = #{sncode} |
|
175 |
</select> |
|
176 |
|
0ae9ac
|
177 |
<select id="getPrepareOnlineList" resultType="com.jcdm.main.bs.orderScheduling.domain.BsOrderScheduling"> |
W |
178 |
select bos.* from bs_order_scheduling bos |
|
179 |
<where> |
|
180 |
<if test="prepareOnlineQuery.orderNo != null and prepareOnlineQuery.orderNo != '' "> |
|
181 |
and bos.order_no = #{prepareOnlineQuery.orderNo} |
|
182 |
</if> |
|
183 |
<if test="prepareOnlineQuery.engineNo != null and prepareOnlineQuery.engineNo != '' "> |
|
184 |
and bos.engine_no = #{prepareOnlineQuery.engineNo} |
|
185 |
</if> |
|
186 |
</where> |
|
187 |
</select> |
9ebb88
|
188 |
<select id="getProduceNumToday" resultType="java.lang.Integer"> |
W |
189 |
select count(*) from bs_order_scheduling |
|
190 |
where ${queryField} BETWEEN #{startTime} AND #{endTime} |
|
191 |
</select> |
2c65c3
|
192 |
<select id="getProductNum" resultType="com.jcdm.main.da.passingStationCollection.domain.ProductNumVO"> |
W |
193 |
SELECT model,count(*) as num FROM bs_order_scheduling |
|
194 |
<where> |
|
195 |
<if test="queryDate != null and queryDate != ''"> |
|
196 |
final_assembly_offline_time between #{queryDate} and #{addQueryDate} |
|
197 |
</if> |
|
198 |
</where> |
|
199 |
GROUP BY model |
|
200 |
</select> |
|
201 |
|
|
202 |
<select id="selectBsOrderSchedulingListForNum" |
|
203 |
parameterType="BsOrderScheduling" resultMap="BsOrderSchedulingResult"> |
|
204 |
select model,final_assembly_offline_time,final_assembly_launch_time,box_closing_online_time |
|
205 |
from bs_order_scheduling |
|
206 |
<where> |
|
207 |
<if test="queryDate != null and queryDate != ''"> |
|
208 |
final_assembly_offline_time between #{queryDate} and #{addQueryDate} |
|
209 |
or final_assembly_launch_time between #{queryDate} and #{addQueryDate} |
|
210 |
or box_closing_online_time between #{queryDate} and #{addQueryDate} |
|
211 |
</if> |
|
212 |
</where> |
|
213 |
</select> |
0ae9ac
|
214 |
|
W |
215 |
|
2aea64
|
216 |
<insert id="insertBsOrderScheduling" parameterType="BsOrderScheduling" useGeneratedKeys="true" keyProperty="id"> |
d9cf6b
|
217 |
insert into bs_order_scheduling |
J |
218 |
<trim prefix="(" suffix=")" suffixOverrides=","> |
2aea64
|
219 |
<if test="orderNo != null">order_no,</if> |
d9cf6b
|
220 |
<if test="engineNo != null">engine_no,</if> |
J |
221 |
<if test="productType != null">product_type,</if> |
|
222 |
<if test="model != null">model,</if> |
|
223 |
<if test="productionStatus != null">production_status,</if> |
|
224 |
<if test="workingHours != null">working_hours,</if> |
|
225 |
<if test="currentWorkstation != null">current_workstation,</if> |
|
226 |
<if test="qualityStatus != null">quality_status,</if> |
|
227 |
<if test="whetherOrPrint != null">whether_or_print,</if> |
|
228 |
<if test="report10 != null">report_10,</if> |
|
229 |
<if test="report20 != null">report_20,</if> |
2aea64
|
230 |
<if test="combinedBoxTime != null">combined_box_time,</if> |
J |
231 |
<if test="finalAssemblyTime != null">final_assembly_time,</if> |
d9cf6b
|
232 |
<if test="operator != null">operator,</if> |
J |
233 |
<if test="operateTime != null">operate_time,</if> |
2aea64
|
234 |
<if test="status != null">status,</if> |
J |
235 |
<if test="spareField1 != null">spare_field_1,</if> |
|
236 |
<if test="spareField2 != null">spare_field_2,</if> |
|
237 |
<if test="spareField3 != null">spare_field_3,</if> |
|
238 |
<if test="spareField4 != null">spare_field_4,</if> |
|
239 |
<if test="createUser != null">create_user,</if> |
|
240 |
<if test="createTime != null">create_time,</if> |
|
241 |
<if test="updateUser != null">update_user,</if> |
|
242 |
<if test="updateTime != null">update_time,</if> |
|
243 |
<if test="remarks != null">remarks,</if> |
1391b3
|
244 |
<if test="report30 != null">report_30,</if> |
797845
|
245 |
<if test="boxClosingOnlineTime != null">box_closing_online_time,</if> |
懒 |
246 |
<if test="closingBoxOfflineTime != null">closing_box_offline_time,</if> |
|
247 |
<if test="finalAssemblyLaunchTime != null">final_assembly_launch_time,</if> |
|
248 |
<if test="finalAssemblyOfflineTime != null">final_assembly_offline_time,</if> |
|
249 |
<if test="cvtLaunchTime != null">cvt_launch_time,</if> |
|
250 |
<if test="cvtOfflineTime != null">cvt_offline_time,</if> |
5030f3
|
251 |
</trim> |
d9cf6b
|
252 |
<trim prefix="values (" suffix=")" suffixOverrides=","> |
2aea64
|
253 |
<if test="orderNo != null">#{orderNo},</if> |
d9cf6b
|
254 |
<if test="engineNo != null">#{engineNo},</if> |
J |
255 |
<if test="productType != null">#{productType},</if> |
|
256 |
<if test="model != null">#{model},</if> |
|
257 |
<if test="productionStatus != null">#{productionStatus},</if> |
|
258 |
<if test="workingHours != null">#{workingHours},</if> |
|
259 |
<if test="currentWorkstation != null">#{currentWorkstation},</if> |
|
260 |
<if test="qualityStatus != null">#{qualityStatus},</if> |
|
261 |
<if test="whetherOrPrint != null">#{whetherOrPrint},</if> |
|
262 |
<if test="report10 != null">#{report10},</if> |
|
263 |
<if test="report20 != null">#{report20},</if> |
2aea64
|
264 |
<if test="combinedBoxTime != null">#{combinedBoxTime},</if> |
J |
265 |
<if test="finalAssemblyTime != null">#{finalAssemblyTime},</if> |
d9cf6b
|
266 |
<if test="operator != null">#{operator},</if> |
J |
267 |
<if test="operateTime != null">#{operateTime},</if> |
2aea64
|
268 |
<if test="status != null">#{status},</if> |
J |
269 |
<if test="spareField1 != null">#{spareField1},</if> |
|
270 |
<if test="spareField2 != null">#{spareField2},</if> |
|
271 |
<if test="spareField3 != null">#{spareField3},</if> |
|
272 |
<if test="spareField4 != null">#{spareField4},</if> |
|
273 |
<if test="createUser != null">#{createUser},</if> |
|
274 |
<if test="createTime != null">#{createTime},</if> |
|
275 |
<if test="updateUser != null">#{updateUser},</if> |
|
276 |
<if test="updateTime != null">#{updateTime},</if> |
|
277 |
<if test="remarks != null">#{remarks},</if> |
1391b3
|
278 |
<if test="report30 != null">#{report30},</if> |
797845
|
279 |
<if test="boxClosingOnlineTime != null">#{boxClosingOnlineTime},</if> |
懒 |
280 |
<if test="closingBoxOfflineTime != null">#{closingBoxOfflineTime},</if> |
|
281 |
<if test="finalAssemblyLaunchTime != null">#{finalAssemblyLaunchTime},</if> |
|
282 |
<if test="finalAssemblyOfflineTime != null">#{finalAssemblyOfflineTime},</if> |
|
283 |
<if test="cvtLaunchTime != null">#{cvtLaunchTime},</if> |
|
284 |
<if test="cvtOfflineTime != null">#{cvtOfflineTime},</if> |
1391b3
|
285 |
|
懒 |
286 |
</trim> |
d9cf6b
|
287 |
</insert> |
J |
288 |
|
|
289 |
<update id="updateBsOrderScheduling" parameterType="BsOrderScheduling"> |
|
290 |
update bs_order_scheduling |
|
291 |
<trim prefix="SET" suffixOverrides=","> |
2aea64
|
292 |
<if test="orderNo != null">order_no = #{orderNo},</if> |
d9cf6b
|
293 |
<if test="engineNo != null">engine_no = #{engineNo},</if> |
J |
294 |
<if test="productType != null">product_type = #{productType},</if> |
|
295 |
<if test="model != null">model = #{model},</if> |
|
296 |
<if test="productionStatus != null">production_status = #{productionStatus},</if> |
|
297 |
<if test="workingHours != null">working_hours = #{workingHours},</if> |
|
298 |
<if test="currentWorkstation != null">current_workstation = #{currentWorkstation},</if> |
|
299 |
<if test="qualityStatus != null">quality_status = #{qualityStatus},</if> |
|
300 |
<if test="whetherOrPrint != null">whether_or_print = #{whetherOrPrint},</if> |
|
301 |
<if test="report10 != null">report_10 = #{report10},</if> |
|
302 |
<if test="report20 != null">report_20 = #{report20},</if> |
2aea64
|
303 |
<if test="combinedBoxTime != null">combined_box_time = #{combinedBoxTime},</if> |
J |
304 |
<if test="finalAssemblyTime != null">final_assembly_time = #{finalAssemblyTime},</if> |
d9cf6b
|
305 |
<if test="operator != null">operator = #{operator},</if> |
J |
306 |
<if test="operateTime != null">operate_time = #{operateTime},</if> |
2aea64
|
307 |
<if test="status != null">status = #{status},</if> |
J |
308 |
<if test="spareField1 != null">spare_field_1 = #{spareField1},</if> |
|
309 |
<if test="spareField2 != null">spare_field_2 = #{spareField2},</if> |
|
310 |
<if test="spareField3 != null">spare_field_3 = #{spareField3},</if> |
|
311 |
<if test="spareField4 != null">spare_field_4 = #{spareField4},</if> |
|
312 |
<if test="createUser != null">create_user = #{createUser},</if> |
|
313 |
<if test="createTime != null">create_time = #{createTime},</if> |
|
314 |
<if test="updateUser != null">update_user = #{updateUser},</if> |
|
315 |
<if test="updateTime != null">update_time = #{updateTime},</if> |
|
316 |
<if test="remarks != null">remarks = #{remarks},</if> |
1391b3
|
317 |
<if test="report30 != null">report_30 = #{report30},</if> |
797845
|
318 |
<if test="boxClosingOnlineTime != null">box_closing_online_time = #{boxClosingOnlineTime},</if> |
懒 |
319 |
<if test="closingBoxOfflineTime != null">closing_box_offline_time = #{closingBoxOfflineTime},</if> |
|
320 |
<if test="finalAssemblyLaunchTime != null">final_assembly_launch_time = #{finalAssemblyLaunchTime},</if> |
|
321 |
<if test="finalAssemblyOfflineTime != null">final_assembly_offline_time = #{finalAssemblyOfflineTime},</if> |
|
322 |
<if test="cvtLaunchTime != null">cvt_launch_time = #{cvtLaunchTime},</if> |
|
323 |
<if test="cvtOfflineTime != null">cvt_offline_time = #{cvtOfflineTime},</if> |
1391b3
|
324 |
|
d9cf6b
|
325 |
</trim> |
2aea64
|
326 |
where id = #{id} |
d9cf6b
|
327 |
</update> |
J |
328 |
|
2aea64
|
329 |
<delete id="deleteBsOrderSchedulingById" parameterType="Long"> |
J |
330 |
delete from bs_order_scheduling where id = #{id} |
d9cf6b
|
331 |
</delete> |
J |
332 |
|
2aea64
|
333 |
<delete id="deleteBsOrderSchedulingByIds" parameterType="String"> |
5030f3
|
334 |
delete from bs_order_scheduling where id in |
2aea64
|
335 |
<foreach item="id" collection="array" open="(" separator="," close=")"> |
J |
336 |
#{id} |
d9cf6b
|
337 |
</foreach> |
J |
338 |
</delete> |
2c65c3
|
339 |
|
W |
340 |
|
d9cf6b
|
341 |
</mapper> |