main
dongdingding 6 months ago
parent c080343611
commit a2f377100c

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

@ -94,3 +94,9 @@ tfgUrl: http://localhost:9028/mudu/aSafeTfg
zczqUrl: http://localhost:9028/mudu/aSafeZcrwRead/getByxxbh
#巡查周期url
xczqUrl: https://www.jichuanglanhai.com:88/csapi/mudu/aSafeXcrwRead/getByxxbh
# 获取新增企业信息
addEntUrl: https://www.jichuanglanhai.com:88/csapi/mudu/enterprise/findAddEnt
# 获取删除企业信息
findEntDelUrl: https://www.jichuanglanhai.com:88/csapi/mudu/enterprise/findEntDel

@ -2,7 +2,7 @@ server:
port: 9998
spring:
profiles:
active: prod
active: dev
#获取token
getToken: https://www.jichuanglanhai.com:88/loginnocaptcha

Loading…
Cancel
Save