切换导航条
此项目
正在载入...
登录
allied-creation
/
performance
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
tangxvhui
2 years ago
提交
1a957d382c7e08a40e657e512d93a0698e507c30
1 个父辈
2337f5cb
新增结构
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
17 行增加
和
2 行删除
pkg/application/summary_evaluation/adapter/cycle_list.go
pkg/domain/evaluation_item_used.go
pkg/domain/summary_evaluation.go
pkg/infrastructure/repository/pg_evaluation_item_used_repository.go
pkg/application/summary_evaluation/adapter/cycle_list.go
0 → 100644
查看文件 @
1a957d3
package
adapter
//综合评估的周期列表
type
CycleList
struct
{
CycleId
int
`json:"cycleId,string"`
//周期id
CycleName
string
`json:"cycleName"`
//
}
...
...
pkg/domain/evaluation_item_used.go
查看文件 @
1a957d3
...
...
@@ -5,8 +5,9 @@ import "time"
// 实际被应用的评估条目
type
EvaluationItemUsed
struct
{
Id
int
//id
CompanyId
int
//公司id
EvaluationProjectId
int
//对应的项目id
NodeId
string
//填写评估评估节点对应id
NodeId
int
//填写评估评估节点对应id
NodeType
string
//填写评估评估节点对应类型同evaluation_template.go->LinkNode.Type,
SortBy
int
//排序
Category
string
//类别
...
...
@@ -20,5 +21,9 @@ type EvaluationItemUsed struct {
Required
int
// 必填项
CreatedAt
time
.
Time
//数据创建时间
UpdatedAt
time
.
Time
//数据更新时间
DeletedAt
*
time
.
Time
}
type
EvaluationItemUsedRepository
interface
{
Insert
(
Item
[]
EvaluationItemUsed
)
(
*
EvaluationItemUsed
,
error
)
Find
(
queryOptions
map
[
string
]
interface
{})
(
int64
,
[]
*
EvaluationItemUsed
,
error
)
}
...
...
pkg/domain/summary_evaluation.go
查看文件 @
1a957d3
...
...
@@ -5,6 +5,7 @@ import "time"
// 周综合评估
type
SummaryEvaluation
struct
{
Id
int
CompanyId
int
//公司id
EvaluationProjectId
int
//对应的项目id
EvaluationProjectName
string
//对应的项目名称
CycleId
int64
//对应的周期id
...
...
pkg/infrastructure/repository/pg_evaluation_item_used_repository.go
0 → 100644
查看文件 @
1a957d3
package
repository
...
...
请
注册
或
登录
后发表评论