fix:修复

v3
chenhc 3 months ago
parent 3c98cf98e3
commit c5ddda6b13

@ -32,7 +32,7 @@ public class ThirdAliDrugClearResCodeCountTask implements SchedulingConfigurer {
public void configureTasks(ScheduledTaskRegistrar scheduledTaskRegistrar) {
scheduledTaskRegistrar.addTriggerTask(() -> process(),
triggerContext -> {
String cron = "0 0 * * * ?";//每天0点
String cron = "0 0 0 * * ?";//每天0点
if (cron.isEmpty()) {
logger.error("cron is null");
}

@ -331,7 +331,7 @@ CALL Pro_Temp_ColumnWork('third_ali_drug', 'packUnitName',
' varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT ''包装单位''',
1);
INSERT IGNORE INTO `scheduled` (`id`, `cronName`, `cron`, `customerId`) VALUES (11, 'thirdAliDrugTask', '0 0 */2 * * ?', NULL);
INSERT IGNORE INTO `scheduled` (`id`, `cronName`, `cron`, `customerId`) VALUES (11, 'thirdAliDrugTask', '0 0 0 * * 6', NULL);
CREATE TABLE IF NOT EXISTS `auth_ali_user`
(

Loading…
Cancel
Save