作者 tangxvhui

调整初始数据

@@ -151,6 +151,18 @@ func (l *SystemUserInfoLogic) initSystemData(companyId int64) error { @@ -151,6 +151,18 @@ func (l *SystemUserInfoLogic) initSystemData(companyId int64) error {
151 Id: 0, CompanyId: companyId, Image: domain.Image{Url: "", Width: 0, Height: 0}, 151 Id: 0, CompanyId: companyId, Image: domain.Image{Url: "", Width: 0, Height: 0},
152 Name: "中机会低风险", Category: "机会风险", Remark: "解决问题多手准备", SortBy: 10, 152 Name: "中机会低风险", Category: "机会风险", Remark: "解决问题多手准备", SortBy: 10,
153 }, 153 },
  154 + {
  155 + Id: 0, CompanyId: companyId, Image: domain.Image{Url: "", Width: 0, Height: 0},
  156 + Name: "小机会高风险", Category: "机会风险", Remark: "有空看看", SortBy: 11,
  157 + },
  158 + {
  159 + Id: 0, CompanyId: companyId, Image: domain.Image{Url: "", Width: 0, Height: 0},
  160 + Name: "小机会中风险", Category: "机会风险", Remark: "持续监控做好控制", SortBy: 12,
  161 + },
  162 + {
  163 + Id: 0, CompanyId: companyId, Image: domain.Image{Url: "", Width: 0, Height: 0},
  164 + Name: "小机会低风险", Category: "机会风险", Remark: "全员警戒马上解决", SortBy: 13,
  165 + },
154 } 166 }
155 err = l.svcCtx.ArticleTagRepository.CreateInBatches(l.ctx, conn, articleTags) 167 err = l.svcCtx.ArticleTagRepository.CreateInBatches(l.ctx, conn, articleTags)
156 if err != nil { 168 if err != nil {