|
@@ -54,6 +54,7 @@ public class CoreResumptionConfigurationServiceImpl extends ServiceImpl<CoreResu
|
|
|
private ICoreMessageCenterService coreMessageCenterService;
|
|
private ICoreMessageCenterService coreMessageCenterService;
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private RemoteJobService remoteJobService;
|
|
private RemoteJobService remoteJobService;
|
|
|
|
|
+ private static final String TIME = ":00";
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 查询履职任务定时提醒
|
|
* 查询履职任务定时提醒
|
|
@@ -64,7 +65,15 @@ public class CoreResumptionConfigurationServiceImpl extends ServiceImpl<CoreResu
|
|
|
@Override
|
|
@Override
|
|
|
public CoreResumptionConfigurationVO selectCoreResumptionConfigurationById() {
|
|
public CoreResumptionConfigurationVO selectCoreResumptionConfigurationById() {
|
|
|
CoreResumptionConfigurationVO coreResumptionConfigurationVO = new CoreResumptionConfigurationVO();
|
|
CoreResumptionConfigurationVO coreResumptionConfigurationVO = new CoreResumptionConfigurationVO();
|
|
|
- List<CoreResumptionConfiguration> coreResumptionConfigurations = coreResumptionConfigurationMapper.selectList(new QueryWrapper<CoreResumptionConfiguration>());
|
|
|
|
|
|
|
+ List<CoreResumptionConfiguration> coreResumptionConfigurations = coreResumptionConfigurationMapper.selectCoreResumptionConfigurationList(new CoreResumptionConfiguration());
|
|
|
|
|
+ for (CoreResumptionConfiguration c : coreResumptionConfigurations) {
|
|
|
|
|
+ if (StringUtils.isNotEmpty(c.getAfter())) {
|
|
|
|
|
+ c.setAllDay(c.getAllDay() + TIME);
|
|
|
|
|
+ c.setFront(c.getFront() + TIME);
|
|
|
|
|
+ c.setAfter(c.getAfter() + TIME);
|
|
|
|
|
+ c.setCentre(c.getCentre() + TIME);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
coreResumptionConfigurationVO.setCoreResumptionConfiguration(coreResumptionConfigurations);
|
|
coreResumptionConfigurationVO.setCoreResumptionConfiguration(coreResumptionConfigurations);
|
|
|
return coreResumptionConfigurationVO;
|
|
return coreResumptionConfigurationVO;
|
|
|
}
|
|
}
|