feat:完善项目信息

This commit is contained in:
henry
2022-01-20 11:09:29 +08:00
parent bbbfab5b4d
commit 9348c8970c
7 changed files with 37 additions and 16 deletions

View File

@ -154,6 +154,8 @@ func (c *Research) Form(params *BasicParams, other *config.IdentityForResearch)
mManageResearch.Name = params.Name
mManageResearch.Code = params.Code
mManageResearch.License = other.FilterLicense()
mManageResearch.ExamineStatus = model2.ExamineStatusForAgree
mManageResearch.ExamineRemark = "主动创建,无需审核"
if isExist, err := params.isExist(mManageResearch.ManageResearch, model2.NewWhere("tenant_id", params.TenantID),
model2.NewWhere("code", params.Code)); err != nil {