|
@@ -97,6 +97,9 @@ func AddCygxAskserieVideo(item *CygxAskserieVideo, industrialManagementIds strin
|
|
for _, v := range industrialManagementIdList {
|
|
for _, v := range industrialManagementIdList {
|
|
itemIndustrialManagementGroup := new(CygxIndustrialAskserieVideoGroupManagement)
|
|
itemIndustrialManagementGroup := new(CygxIndustrialAskserieVideoGroupManagement)
|
|
newIndustrialId, _ := strconv.Atoi(v)
|
|
newIndustrialId, _ := strconv.Atoi(v)
|
|
|
|
+ if newIndustrialId == 0 {
|
|
|
|
+ continue
|
|
|
|
+ }
|
|
itemIndustrialManagementGroup.CreateTime = time.Now()
|
|
itemIndustrialManagementGroup.CreateTime = time.Now()
|
|
itemIndustrialManagementGroup.AskserieVideoId = int(newId)
|
|
itemIndustrialManagementGroup.AskserieVideoId = int(newId)
|
|
itemIndustrialManagementGroup.IndustrialManagementId = newIndustrialId
|
|
itemIndustrialManagementGroup.IndustrialManagementId = newIndustrialId
|