Commit 1d38768e6f4235b842616395ba99afe750b8952a
1 parent
c8ebd547
11
Showing
7 changed files
with
44 additions
and
44 deletions
trash-ui/src/views/business/threeHistory/index.vue
| @@ -271,8 +271,8 @@ export default { | @@ -271,8 +271,8 @@ export default { | ||
| 271 | if(date.getHours() < 8){ | 271 | if(date.getHours() < 8){ |
| 272 | d -= 1; | 272 | d -= 1; |
| 273 | } | 273 | } |
| 274 | - let start = date.getFullYear() + "-" + (date.getMonth()+1) + "-" + d + " 08:00:00" | ||
| 275 | - let end = date.getFullYear() + "-" + (date.getMonth()+1) + "-" + (d+1) + " 08:00:00" | 274 | + let start = date.getFullYear() + "-" + (date.getMonth()+1) + "-" + d + " 06:00:00" |
| 275 | + let end = date.getFullYear() + "-" + (date.getMonth()+1) + "-" + (d+1) + " 06:00:00" | ||
| 276 | 276 | ||
| 277 | this.workQuery.name = null; | 277 | this.workQuery.name = null; |
| 278 | this.workQuery.workStartTime = start; | 278 | this.workQuery.workStartTime = start; |
trash-workFlow/src/main/java/com/trash/business/controller/SupervisionThreestepController.java
| @@ -96,7 +96,7 @@ public class SupervisionThreestepController extends BaseController { | @@ -96,7 +96,7 @@ public class SupervisionThreestepController extends BaseController { | ||
| 96 | SimpleDateFormat dateTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); | 96 | SimpleDateFormat dateTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| 97 | Date date = new Date(); | 97 | Date date = new Date(); |
| 98 | 98 | ||
| 99 | - if (new Date().getHours() < 8) { | 99 | + if (new Date().getHours() < 6) { |
| 100 | end = yearFomat.format(date); | 100 | end = yearFomat.format(date); |
| 101 | date.setDate(date.getDate() - 1); | 101 | date.setDate(date.getDate() - 1); |
| 102 | start = yearFomat.format(date); | 102 | start = yearFomat.format(date); |
| @@ -106,8 +106,8 @@ public class SupervisionThreestepController extends BaseController { | @@ -106,8 +106,8 @@ public class SupervisionThreestepController extends BaseController { | ||
| 106 | end = yearFomat.format(date); | 106 | end = yearFomat.format(date); |
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | - end += " 8:00:00"; | ||
| 110 | - start += " 8:00:00"; | 109 | + end += " 6:00:00"; |
| 110 | + start += " 6:00:00"; | ||
| 111 | 111 | ||
| 112 | try { | 112 | try { |
| 113 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); | 113 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); |
trash-workFlow/src/main/java/com/trash/business/service/impl/SupervisionThreestepServiceImpl.java
| @@ -90,7 +90,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -90,7 +90,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 90 | SimpleDateFormat dateTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); | 90 | SimpleDateFormat dateTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| 91 | Date date = new Date(); | 91 | Date date = new Date(); |
| 92 | 92 | ||
| 93 | - if (new Date().getHours() < 8) { | 93 | + if (new Date().getHours() < 6) { |
| 94 | end = yearFomat.format(date); | 94 | end = yearFomat.format(date); |
| 95 | date.setDate(date.getDate() - 1); | 95 | date.setDate(date.getDate() - 1); |
| 96 | start = yearFomat.format(date); | 96 | start = yearFomat.format(date); |
| @@ -100,8 +100,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -100,8 +100,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 100 | end = yearFomat.format(date); | 100 | end = yearFomat.format(date); |
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | - end += " 8:00:00"; | ||
| 104 | - start += " 8:00:00"; | 103 | + end += " 6:00:00"; |
| 104 | + start += " 6:00:00"; | ||
| 105 | 105 | ||
| 106 | try { | 106 | try { |
| 107 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); | 107 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); |
| @@ -237,7 +237,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -237,7 +237,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 237 | SimpleDateFormat dateTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); | 237 | SimpleDateFormat dateTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| 238 | Date date = new Date(); | 238 | Date date = new Date(); |
| 239 | 239 | ||
| 240 | - if (new Date().getHours() < 8) { | 240 | + if (new Date().getHours() < 6) { |
| 241 | end = yearFomat.format(date); | 241 | end = yearFomat.format(date); |
| 242 | date.setDate(date.getDate() - 1); | 242 | date.setDate(date.getDate() - 1); |
| 243 | start = yearFomat.format(date); | 243 | start = yearFomat.format(date); |
| @@ -247,8 +247,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -247,8 +247,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 247 | end = yearFomat.format(date); | 247 | end = yearFomat.format(date); |
| 248 | } | 248 | } |
| 249 | 249 | ||
| 250 | - end += " 8:00:00"; | ||
| 251 | - start += " 8:00:00"; | 250 | + end += " 6:00:00"; |
| 251 | + start += " 6:00:00"; | ||
| 252 | 252 | ||
| 253 | try { | 253 | try { |
| 254 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); | 254 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); |
| @@ -290,7 +290,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -290,7 +290,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 290 | 290 | ||
| 291 | Date date = new Date(); | 291 | Date date = new Date(); |
| 292 | 292 | ||
| 293 | - if (new Date().getHours() < 8) { | 293 | + if (new Date().getHours() < 6) { |
| 294 | end = yearFomat.format(date); | 294 | end = yearFomat.format(date); |
| 295 | date.setDate(date.getDate() - 1); | 295 | date.setDate(date.getDate() - 1); |
| 296 | start = yearFomat.format(date); | 296 | start = yearFomat.format(date); |
| @@ -300,8 +300,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -300,8 +300,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 300 | end = yearFomat.format(date); | 300 | end = yearFomat.format(date); |
| 301 | } | 301 | } |
| 302 | 302 | ||
| 303 | - end += " 8:00:00"; | ||
| 304 | - start += " 8:00:00"; | 303 | + end += " 6:00:00"; |
| 304 | + start += " 6:00:00"; | ||
| 305 | 305 | ||
| 306 | try { | 306 | try { |
| 307 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); | 307 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); |
| @@ -580,7 +580,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -580,7 +580,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 580 | if (supervisionThreestep.getWorkStartTime() == null) { | 580 | if (supervisionThreestep.getWorkStartTime() == null) { |
| 581 | String start, end; | 581 | String start, end; |
| 582 | 582 | ||
| 583 | - if (new Date().getHours() < 8) { | 583 | + if (new Date().getHours() < 6) { |
| 584 | end = yearFomat.format(date); | 584 | end = yearFomat.format(date); |
| 585 | date.setDate(date.getDate() - 1); | 585 | date.setDate(date.getDate() - 1); |
| 586 | start = yearFomat.format(date); | 586 | start = yearFomat.format(date); |
| @@ -591,7 +591,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -591,7 +591,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 591 | } | 591 | } |
| 592 | 592 | ||
| 593 | end += " 4:00:00"; | 593 | end += " 4:00:00"; |
| 594 | - start += " 8:00:00"; | 594 | + start += " 6:00:00"; |
| 595 | 595 | ||
| 596 | try { | 596 | try { |
| 597 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); | 597 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); |
| @@ -643,7 +643,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -643,7 +643,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 643 | 643 | ||
| 644 | Date date = new Date(); | 644 | Date date = new Date(); |
| 645 | 645 | ||
| 646 | - if (new Date().getHours() < 8) { | 646 | + if (new Date().getHours() < 6) { |
| 647 | end = yearFomat.format(date); | 647 | end = yearFomat.format(date); |
| 648 | date.setDate(date.getDate() - 1); | 648 | date.setDate(date.getDate() - 1); |
| 649 | start = yearFomat.format(date); | 649 | start = yearFomat.format(date); |
| @@ -654,7 +654,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -654,7 +654,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 654 | } | 654 | } |
| 655 | 655 | ||
| 656 | end += " 4:00:00"; | 656 | end += " 4:00:00"; |
| 657 | - start += " 8:00:00"; | 657 | + start += " 6:00:00"; |
| 658 | 658 | ||
| 659 | try { | 659 | try { |
| 660 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); | 660 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); |
| @@ -727,7 +727,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -727,7 +727,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 727 | @Transactional | 727 | @Transactional |
| 728 | public int insertSupervisionThreestep(SupervisionThreestep supervisionThreestep) { | 728 | public int insertSupervisionThreestep(SupervisionThreestep supervisionThreestep) { |
| 729 | 729 | ||
| 730 | - if (new Date().getHours() > -1 && new Date().getHours() < 8) { | 730 | + if (new Date().getHours() > -1 && new Date().getHours() < 6) { |
| 731 | return -2; | 731 | return -2; |
| 732 | } | 732 | } |
| 733 | 733 | ||
| @@ -741,7 +741,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -741,7 +741,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 741 | 741 | ||
| 742 | Date date = new Date(); | 742 | Date date = new Date(); |
| 743 | 743 | ||
| 744 | - if (new Date().getHours() < 8) { | 744 | + if (new Date().getHours() < 6) { |
| 745 | end = yearFomat.format(date); | 745 | end = yearFomat.format(date); |
| 746 | date.setDate(date.getDate() - 1); | 746 | date.setDate(date.getDate() - 1); |
| 747 | start = yearFomat.format(date); | 747 | start = yearFomat.format(date); |
| @@ -751,8 +751,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -751,8 +751,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 751 | end = yearFomat.format(date); | 751 | end = yearFomat.format(date); |
| 752 | } | 752 | } |
| 753 | 753 | ||
| 754 | - end += " 8:00:00"; | ||
| 755 | - start += " 8:00:00"; | 754 | + end += " 6:00:00"; |
| 755 | + start += " 6:00:00"; | ||
| 756 | 756 | ||
| 757 | try { | 757 | try { |
| 758 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); | 758 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); |
| @@ -908,7 +908,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -908,7 +908,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 908 | 908 | ||
| 909 | Date date = new Date(); | 909 | Date date = new Date(); |
| 910 | 910 | ||
| 911 | - if (new Date().getHours() < 8) { | 911 | + if (new Date().getHours() < 6) { |
| 912 | end = yearFomat.format(date); | 912 | end = yearFomat.format(date); |
| 913 | date.setDate(date.getDate() - 1); | 913 | date.setDate(date.getDate() - 1); |
| 914 | start = yearFomat.format(date); | 914 | start = yearFomat.format(date); |
| @@ -918,8 +918,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -918,8 +918,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 918 | end = yearFomat.format(date); | 918 | end = yearFomat.format(date); |
| 919 | } | 919 | } |
| 920 | 920 | ||
| 921 | - end += " 8:00:00"; | ||
| 922 | - start += " 8:00:00"; | 921 | + end += " 6:00:00"; |
| 922 | + start += " 6:00:00"; | ||
| 923 | 923 | ||
| 924 | try { | 924 | try { |
| 925 | sp.setWorkStartTime(dateTime.parse(start)); | 925 | sp.setWorkStartTime(dateTime.parse(start)); |
| @@ -1088,8 +1088,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -1088,8 +1088,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 1088 | date.setDate(date.getDate() - 1); | 1088 | date.setDate(date.getDate() - 1); |
| 1089 | start = yearFomat.format(date); | 1089 | start = yearFomat.format(date); |
| 1090 | 1090 | ||
| 1091 | - end += " 8:00:00"; | ||
| 1092 | - start += " 8:00:00"; | 1091 | + end += " 6:00:00"; |
| 1092 | + start += " 6:00:00"; | ||
| 1093 | 1093 | ||
| 1094 | try { | 1094 | try { |
| 1095 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); | 1095 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); |
| @@ -1165,7 +1165,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -1165,7 +1165,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 1165 | 1165 | ||
| 1166 | Date date = new Date(); | 1166 | Date date = new Date(); |
| 1167 | 1167 | ||
| 1168 | - if (new Date().getHours() < 8) { | 1168 | + if (new Date().getHours() < 6) { |
| 1169 | end = yearFomat.format(date); | 1169 | end = yearFomat.format(date); |
| 1170 | date.setDate(date.getDate() - 1); | 1170 | date.setDate(date.getDate() - 1); |
| 1171 | start = yearFomat.format(date); | 1171 | start = yearFomat.format(date); |
| @@ -1175,8 +1175,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | @@ -1175,8 +1175,8 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer | ||
| 1175 | end = yearFomat.format(date); | 1175 | end = yearFomat.format(date); |
| 1176 | } | 1176 | } |
| 1177 | 1177 | ||
| 1178 | - end += " 08:00:00"; | ||
| 1179 | - start += " 08:00:00"; | 1178 | + end += " 06:00:00"; |
| 1179 | + start += " 06:00:00"; | ||
| 1180 | 1180 | ||
| 1181 | try { | 1181 | try { |
| 1182 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); | 1182 | supervisionThreestep.setWorkStartTime(dateTime.parse(start)); |
trash-workFlow/src/main/java/com/trash/business/service/impl/ThreestepHistoryServiceImpl.java
| @@ -139,7 +139,7 @@ public class ThreestepHistoryServiceImpl implements IThreestepHistoryService | @@ -139,7 +139,7 @@ public class ThreestepHistoryServiceImpl implements IThreestepHistoryService | ||
| 139 | SimpleDateFormat yearFomat = new SimpleDateFormat("yyyy-MM-dd"); | 139 | SimpleDateFormat yearFomat = new SimpleDateFormat("yyyy-MM-dd"); |
| 140 | Date date = new Date(); | 140 | Date date = new Date(); |
| 141 | 141 | ||
| 142 | - if (new Date().getHours() < 8) { | 142 | + if (new Date().getHours() < 6) { |
| 143 | end = yearFomat.format(date); | 143 | end = yearFomat.format(date); |
| 144 | date.setDate(date.getDate() - 1); | 144 | date.setDate(date.getDate() - 1); |
| 145 | start = yearFomat.format(date); | 145 | start = yearFomat.format(date); |
| @@ -149,8 +149,8 @@ public class ThreestepHistoryServiceImpl implements IThreestepHistoryService | @@ -149,8 +149,8 @@ public class ThreestepHistoryServiceImpl implements IThreestepHistoryService | ||
| 149 | end = yearFomat.format(date); | 149 | end = yearFomat.format(date); |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | - end += " 8:00:00"; | ||
| 153 | - start += " 8:00:00"; | 152 | + end += " 6:00:00"; |
| 153 | + start += " 6:00:00"; | ||
| 154 | 154 | ||
| 155 | try { | 155 | try { |
| 156 | threestep.setWorkStartTime(yearFomat.parse(start)); | 156 | threestep.setWorkStartTime(yearFomat.parse(start)); |
trash-workFlow/src/main/java/com/trash/business/service/impl/TruckActivateServiceImpl.java
| @@ -199,7 +199,7 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | @@ -199,7 +199,7 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | ||
| 199 | SimpleDateFormat dateTimeFomat = new SimpleDateFormat("yyyy-MM-dd HH:mm:SS"); | 199 | SimpleDateFormat dateTimeFomat = new SimpleDateFormat("yyyy-MM-dd HH:mm:SS"); |
| 200 | Date date = new Date(); | 200 | Date date = new Date(); |
| 201 | 201 | ||
| 202 | - if (new Date().getHours() < 8) { | 202 | + if (new Date().getHours() < 6) { |
| 203 | end = yearFomat.format(date); | 203 | end = yearFomat.format(date); |
| 204 | date.setDate(date.getDate() - 1); | 204 | date.setDate(date.getDate() - 1); |
| 205 | start = yearFomat.format(date); | 205 | start = yearFomat.format(date); |
| @@ -209,8 +209,8 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | @@ -209,8 +209,8 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | ||
| 209 | end = yearFomat.format(date); | 209 | end = yearFomat.format(date); |
| 210 | } | 210 | } |
| 211 | 211 | ||
| 212 | - end += " 08:00:00"; | ||
| 213 | - start += " 08:00:00"; | 212 | + end += " 06:00:00"; |
| 213 | + start += " 06:00:00"; | ||
| 214 | 214 | ||
| 215 | String[] objs = truckActivate.getObjectId().split(","); | 215 | String[] objs = truckActivate.getObjectId().split(","); |
| 216 | String[] nos = truckActivate.getLicensePlate().split(","); | 216 | String[] nos = truckActivate.getLicensePlate().split(","); |
| @@ -468,7 +468,7 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | @@ -468,7 +468,7 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | ||
| 468 | 468 | ||
| 469 | Date date = new Date(); | 469 | Date date = new Date(); |
| 470 | 470 | ||
| 471 | - if (new Date().getHours() < 8) { | 471 | + if (new Date().getHours() < 6) { |
| 472 | end = yearFomat.format(date); | 472 | end = yearFomat.format(date); |
| 473 | date.setDate(date.getDate() - 1); | 473 | date.setDate(date.getDate() - 1); |
| 474 | start = yearFomat.format(date); | 474 | start = yearFomat.format(date); |
| @@ -478,8 +478,8 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | @@ -478,8 +478,8 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | ||
| 478 | end = yearFomat.format(date); | 478 | end = yearFomat.format(date); |
| 479 | } | 479 | } |
| 480 | 480 | ||
| 481 | - end += " 08:00:00"; | ||
| 482 | - start += " 08:00:00"; | 481 | + end += " 06:00:00"; |
| 482 | + start += " 06:00:00"; | ||
| 483 | 483 | ||
| 484 | try { | 484 | try { |
| 485 | turck.setStartTime(start); | 485 | turck.setStartTime(start); |
| @@ -575,7 +575,7 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | @@ -575,7 +575,7 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | ||
| 575 | 575 | ||
| 576 | Date date = new Date(); | 576 | Date date = new Date(); |
| 577 | 577 | ||
| 578 | - if (new Date().getHours() < 8) { | 578 | + if (new Date().getHours() < 6) { |
| 579 | end = yearFomat.format(date); | 579 | end = yearFomat.format(date); |
| 580 | date.setDate(date.getDate() - 1); | 580 | date.setDate(date.getDate() - 1); |
| 581 | start = yearFomat.format(date); | 581 | start = yearFomat.format(date); |
| @@ -585,8 +585,8 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | @@ -585,8 +585,8 @@ public class TruckActivateServiceImpl implements ITruckActivateService { | ||
| 585 | end = yearFomat.format(date); | 585 | end = yearFomat.format(date); |
| 586 | } | 586 | } |
| 587 | 587 | ||
| 588 | - end += " 08:00:00"; | ||
| 589 | - start += " 08:00:00"; | 588 | + end += " 06:00:00"; |
| 589 | + start += " 06:00:00"; | ||
| 590 | 590 | ||
| 591 | try { | 591 | try { |
| 592 | truckActivate.setStartTime(start); | 592 | truckActivate.setStartTime(start); |
trash-workFlow/src/main/resources/mapper/TruckActivateMapper.xml
| @@ -224,7 +224,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | @@ -224,7 +224,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 224 | </update> | 224 | </update> |
| 225 | 225 | ||
| 226 | <update id="endAllTurckUnActive" parameterType="TruckActivate"> | 226 | <update id="endAllTurckUnActive" parameterType="TruckActivate"> |
| 227 | - update truck_activate set status = 1 where create_time < DATE_FORMAT(NOW(),"%y-%m-%d 08:00:00") | 227 | + update truck_activate set status = 1 where create_time < DATE_FORMAT(NOW(),"%y-%m-%d 06:00:00") |
| 228 | </update> | 228 | </update> |
| 229 | 229 | ||
| 230 | 230 |
trash-workFlow/src/main/resources/mapper/casefile/ViolationWarningInformationMapper.xml
| @@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | @@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 80 | <where> | 80 | <where> |
| 81 | <if test="projectName!=null">project_name = #{projectName}</if> | 81 | <if test="projectName!=null">project_name = #{projectName}</if> |
| 82 | <if test="companyName!=null">company_name = #{companyName}</if> | 82 | <if test="companyName!=null">company_name = #{companyName}</if> |
| 83 | - and violation_type = #{type} and create_time between CONCAT(#{nowDate},' 08:00:00') and CONCAT(#{tomorrowDate},' 07:59:59') | 83 | + and violation_type = #{type} and create_time between CONCAT(#{nowDate},' 06:00:00') and CONCAT(#{tomorrowDate},' 05:59:59') |
| 84 | </where> | 84 | </where> |
| 85 | </select> | 85 | </select> |
| 86 | 86 |