作者 陈志颖

fix:共创项目新增

... ... @@ -195,6 +195,7 @@ func (cooperationProjectService *CooperationProjectService) CreateCooperationPro
UpdatedAt: time.Time{},
DeletedAt: time.Time{},
CreatedAt: time.Now(),
ApplicantCount: 0,
}
var cooperationProjectRepository domain.CooperationProjectRepository
if value, err := factory.CreateCooperationProjectRepository(map[string]interface{}{
... ...
... ... @@ -47,7 +47,7 @@ func (repository *CooperationProjectRepository) Save(cooperationProject *domain.
"updated_at",
"deleted_at",
"created_at",
"applicant_account",
"applicant_count",
}
insertFieldsSnippet := sqlbuilder.SqlFieldsSnippet(sqlBuildFields)
insertPlaceHoldersSnippet := sqlbuilder.SqlPlaceHoldersSnippet(sqlBuildFields)
... ...