|
@@ -856,8 +856,9 @@ func CentralKitchenForSchoolReserveUpdateStudent(c *gin.Context) { |
|
|
} |
|
|
} |
|
|
centralKitchenForSchoolPackageOrdForReserve.UserIdentityId = req.UserIdentityId |
|
|
centralKitchenForSchoolPackageOrdForReserve.UserIdentityId = req.UserIdentityId |
|
|
centralKitchenForSchoolPackageOrdForReserve.UserIdentityName = identity.Name |
|
|
centralKitchenForSchoolPackageOrdForReserve.UserIdentityName = identity.Name |
|
|
|
|
|
centralKitchenForSchoolPackageOrdForReserve.EnterpriseId = identity.EnterpriseId |
|
|
centralKitchenForSchoolPackageOrdForReserve.UpdateAt = time.Now().Format("2006-01-02 15:04:05") |
|
|
centralKitchenForSchoolPackageOrdForReserve.UpdateAt = time.Now().Format("2006-01-02 15:04:05") |
|
|
updateAffected, err := centralKitchenForSchoolPackageOrdForReserveDb.CentralKitchenForSchoolPackageOrdForReserveUpdate(centralKitchenForSchoolPackageOrdForReserve, "user_identity_name", "user_identity_id", "update_at") |
|
|
|
|
|
|
|
|
updateAffected, err := centralKitchenForSchoolPackageOrdForReserveDb.CentralKitchenForSchoolPackageOrdForReserveUpdate(centralKitchenForSchoolPackageOrdForReserve, "enterprise_id", "user_identity_name", "user_identity_id", "update_at") |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
e.OutErr(c, e.ERR_DB_ORM, err.Error()) |
|
|
e.OutErr(c, e.ERR_DB_ORM, err.Error()) |
|
|
return |
|
|
return |
|
|