This commit is contained in:
2024-08-14 14:45:51 +08:00
parent 6872caffc1
commit 6ed32bce1d
@@ -37,7 +37,7 @@ class ThardParthAnalyBatch extends BaseBatch{
def run(){
def fjwTotalCount = CommonDatautils.findAllCount("district")
def mdate = DateUtils.formatDateByPattern(DateUtils.getFirstDayOfMonth(new Date(), -2), "yyyy-MM-dd")
def mdate = DateUtils.formatDateByPattern(DateUtils.getFirstDayOfMonth(new Date(), -1), "yyyy-MM-dd")
def sDate = Integer.parseInt(DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -2, "yyyyMM"));
println "统计月份:"+sDate+" 查询更新时间:"+mdate