|
@@ -416,8 +416,8 @@ func SelfSupportForSchoolStudentUpdate(req md.SelfSupportForSchoolStudentUpdateR |
|
|
now := time.Now() |
|
|
now := time.Now() |
|
|
selfSupportForSchoolInfoDb := db.SelfSupportForSchoolInfoDb{} |
|
|
selfSupportForSchoolInfoDb := db.SelfSupportForSchoolInfoDb{} |
|
|
selfSupportForSchoolInfoDb.Set(req.EnterpriseId) |
|
|
selfSupportForSchoolInfoDb.Set(req.EnterpriseId) |
|
|
selfSupportForSchoolInfo, err := selfSupportForSchoolInfoDb.GetSelfSupportForSchoolInfo() |
|
|
|
|
|
if err != nil { |
|
|
|
|
|
|
|
|
selfSupportForSchoolInfo, err1 := selfSupportForSchoolInfoDb.GetSelfSupportForSchoolInfo() |
|
|
|
|
|
if err1 != nil { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if selfSupportForSchoolInfo == nil { |
|
|
if selfSupportForSchoolInfo == nil { |
|
@@ -438,7 +438,7 @@ func SelfSupportForSchoolStudentUpdate(req md.SelfSupportForSchoolStudentUpdateR |
|
|
CreateAt: now.Format("2006-01-02 15:04:05"), |
|
|
CreateAt: now.Format("2006-01-02 15:04:05"), |
|
|
UpdateAt: now.Format("2006-01-02 15:04:05"), |
|
|
UpdateAt: now.Format("2006-01-02 15:04:05"), |
|
|
} |
|
|
} |
|
|
_, err1 := selfSupportForUserFaceInfoDb.SelfSupportForUserFaceInfoInsert(info) |
|
|
|
|
|
|
|
|
_, err1 = selfSupportForUserFaceInfoDb.SelfSupportForUserFaceInfoInsert(info) |
|
|
if err1 != nil { |
|
|
if err1 != nil { |
|
|
return err1 |
|
|
return err1 |
|
|
} |
|
|
} |
|
|