Commit 73bf7ffb authored by taabe's avatar taabe

1、停止公开所有端点

2、修改生成计划任务执行日期bug 3、p_plan_task user_id字段更改类型为text
parent 1f15992d
...@@ -346,6 +346,8 @@ public class PlanTaskUtil { ...@@ -346,6 +346,8 @@ public class PlanTaskUtil {
init = init + exeInt; init = init + exeInt;
mounthFirstDate = DateUtil.getIntervalDate(DateUtil.getEndMonthDate(exeDate, init), 1); mounthFirstDate = DateUtil.getIntervalDate(DateUtil.getEndMonthDate(exeDate, init), 1);
} }
} else {
return null;
} }
} }
} else if (XJConstant.FIX_DATE_NO.equals(isFixDate)) { } else if (XJConstant.FIX_DATE_NO.equals(isFixDate)) {
...@@ -411,6 +413,8 @@ public class PlanTaskUtil { ...@@ -411,6 +413,8 @@ public class PlanTaskUtil {
} }
init = init + exeInt; init = init + exeInt;
strPlanDegin = DateUtil.getIntervalYearDate(exeDate, init); strPlanDegin = DateUtil.getIntervalYearDate(exeDate, init);
} else {
return null;
} }
} }
} }
......
...@@ -9,4 +9,9 @@ spring.jackson.dateFormat=yyyy-MM-dd HH:mm:ss ...@@ -9,4 +9,9 @@ spring.jackson.dateFormat=yyyy-MM-dd HH:mm:ss
AmosRisk.fegin.name=YeeAmosRiskMode-237 AmosRisk.fegin.name=YeeAmosRiskMode-237
Push.fegin.name=JPUSH Push.fegin.name=JPUSH
\ No newline at end of file
#停止通过WEB公开所有端点
management.endpoints.web.exposure.exclude=*
#停止通过JMX公开所有端点
management.endpoints.jmx.exposure.exclude=*
\ No newline at end of file
...@@ -63,4 +63,11 @@ ...@@ -63,4 +63,11 @@
ADD COLUMN `executor_date` datetime DEFAULT NULL COMMENT '执行时间'; ADD COLUMN `executor_date` datetime DEFAULT NULL COMMENT '执行时间';
</sql> </sql>
</changeSet> </changeSet>
<changeSet id="1580000025-2" author="tb">
<preConditions onFail="MARK_RAN">
<columnExists columnName="user_id" tableName="p_plan_task"/>
</preConditions>
<sql> ALTER TABLE `p_plan_task`MODIFY COLUMN `user_id` text COMMENT '用户编号'; </sql>
</changeSet>
</databaseChangeLog> </databaseChangeLog>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment