This commit is contained in:
2025-12-10 10:43:21 +08:00
parent 179fe15746
commit bcbb9552fb
@@ -69,6 +69,7 @@ class DistrictSellStatBatch extends BaseBatch {
def weekend = obj.weekend def weekend = obj.weekend
def startMonth = DateUtils.formatDateByPattern(weekend, "yyyyMM").toInteger() def startMonth = DateUtils.formatDateByPattern(weekend, "yyyyMM").toInteger()
def months = DateUtils.getMonthList(startMonth) def months = DateUtils.getMonthList(startMonth)
if(months.size()>1){
months = months[1..(months.size()-1)] months = months[1..(months.size()-1)]
println months println months
for(def month : months){ for(def month : months){
@@ -82,6 +83,7 @@ class DistrictSellStatBatch extends BaseBatch {
} }
} }
} }
}
def getMomDate(int date){ def getMomDate(int date){