定时任务删除两月推送

main
dongdingding 8 months ago
parent 4fce7b864e
commit b9d83a71a1

@ -37,12 +37,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);
/**
@ -651,8 +651,8 @@ public class AcheckTaskQuartz {
@Scheduled(cron = "0 0 4 * * ? ")
// @Scheduled(cron = "0 0/5 * * * ?")
// @PostMapping("/zicha")
// @ApiOperation(value = "自查")
@PostMapping("/zicha")
@ApiOperation(value = "自查")
public void zicha() throws ParseException {
// 获取token
getToken();

@ -13,14 +13,14 @@
</select>
<select id="getZcUuid" resultType="com.mudu.entity.dto.response.RwzqUuidResponse">
-- SELECT xxbh
-- FROM `a_safe_rwzq`
-- where RWLX = 'QYZC'
-- ORDER BY ZQJSSJ desc limit 1
SELECT xxbh
SELECT xxbh
FROM `a_safe_rwzq`
where RWLX = 'QYZC'
and ZQJSSJ = '2024-07-31 23:59:59'
ORDER BY ZQJSSJ desc limit 1
-- SELECT xxbh
-- FROM `a_safe_rwzq`
-- where RWLX = 'QYZC'
-- and ZQJSSJ = '2024-07-31 23:59:59'
</select>
</mapper>
Loading…
Cancel
Save