Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
8b7fd0d7fd
2 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/admin/hdl/hdl_enterprise.go
  2. BIN
     

+ 2
- 2
app/admin/hdl/hdl_enterprise.go View File

@@ -311,11 +311,11 @@ func EnterpriseUpdate(c *gin.Context) {
//新增 grade 数据 && class 数据
var classes []*model.Class
for _, v := range req.PeriodList {
if v.Id != 0 {
if v.Id == 0 {
//TODO::新增
insertId, err1 := periodDb.PeriodInsert(&model.Period{
EnterpriseId: req.Id,
Name: req.Name,
Name: v.Name,
BreakfastUnitPrice: "0.00",
LunchUnitPrice: "0.00",
DinnerUnitPrice: "0.00",


BIN
View File


Loading…
Cancel
Save