|
@@ -92,7 +92,6 @@ func (centralKitchenForSchoolUserWithDayDb *CentralKitchenForSchoolUserWithDayDb |
|
|
sDate, _ := time.ParseInLocation("2006-01-02", startDate, time.Local) |
|
|
sDate, _ := time.ParseInLocation("2006-01-02", startDate, time.Local) |
|
|
eDate, _ := time.ParseInLocation("2006-01-02", endDate, time.Local) |
|
|
eDate, _ := time.ParseInLocation("2006-01-02", endDate, time.Local) |
|
|
sess.And("date >= ?", sDate.Format("2006-01-02")).And("date <= ?", eDate.Format("2006-01-02")) |
|
|
sess.And("date >= ?", sDate.Format("2006-01-02")).And("date <= ?", eDate.Format("2006-01-02")) |
|
|
g |
|
|
|
|
|
} |
|
|
} |
|
|
if len(kindList) > 0 { |
|
|
if len(kindList) > 0 { |
|
|
sess.In("kind", kindList) |
|
|
sess.In("kind", kindList) |
|
|