|
@@ -26,7 +26,7 @@ import (
|
|
|
//roadshow
|
|
|
|
|
|
//func init() {
|
|
|
-// UpdateMeetingreviewchaptResourceData(105)
|
|
|
+// UpdateMeetingreviewchaptResourceData(141)
|
|
|
//}
|
|
|
|
|
|
// 更新活动
|
|
@@ -589,6 +589,7 @@ func UpdateMeetingreviewchaptResourceData(sourceId int) {
|
|
|
industrialItem.CreateTime = time.Now()
|
|
|
industrialItems = append(industrialItems, industrialItem)
|
|
|
}
|
|
|
+ //return
|
|
|
var subjectItems []*cygx.CygxResourceDataIndustrialGroupSubject
|
|
|
//晨会精华如果关联的标的就做查询
|
|
|
if detail.IndustrialSubjectIds != "" {
|
|
@@ -839,29 +840,31 @@ func init1() {
|
|
|
// }
|
|
|
//}
|
|
|
|
|
|
- {
|
|
|
- //产品内测
|
|
|
- list, err := cygx.GetCygxProductInteriorList(condition, pars, 0, 9999999)
|
|
|
- if err != nil {
|
|
|
- fmt.Println(err)
|
|
|
- }
|
|
|
- for _, v := range list {
|
|
|
- fmt.Println(v.ProductInteriorId)
|
|
|
- UpdateProductInteriorResourceData(v.ProductInteriorId)
|
|
|
- }
|
|
|
- }
|
|
|
- //
|
|
|
//{
|
|
|
- // //晨会精华
|
|
|
- // list, err := cygx.GetCygxMorningMeetingReviewChapterList(condition, pars, 0, 9999999)
|
|
|
+ // //产品内测
|
|
|
+ // list, err := cygx.GetCygxProductInteriorList(condition, pars, 0, 9999999)
|
|
|
// if err != nil {
|
|
|
// fmt.Println(err)
|
|
|
// }
|
|
|
// for _, v := range list {
|
|
|
- // fmt.Println(v.Id)
|
|
|
- // UpdateMeetingreviewchaptResourceData(v.Id)
|
|
|
+ // fmt.Println(v.ProductInteriorId)
|
|
|
+ // UpdateProductInteriorResourceData(v.ProductInteriorId)
|
|
|
// }
|
|
|
//}
|
|
|
+ //
|
|
|
+
|
|
|
+ {
|
|
|
+ //晨会精华
|
|
|
+ list, err := cygx.GetCygxMorningMeetingReviewChapterList(condition, pars, 0, 9999999)
|
|
|
+ if err != nil {
|
|
|
+ fmt.Println(err)
|
|
|
+ }
|
|
|
+ for _, v := range list {
|
|
|
+ fmt.Println(v.Id)
|
|
|
+ UpdateMeetingreviewchaptResourceData(v.Id)
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
//
|
|
|
//{
|
|
|
// //重点公司
|