aa
This commit is contained in:
@@ -17,8 +17,8 @@ func SimFlowDaySettle() (err error) {
|
||||
var (
|
||||
db = globals.GetDB()
|
||||
now = time.Now()
|
||||
monthBegin = utils.Str2Time(utils.Int2Str(now.Year()) + "-" + utils.Int2Str(int(now.Month())) + "-01 00:00:00")
|
||||
monthEnd = monthBegin.AddDate(0, 1, 0).AddDate(0, 0, -1)
|
||||
monthBegin = utils.Str2Time(now.Format("2006-01") + "-01 00:00:00")
|
||||
monthEnd = utils.Str2Time(monthBegin.AddDate(0, 1, 0).AddDate(0, 0, -1).Format("2006-01-02") + " 23:59:59")
|
||||
)
|
||||
globals.SugarLogger.Debugf("SimFlowDaySettle Begin monthBegin %v, monthEnd %v", monthBegin, monthEnd)
|
||||
//月末好像不用算超不超了
|
||||
|
||||
Reference in New Issue
Block a user