|
|
@ -42,6 +42,7 @@ import com.mudu.service.ASafeZcrwwzService;
|
|
|
|
import com.mudu.service.SzsASafeZcyhxxService;
|
|
|
|
import com.mudu.service.SzsASafeZcyhxxService;
|
|
|
|
import com.mudu.service.impl.LoginService;
|
|
|
|
import com.mudu.service.impl.LoginService;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
@ -49,6 +50,7 @@ import org.springframework.context.annotation.Configuration;
|
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
|
@ -63,12 +65,12 @@ import java.util.UUID;
|
|
|
|
* @author dong
|
|
|
|
* @author dong
|
|
|
|
* @since 2024/3/12 16:37
|
|
|
|
* @since 2024/3/12 16:37
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
//@RestController
|
|
|
|
@RestController
|
|
|
|
//@RequestMapping("pharmaceuticals/aCheck")
|
|
|
|
@RequestMapping("pharmaceuticals/aCheck")
|
|
|
|
//@Api(tags = "新增")
|
|
|
|
@Api(tags = "新增")
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
//@Transactional(rollbackFor = Exception.class)
|
|
|
|
@Configuration
|
|
|
|
//@Configuration
|
|
|
|
@EnableScheduling
|
|
|
|
//@EnableScheduling
|
|
|
|
public class AcheckTaskQuartz {
|
|
|
|
public class AcheckTaskQuartz {
|
|
|
|
Logger logger = LoggerFactory.getLogger(AcheckTaskQuartz.class);
|
|
|
|
Logger logger = LoggerFactory.getLogger(AcheckTaskQuartz.class);
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -169,10 +171,10 @@ public class AcheckTaskQuartz {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @Param qymc 企业名称
|
|
|
|
* @Param qymc 企业名称
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Scheduled(cron = "0 0 4 * * ? ")
|
|
|
|
// @Scheduled(cron = "0 0 4 * * ? ")
|
|
|
|
// @Scheduled(cron = "0 0/5 * * * ?")
|
|
|
|
// @Scheduled(cron = "0 0/5 * * * ?")
|
|
|
|
// @PostMapping("/insert")
|
|
|
|
@PostMapping("/insert")
|
|
|
|
// @ApiOperation(value = "新增创建时间为昨天且处于审批通过的工单数据")
|
|
|
|
@ApiOperation(value = "新增创建时间为昨天且处于审批通过的工单数据")
|
|
|
|
public void selectAll() throws ParseException {
|
|
|
|
public void selectAll() throws ParseException {
|
|
|
|
|
|
|
|
|
|
|
|
// 获取token
|
|
|
|
// 获取token
|
|
|
|