Bladeren bron

update

add_mode
DengBiao 1 jaar geleden
bovenliggende
commit
d9c190a63a
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. +2
    -1
      app/db/db_central_kitchen_for_school_user_with_day.go

+ 2
- 1
app/db/db_central_kitchen_for_school_user_with_day.go Bestand weergeven

@@ -91,7 +91,8 @@ func (centralKitchenForSchoolUserWithDayDb *CentralKitchenForSchoolUserWithDayDb
if startDate != "" {
sDate, _ := time.ParseInLocation("2006-01-02", startDate, 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 {
sess.In("kind", kindList)


Laden…
Annuleren
Opslaan