update
This commit is contained in:
+2
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user