|
@@ -801,6 +801,7 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
**/
|
|
**/
|
|
|
// @Scheduled(cron = "0 0 0 * * ?")
|
|
// @Scheduled(cron = "0 0 0 * * ?")
|
|
|
public void hxpExpired() {
|
|
public void hxpExpired() {
|
|
|
|
|
+ logger.info("化学品已过期、化学品即将过期定时任务!");
|
|
|
// 查询配置
|
|
// 查询配置
|
|
|
ResultData<WarningConfigDto> byType = remoteLaboratoryService.getByType(2);
|
|
ResultData<WarningConfigDto> byType = remoteLaboratoryService.getByType(2);
|
|
|
if (HttpStatus.SUCCESS != byType.getCode()) {
|
|
if (HttpStatus.SUCCESS != byType.getCode()) {
|
|
@@ -971,6 +972,7 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
**/
|
|
**/
|
|
|
// @Scheduled(cron = "0 0 0 * * ?")
|
|
// @Scheduled(cron = "0 0 0 * * ?")
|
|
|
public void hxpTimeOut() {
|
|
public void hxpTimeOut() {
|
|
|
|
|
+ logger.info("化学品超时未归还定时任务!");
|
|
|
// 查询配置
|
|
// 查询配置
|
|
|
ResultData<WarningConfigDto> byType = remoteLaboratoryService.getByType(2);
|
|
ResultData<WarningConfigDto> byType = remoteLaboratoryService.getByType(2);
|
|
|
if (HttpStatus.SUCCESS != byType.getCode()) {
|
|
if (HttpStatus.SUCCESS != byType.getCode()) {
|