Commit 780c131f21d57aaed29d691335b1a1095515c203
1 parent
6d4662af
m
Showing
12 changed files
with
76 additions
and
37 deletions
trash-admin/src/main/resources/application.yml
| @@ -19,6 +19,7 @@ spring: | @@ -19,6 +19,7 @@ spring: | ||
| 19 | group-id: trash123 | 19 | group-id: trash123 |
| 20 | key-serializer: org.apache.kafka.common.serialization.StringSerializer | 20 | key-serializer: org.apache.kafka.common.serialization.StringSerializer |
| 21 | value-serializer: org.apache.kafka.common.serialization.StringSerializer | 21 | value-serializer: org.apache.kafka.common.serialization.StringSerializer |
| 22 | + max-poll-records: 1 | ||
| 22 | 23 | ||
| 23 | # 资源信息 | 24 | # 资源信息 |
| 24 | messages: | 25 | messages: |
trash-quartz/src/main/java/com/trash/quartz/task/DriverTask.java
| @@ -126,7 +126,11 @@ public class DriverTask | @@ -126,7 +126,11 @@ public class DriverTask | ||
| 126 | List<SupervisionThreestep> cs = SpringUtils.getBean(SupervisionThreestepMapper.class).selectTodayDataList(param); | 126 | List<SupervisionThreestep> cs = SpringUtils.getBean(SupervisionThreestepMapper.class).selectTodayDataList(param); |
| 127 | 127 | ||
| 128 | for(SupervisionThreestep c:cs){ | 128 | for(SupervisionThreestep c:cs){ |
| 129 | - SpringUtils.getBean(ISupervisionThreestepService.class).checkDataToActiveTruck(c,TOKEN); | 129 | + try { |
| 130 | + SpringUtils.getBean(ISupervisionThreestepService.class).checkDataToActiveTruck(c,TOKEN); | ||
| 131 | + } catch (Exception e) { | ||
| 132 | + // TODO: handle exception | ||
| 133 | + } | ||
| 130 | } | 134 | } |
| 131 | 135 | ||
| 132 | } | 136 | } |
trash-ui/src/api/construction_credit.js
| @@ -18,8 +18,13 @@ import { | @@ -18,8 +18,13 @@ import { | ||
| 18 | updateConstructionsites | 18 | updateConstructionsites |
| 19 | } from "@/api/dict"; | 19 | } from "@/api/dict"; |
| 20 | 20 | ||
| 21 | +import h5Page from '@/views/h5/Pagination'; | ||
| 22 | + | ||
| 21 | export default { | 23 | export default { |
| 22 | - name: "ConstructionCredit", | 24 | + name: "ConstructionCredit", |
| 25 | + components: { | ||
| 26 | + h5Page | ||
| 27 | + }, | ||
| 23 | data() { | 28 | data() { |
| 24 | return { | 29 | return { |
| 25 | // 遮罩层 | 30 | // 遮罩层 |
| @@ -288,4 +293,4 @@ import { | @@ -288,4 +293,4 @@ import { | ||
| 288 | }) | 293 | }) |
| 289 | } | 294 | } |
| 290 | } | 295 | } |
| 291 | - }; | ||
| 292 | \ No newline at end of file | 296 | \ No newline at end of file |
| 297 | + }; |
trash-ui/src/api/dayWorkReport.js
| 1 | + | ||
| 2 | +import h5Page from '@/views/h5/Pagination'; | ||
| 3 | + | ||
| 4 | + | ||
| 1 | import { | 5 | import { |
| 2 | dayWorkList, | 6 | dayWorkList, |
| 3 | exportDayWorkList, | 7 | exportDayWorkList, |
| @@ -21,6 +25,9 @@ import { | @@ -21,6 +25,9 @@ import { | ||
| 21 | 25 | ||
| 22 | export default { | 26 | export default { |
| 23 | name: "dayWorkReport", | 27 | name: "dayWorkReport", |
| 28 | + components: { | ||
| 29 | + h5Page | ||
| 30 | + }, | ||
| 24 | data() { | 31 | data() { |
| 25 | return { | 32 | return { |
| 26 | // 遮罩层 | 33 | // 遮罩层 |
| @@ -96,7 +103,7 @@ export default { | @@ -96,7 +103,7 @@ export default { | ||
| 96 | }, | 103 | }, |
| 97 | created() { | 104 | created() { |
| 98 | this.getList(0); | 105 | this.getList(0); |
| 99 | - | 106 | + |
| 100 | getArea().then(res=>{ | 107 | getArea().then(res=>{ |
| 101 | this.areas = res.result; | 108 | this.areas = res.result; |
| 102 | }); | 109 | }); |
| @@ -180,7 +187,8 @@ export default { | @@ -180,7 +187,8 @@ export default { | ||
| 180 | if (this.queryParams.his == 1) { | 187 | if (this.queryParams.his == 1) { |
| 181 | exportDayWorkHistoryList(data).then(res => { | 188 | exportDayWorkHistoryList(data).then(res => { |
| 182 | 189 | ||
| 183 | - this.loading = false; | 190 | + this.loading.close(); |
| 191 | + | ||
| 184 | 192 | ||
| 185 | this.queryParams.page = page; | 193 | this.queryParams.page = page; |
| 186 | this.queryParams.pageSize = size; | 194 | this.queryParams.pageSize = size; |
| @@ -191,7 +199,8 @@ export default { | @@ -191,7 +199,8 @@ export default { | ||
| 191 | } else { | 199 | } else { |
| 192 | exportDayWorkList(data).then(res => { | 200 | exportDayWorkList(data).then(res => { |
| 193 | 201 | ||
| 194 | - this.loading = false; | 202 | + this.loading.close(); |
| 203 | + | ||
| 195 | debugger; | 204 | debugger; |
| 196 | console.log(page); | 205 | console.log(page); |
| 197 | this.queryParams.page = page; | 206 | this.queryParams.page = page; |
| @@ -211,23 +220,29 @@ export default { | @@ -211,23 +220,29 @@ export default { | ||
| 211 | /** 查询开工报表列表 */ | 220 | /** 查询开工报表列表 */ |
| 212 | getList(tabIdx) { | 221 | getList(tabIdx) { |
| 213 | 222 | ||
| 214 | - this.loading = true; | ||
| 215 | - | 223 | + this.loading = this.$loading({ |
| 224 | + lock: true, | ||
| 225 | + text: 'Loading', | ||
| 226 | + spinner: 'el-icon-loading', | ||
| 227 | + background: 'rgba(255, 255, 255, 0.7)' | ||
| 228 | + }); | ||
| 216 | // let query = this.queryParams; | 229 | // let query = this.queryParams; |
| 217 | 230 | ||
| 218 | if (tabIdx == 1) { | 231 | if (tabIdx == 1) { |
| 232 | + this.queryParams.pageNum = 1; | ||
| 219 | this.resetQuery(); | 233 | this.resetQuery(); |
| 220 | this.queryParams.his = tabIdx; | 234 | this.queryParams.his = tabIdx; |
| 221 | } else if (tabIdx == 0) { | 235 | } else if (tabIdx == 0) { |
| 236 | + this.queryParams.pageNum = 1; | ||
| 222 | this.resetQuery(); | 237 | this.resetQuery(); |
| 223 | this.queryParams.his = tabIdx; | 238 | this.queryParams.his = tabIdx; |
| 224 | } | 239 | } |
| 225 | 240 | ||
| 226 | dayWorkList(this.queryParams).then(response => { | 241 | dayWorkList(this.queryParams).then(response => { |
| 242 | + this.threestepList = response.rows; | ||
| 227 | 243 | ||
| 228 | - this.threestepList = response.rows; | 244 | + this.loading.close(); |
| 229 | 245 | ||
| 230 | - this.loading = false; | ||
| 231 | this.dayWorkCount = response.msg; | 246 | this.dayWorkCount = response.msg; |
| 232 | this.total = response.total; | 247 | this.total = response.total; |
| 233 | }); | 248 | }); |
| @@ -287,9 +302,7 @@ export default { | @@ -287,9 +302,7 @@ export default { | ||
| 287 | this.queryParams.earthsitesName = null; | 302 | this.queryParams.earthsitesName = null; |
| 288 | this.queryParams.name = null; | 303 | this.queryParams.name = null; |
| 289 | 304 | ||
| 290 | - | ||
| 291 | this.resetForm("queryForm"); | 305 | this.resetForm("queryForm"); |
| 292 | - this.handleQuery(); | ||
| 293 | }, | 306 | }, |
| 294 | // 多选框选中数据 | 307 | // 多选框选中数据 |
| 295 | handleSelectionChange(selection) { | 308 | handleSelectionChange(selection) { |
trash-ui/src/api/driver_credit.js
| @@ -8,7 +8,7 @@ import { | @@ -8,7 +8,7 @@ import { | ||
| 8 | getNames, | 8 | getNames, |
| 9 | historyCredit | 9 | historyCredit |
| 10 | } from "@/api/business/driver"; | 10 | } from "@/api/business/driver"; |
| 11 | - | 11 | +import h5Page from '@/views/h5/Pagination'; |
| 12 | import { | 12 | import { |
| 13 | companyList, | 13 | companyList, |
| 14 | driverList | 14 | driverList |
| @@ -16,6 +16,9 @@ import { | @@ -16,6 +16,9 @@ import { | ||
| 16 | 16 | ||
| 17 | export default { | 17 | export default { |
| 18 | name: "ConstructionCredit", | 18 | name: "ConstructionCredit", |
| 19 | + components: { | ||
| 20 | + h5Page | ||
| 21 | + }, | ||
| 19 | data() { | 22 | data() { |
| 20 | return { | 23 | return { |
| 21 | // 遮罩层 | 24 | // 遮罩层 |
| @@ -233,4 +236,4 @@ export default { | @@ -233,4 +236,4 @@ export default { | ||
| 233 | }) | 236 | }) |
| 234 | } | 237 | } |
| 235 | } | 238 | } |
| 236 | -}; | ||
| 237 | \ No newline at end of file | 239 | \ No newline at end of file |
| 240 | +}; |
trash-ui/src/api/earthsites_credit.js
| @@ -16,11 +16,14 @@ import { | @@ -16,11 +16,14 @@ import { | ||
| 16 | earthsitesList, | 16 | earthsitesList, |
| 17 | updateEarthsites | 17 | updateEarthsites |
| 18 | } from "@/api/dict"; | 18 | } from "@/api/dict"; |
| 19 | - | 19 | +import h5Page from '@/views/h5/Pagination'; |
| 20 | import requestRemote from '@/utils/requestRemote' | 20 | import requestRemote from '@/utils/requestRemote' |
| 21 | 21 | ||
| 22 | export default { | 22 | export default { |
| 23 | name: "EarthSitesCredit", | 23 | name: "EarthSitesCredit", |
| 24 | + components: { | ||
| 25 | + h5Page | ||
| 26 | + }, | ||
| 24 | data() { | 27 | data() { |
| 25 | return { | 28 | return { |
| 26 | // 遮罩层 | 29 | // 遮罩层 |
| @@ -256,4 +259,4 @@ export default { | @@ -256,4 +259,4 @@ export default { | ||
| 256 | }) | 259 | }) |
| 257 | } | 260 | } |
| 258 | } | 261 | } |
| 259 | -}; | ||
| 260 | \ No newline at end of file | 262 | \ No newline at end of file |
| 263 | +}; |
trash-ui/src/api/three_step.js
| @@ -39,7 +39,7 @@ | @@ -39,7 +39,7 @@ | ||
| 39 | components: { | 39 | components: { |
| 40 | threestepInfo, | 40 | threestepInfo, |
| 41 | h5Info, | 41 | h5Info, |
| 42 | - | 42 | + |
| 43 | h5Page | 43 | h5Page |
| 44 | }, | 44 | }, |
| 45 | data() { | 45 | data() { |
| @@ -196,8 +196,8 @@ | @@ -196,8 +196,8 @@ | ||
| 196 | let arr = window.location.search.split("&"); | 196 | let arr = window.location.search.split("&"); |
| 197 | this.queryParams.pageStatus = arr[0].split("=")[1]; | 197 | this.queryParams.pageStatus = arr[0].split("=")[1]; |
| 198 | } | 198 | } |
| 199 | - | ||
| 200 | - | 199 | + |
| 200 | + | ||
| 201 | getArea().then(res => { | 201 | getArea().then(res => { |
| 202 | this.areas = res.result; | 202 | this.areas = res.result; |
| 203 | for(let i =0;i< this.threestepList.length;i++){ | 203 | for(let i =0;i< this.threestepList.length;i++){ |
| @@ -348,7 +348,6 @@ | @@ -348,7 +348,6 @@ | ||
| 348 | 348 | ||
| 349 | getConstructionTruck(item.id).then(res=>{ | 349 | getConstructionTruck(item.id).then(res=>{ |
| 350 | for(let i in res.result){ | 350 | for(let i in res.result){ |
| 351 | - debugger; | ||
| 352 | this.companyList.push({id:res.result[i].companyId , name: res.result[i].companyName}); | 351 | this.companyList.push({id:res.result[i].companyId , name: res.result[i].companyName}); |
| 353 | for(let j in res.result[i].vehicleList){ | 352 | for(let j in res.result[i].vehicleList){ |
| 354 | this.truckList.push({id:res.result[i].vehicleList[j].id,licenseplateNo:res.result[i].vehicleList[j].licenseplateNo,companyName:res.result[i].companyName}); | 353 | this.truckList.push({id:res.result[i].vehicleList[j].id,licenseplateNo:res.result[i].vehicleList[j].licenseplateNo,companyName:res.result[i].companyName}); |
| @@ -669,7 +668,6 @@ | @@ -669,7 +668,6 @@ | ||
| 669 | }, | 668 | }, |
| 670 | /** 修改按钮操作 */ | 669 | /** 修改按钮操作 */ |
| 671 | handleUpdate(row,idx) { | 670 | handleUpdate(row,idx) { |
| 672 | - debugger; | ||
| 673 | this.reset(); | 671 | this.reset(); |
| 674 | this.businessKey = row.id +""; | 672 | this.businessKey = row.id +""; |
| 675 | if(idx == 0){ | 673 | if(idx == 0){ |
trash-ui/src/api/truck_credit.js
trash-ui/src/layout/index333.vue renamed to trash-ui/src/layout/inde3x.vue
trash-ui/src/views/business/dayWorkReport/index.vue
| @@ -69,7 +69,7 @@ | @@ -69,7 +69,7 @@ | ||
| 69 | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> | 69 | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| 70 | </el-row> | 70 | </el-row> |
| 71 | 71 | ||
| 72 | - <el-table v-loading="loading" :data="threestepList" @selection-change="handleSelectionChange"> | 72 | + <el-table :data="threestepList" @selection-change="handleSelectionChange"> |
| 73 | <el-table-column label="序号" align="center" type="index" /> | 73 | <el-table-column label="序号" align="center" type="index" /> |
| 74 | <el-table-column label="日期" align="center" prop="createTime" /> | 74 | <el-table-column label="日期" align="center" prop="createTime" /> |
| 75 | <el-table-column label="工地名称" align="center" prop="name" /> | 75 | <el-table-column label="工地名称" align="center" prop="name" /> |
trash-ui/src/views/h5/dayWorkReport/index.vue
| 1 | <template> | 1 | <template> |
| 2 | - <div class="app-container"> | 2 | + <div class="app-container" > |
| 3 | <el-row :gutter="10" class="mb8"> | 3 | <el-row :gutter="10" class="mb8"> |
| 4 | <el-col :span="1.5"> | 4 | <el-col :span="1.5"> |
| 5 | <el-button :class="{'el-button':true, 'el-button--primary':this.queryParams.pageStatus==0}" size="mini" | 5 | <el-button :class="{'el-button':true, 'el-button--primary':this.queryParams.pageStatus==0}" size="mini" |
| @@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
| 28 | 28 | ||
| 29 | <el-form-item label="消纳场区属" prop="subReason"> | 29 | <el-form-item label="消纳场区属" prop="subReason"> |
| 30 | <el-select v-model="queryParams.subReason" placeholder="工地所属区域 " size="small"> | 30 | <el-select v-model="queryParams.subReason" placeholder="工地所属区域 " size="small"> |
| 31 | - <el-option v-for="item in areas" :label="item.name" :value="item.code" /> | 31 | + <el-option v-for="item in areas" :label="item.name" :value="item.name" /> |
| 32 | </el-select> | 32 | </el-select> |
| 33 | </el-form-item> | 33 | </el-form-item> |
| 34 | <el-form-item label="开始时间" prop="workStartTime" v-if="this.queryParams.his==1"> | 34 | <el-form-item label="开始时间" prop="workStartTime" v-if="this.queryParams.his==1"> |
| @@ -108,6 +108,9 @@ | @@ -108,6 +108,9 @@ | ||
| 108 | .el-select-dropdown__item{ | 108 | .el-select-dropdown__item{ |
| 109 | width:300px; | 109 | width:300px; |
| 110 | } | 110 | } |
| 111 | + .card_title{ | ||
| 112 | + word-break: break-all; | ||
| 113 | + } | ||
| 111 | </style> | 114 | </style> |
| 112 | 115 | ||
| 113 | <script src="../../../api/dayWorkReport.js" /> | 116 | <script src="../../../api/dayWorkReport.js" /> |
trash-workFlow/src/main/java/com/trash/business/service/impl/SupervisionThreestepServiceImpl.java
| @@ -210,21 +210,22 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -210,21 +210,22 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 210 | // TODO Auto-generated catch block | 210 | // TODO Auto-generated catch block |
| 211 | e.printStackTrace(); | 211 | e.printStackTrace(); |
| 212 | } | 212 | } |
| 213 | - } | ||
| 214 | - if(supervisionThreestep.getHis().equals("1")){ | ||
| 215 | - try { | ||
| 216 | - supervisionThreestep.setWorkStartTime(dateTime.parse("2000-01-01 00:00:00")); | ||
| 217 | - supervisionThreestep.setWorkEndTime(dateTime.parse("2100-01-01 00:00:00")); | ||
| 218 | - } catch (ParseException e) { | ||
| 219 | - // TODO Auto-generated catch block | ||
| 220 | - e.printStackTrace(); | 213 | + if(supervisionThreestep.getHis().equals("1")){ |
| 214 | + try { | ||
| 215 | + supervisionThreestep.setWorkStartTime(dateTime.parse("2000-01-01 00:00:00")); | ||
| 216 | + supervisionThreestep.setWorkEndTime(dateTime.parse("2100-01-01 00:00:00")); | ||
| 217 | + } catch (ParseException e) { | ||
| 218 | + // TODO Auto-generated catch block | ||
| 219 | + e.printStackTrace(); | ||
| 220 | + } | ||
| 221 | } | 221 | } |
| 222 | } | 222 | } |
| 223 | 223 | ||
| 224 | - | ||
| 225 | 224 | ||
| 226 | List<SupervisionThreestep> allList = supervisionThreestepMapper.selectDayWorkList(supervisionThreestep); | 225 | List<SupervisionThreestep> allList = supervisionThreestepMapper.selectDayWorkList(supervisionThreestep); |
| 226 | + | ||
| 227 | 227 | ||
| 228 | + long start = new Date().getTime(); | ||
| 228 | 229 | ||
| 229 | List<SupervisionThreestep> constructions = new ArrayList<>(); | 230 | List<SupervisionThreestep> constructions = new ArrayList<>(); |
| 230 | List<SupervisionThreestep> earthsites = new ArrayList<>(); | 231 | List<SupervisionThreestep> earthsites = new ArrayList<>(); |
| @@ -235,7 +236,6 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -235,7 +236,6 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 235 | if(yearFomat.format(s.getSelfCheckTime()).equals(yearFomat.format(new Date()))){ | 236 | if(yearFomat.format(s.getSelfCheckTime()).equals(yearFomat.format(new Date()))){ |
| 236 | continue; | 237 | continue; |
| 237 | } | 238 | } |
| 238 | - | ||
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | if(s.getType() == 0){ | 241 | if(s.getType() == 0){ |
| @@ -316,6 +316,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -316,6 +316,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 316 | } | 316 | } |
| 317 | list.add(map); | 317 | list.add(map); |
| 318 | } | 318 | } |
| 319 | + | ||
| 319 | 320 | ||
| 320 | List newList = new ArrayList<>(); | 321 | List newList = new ArrayList<>(); |
| 321 | 322 | ||
| @@ -337,6 +338,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -337,6 +338,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 337 | continue; | 338 | continue; |
| 338 | 339 | ||
| 339 | JSONObject con = RemoteServerUtils.getConstructionInfo(e.getEarthsitesId()); | 340 | JSONObject con = RemoteServerUtils.getConstructionInfo(e.getEarthsitesId()); |
| 341 | + | ||
| 340 | 342 | ||
| 341 | map.put("id", e.getId() + ""); | 343 | map.put("id", e.getId() + ""); |
| 342 | map.put("createTime", yearFomat.format(e.getCreateTime())); | 344 | map.put("createTime", yearFomat.format(e.getCreateTime())); |
| @@ -360,6 +362,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -360,6 +362,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 360 | list.addAll(newList); | 362 | list.addAll(newList); |
| 361 | } | 363 | } |
| 362 | 364 | ||
| 365 | + | ||
| 363 | 366 | ||
| 364 | List FilterList = new ArrayList<>(); | 367 | List FilterList = new ArrayList<>(); |
| 365 | 368 | ||
| @@ -403,7 +406,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -403,7 +406,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 403 | FilterList.add(map); | 406 | FilterList.add(map); |
| 404 | 407 | ||
| 405 | } | 408 | } |
| 406 | - | 409 | + |
| 407 | return FilterList; | 410 | return FilterList; |
| 408 | } | 411 | } |
| 409 | 412 | ||
| @@ -636,6 +639,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -636,6 +639,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 636 | supervisionThreestep.setEarthsitesName(name); | 639 | supervisionThreestep.setEarthsitesName(name); |
| 637 | supervisionThreestep.setName(eName); | 640 | supervisionThreestep.setName(eName); |
| 638 | supervisionThreestep.setObjectId(eId); | 641 | supervisionThreestep.setObjectId(eId); |
| 642 | + supervisionThreestep.setCheckTime(new Date()); | ||
| 639 | 643 | ||
| 640 | supervisionThreestepMapper.insertSupervisionThreestep(supervisionThreestep); | 644 | supervisionThreestepMapper.insertSupervisionThreestep(supervisionThreestep); |
| 641 | 645 | ||
| @@ -671,7 +675,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -671,7 +675,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 671 | 675 | ||
| 672 | List<TruckActivate> taList = truckActivateService.selectTruckActivateList(truckActivate); | 676 | List<TruckActivate> taList = truckActivateService.selectTruckActivateList(truckActivate); |
| 673 | 677 | ||
| 674 | - if(taList.get(0).getActivateTime() == null){ | 678 | + if(taList.size() == 0 || taList.get(0).getActivateTime() == null){ |
| 675 | unActiveTruck += truckId + ","; | 679 | unActiveTruck += truckId + ","; |
| 676 | } | 680 | } |
| 677 | } | 681 | } |
| @@ -683,7 +687,9 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -683,7 +687,9 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 683 | 687 | ||
| 684 | Map<String,Object> params = new HashedMap<>(); | 688 | Map<String,Object> params = new HashedMap<>(); |
| 685 | 689 | ||
| 686 | - params.put("vehicleIds", unActiveTruck.split(",")); | 690 | + truckArray = unActiveTruck.split(","); |
| 691 | + | ||
| 692 | + params.put("vehicleIds", truckArray); | ||
| 687 | params.put("page", 1); | 693 | params.put("page", 1); |
| 688 | params.put("size", 9999); | 694 | params.put("size", 9999); |
| 689 | JSONArray array = null; | 695 | JSONArray array = null; |