|
@@ -463,7 +463,7 @@ public class SpringBeanTaskDemo {
|
|
|
public String sendCurrentDaySettleDataToDeptDaily(String para) {
|
|
|
// 校验参数
|
|
|
List<String> params = null;
|
|
|
- if (StrUtil.isNotBlank(para)) {
|
|
|
+ if (StrUtil.isNotBlank(para) && !"1".equals(para)) {
|
|
|
if (!para.contains(StrUtil.COMMA)) {
|
|
|
log.error("参数错误");
|
|
|
return HnqzQuartzEnum.JOB_LOG_STATUS_FAIL.getType();
|
|
@@ -494,6 +494,7 @@ public class SpringBeanTaskDemo {
|
|
|
LocalDateTime endOfDay = startOfDay.plusDays(1L);
|
|
|
|
|
|
// 获取所有企业的信息
|
|
|
+ queryWrapper.eq(SysDept::getDelFlag, "0");
|
|
|
List<SysDept> depts = sysDeptMapper.selectList(queryWrapper);
|
|
|
|
|
|
LocalDate finalCurrentDay = currentDay;
|