Commit 2106da6efe00f792ca04a719dcf854cb99234ee8
1 parent
21d4c827
优化导入数据
Showing
1 changed file
with
1 additions
and
3 deletions
Bsth-admin/src/main/java/com/ruoyi/service/impl/key/location/LinggangKeyWorkLocationServiceImpl.java
| @@ -44,8 +44,6 @@ import java.text.ParseException; | @@ -44,8 +44,6 @@ import java.text.ParseException; | ||
| 44 | import java.util.*; | 44 | import java.util.*; |
| 45 | import java.util.stream.Collectors; | 45 | import java.util.stream.Collectors; |
| 46 | 46 | ||
| 47 | -import static com.ruoyi.common.ConstDriverProperties.BC_TYPE_OUT; | ||
| 48 | - | ||
| 49 | @Slf4j | 47 | @Slf4j |
| 50 | @Service | 48 | @Service |
| 51 | /**钥匙存放地址 Service实现类*/ | 49 | /**钥匙存放地址 Service实现类*/ |
| @@ -839,7 +837,7 @@ public class LinggangKeyWorkLocationServiceImpl extends ServiceImpl<LinggangKeyW | @@ -839,7 +837,7 @@ public class LinggangKeyWorkLocationServiceImpl extends ServiceImpl<LinggangKeyW | ||
| 839 | LinggangScheduling scheduling = new LinggangScheduling(); | 837 | LinggangScheduling scheduling = new LinggangScheduling(); |
| 840 | scheduling.setStartScheduleDate(DateUtil.shortDate(date)); | 838 | scheduling.setStartScheduleDate(DateUtil.shortDate(date)); |
| 841 | scheduling.setEndScheduleDate(DateUtils.addDays(scheduling.getStartScheduleDate(), 1)); | 839 | scheduling.setEndScheduleDate(DateUtils.addDays(scheduling.getStartScheduleDate(), 1)); |
| 842 | - scheduling.setBcType(BC_TYPE_OUT); | 840 | +// scheduling.setBcType(BC_TYPE_OUT); |
| 843 | schedulings = schedulingService.list(scheduling); | 841 | schedulings = schedulingService.list(scheduling); |
| 844 | if (CollectionUtils.isEmpty(schedulings)) { | 842 | if (CollectionUtils.isEmpty(schedulings)) { |
| 845 | log.info("没有查到排班信息:[{}]", date); | 843 | log.info("没有查到排班信息:[{}]", date); |