|
|
|
|
|
|
|
|
package com.ruoyi.system.controller; |
|
|
package com.ruoyi.system.controller; |
|
|
|
|
|
|
|
|
|
|
|
import java.time.LocalDate; |
|
|
|
|
|
import java.time.LocalDateTime; |
|
|
|
|
|
import java.time.format.DateTimeFormatter; |
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
import java.util.Arrays; |
|
|
import java.util.Arrays; |
|
|
import java.util.concurrent.TimeUnit; |
|
|
import java.util.concurrent.TimeUnit; |
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
import javax.validation.constraints.*; |
|
|
import javax.validation.constraints.*; |
|
|
import cn.dev33.satoken.annotation.SaCheckPermission; |
|
|
import cn.dev33.satoken.annotation.SaCheckPermission; |
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
import org.springframework.validation.annotation.Validated; |
|
|
import org.springframework.validation.annotation.Validated; |
|
|
import com.ruoyi.common.annotation.RepeatSubmit; |
|
|
import com.ruoyi.common.annotation.RepeatSubmit; |
|
|
|
|
|
|
|
|
@RequiredArgsConstructor |
|
|
@RequiredArgsConstructor |
|
|
@RestController |
|
|
@RestController |
|
|
@RequestMapping("/system/workInfo") |
|
|
@RequestMapping("/system/workInfo") |
|
|
|
|
|
@Slf4j |
|
|
public class ZsWorkInfoController extends BaseController { |
|
|
public class ZsWorkInfoController extends BaseController { |
|
|
|
|
|
|
|
|
private final IZsWorkInfoService iZsWorkInfoService; |
|
|
private final IZsWorkInfoService iZsWorkInfoService; |
|
|
|
|
|
|
|
|
@SaIgnore |
|
|
@SaIgnore |
|
|
@GetMapping("/noVerifyList") |
|
|
@GetMapping("/noVerifyList") |
|
|
public TableDataInfo<ZsWorkInfoVo> noVerifyList(ZsWorkInfoBo bo, PageQuery pageQuery) { |
|
|
public TableDataInfo<ZsWorkInfoVo> noVerifyList(ZsWorkInfoBo bo, PageQuery pageQuery) { |
|
|
|
|
|
// 获取当前日期时间 |
|
|
|
|
|
LocalDateTime now = LocalDateTime.now(); |
|
|
|
|
|
|
|
|
|
|
|
// 定义格式 |
|
|
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); |
|
|
|
|
|
// 格式化输出 |
|
|
|
|
|
String formattedDateTime = now.format(formatter); |
|
|
|
|
|
LocalDate currentDate = LocalDate.now(); |
|
|
|
|
|
log.info("当前时间年月日时分秒: " + formattedDateTime); |
|
|
|
|
|
log.info("当前时间年月日: " + currentDate); |
|
|
return iZsWorkInfoService.queryPageList(bo, pageQuery); |
|
|
return iZsWorkInfoService.queryPageList(bo, pageQuery); |
|
|
} |
|
|
} |
|
|
|
|
|
|