|
|
@@ -910,6 +910,8 @@ func SetBasicCentralKitchenForSchool(c *gin.Context) { |
|
|
|
set.IsOpenTeacherReportMealForMonth = req.IsOpenTeacherReportMealForMonth |
|
|
|
set.IsOpenTeacherReportMealForSemester = req.IsOpenTeacherReportMealForSemester |
|
|
|
set.IsOpenLimitOrderFood = req.IsOpenLimitOrderFood |
|
|
|
set.OrderFoodStartDate = req.OrderFoodStartDate |
|
|
|
set.OrderFoodEndDate = req.OrderFoodEndDate |
|
|
|
set.IsOpenLimitTeacherRegister = req.IsOpenLimitTeacherRegister |
|
|
|
set.UpdateAt = now.Format("2006-01-02 15:04:05") |
|
|
|
|
|
|
@@ -931,6 +933,8 @@ func SetBasicCentralKitchenForSchool(c *gin.Context) { |
|
|
|
IsOpenTeacherReportMealForMonth: req.IsOpenTeacherReportMealForMonth, |
|
|
|
IsOpenTeacherReportMealForSemester: req.IsOpenTeacherReportMealForSemester, |
|
|
|
IsOpenLimitOrderFood: req.IsOpenLimitOrderFood, |
|
|
|
OrderFoodStartDate: req.OrderFoodStartDate, |
|
|
|
OrderFoodEndDate: req.OrderFoodEndDate, |
|
|
|
IsOpenLimitTeacherRegister: req.IsOpenLimitTeacherRegister, |
|
|
|
CreateAt: now.Format("2006-01-02 15:04:05"), |
|
|
|
UpdateAt: now.Format("2006-01-02 15:04:05"), |
|
|
@@ -1030,6 +1034,8 @@ func GetBasicCentralKitchenForSchool(c *gin.Context) { |
|
|
|
IsOpenTeacherReportMealForMonth: 1, |
|
|
|
IsOpenTeacherReportMealForSemester: 1, |
|
|
|
IsOpenLimitOrderFood: 2, |
|
|
|
OrderFoodStartDate: 1, |
|
|
|
OrderFoodEndDate: 31, |
|
|
|
IsOpenLimitTeacherRegister: 2, |
|
|
|
CreateAt: time.Now().Format("2006-01-02 15:04:05"), |
|
|
|
UpdateAt: time.Now().Format("2006-01-02 15:04:05"), |
|
|
|