|
@@ -1236,7 +1236,7 @@ func SelfSupportForSchoolConsumeLimit(c *gin.Context) { |
|
|
m.RosterPeriodConsumeLimitConfigList = utils.SerializeStr(req.RosterPeriodConsumeLimitConfigList) |
|
|
m.RosterPeriodConsumeLimitConfigList = utils.SerializeStr(req.RosterPeriodConsumeLimitConfigList) |
|
|
m.UpdateAt = now.Format("2006-01-02 15:04:05") |
|
|
m.UpdateAt = now.Format("2006-01-02 15:04:05") |
|
|
_, err1 := selfSupportForUserConsumeLimitDb.SelfSupportForUserConsumeLimitUpdate(m, |
|
|
_, err1 := selfSupportForUserConsumeLimitDb.SelfSupportForUserConsumeLimitUpdate(m, |
|
|
"enterprise_id", "user_identity_id", "daily_consume_limit", "single_consume_limit", "daily_consume_number", "roster_period_consume_limit_config_list") |
|
|
|
|
|
|
|
|
"enterprise_id", "user_identity_id", "daily_consume_limit", "single_consume_limit", "daily_max_consume_times", "roster_period_consume_limit_config_list") |
|
|
if err1 != nil { |
|
|
if err1 != nil { |
|
|
e.OutErr(c, e.ERR_DB_ORM, err1.Error()) |
|
|
e.OutErr(c, e.ERR_DB_ORM, err1.Error()) |
|
|
return |
|
|
return |
|
|