|
|
@@ -506,7 +506,7 @@ func (this *OilContractReviewController) UpdateEntity() {
|
|
|
fmt.Print(i)
|
|
|
var temp contractEvaluationItems.OilContractEvaluationItems
|
|
|
temp.ContentReviewId ,_ = strconv.Atoi(id)
|
|
|
- temp.Type = v.Type
|
|
|
+ temp.Type = v.Category
|
|
|
temp.ItemId = v.ItemId
|
|
|
temp.Category = 0
|
|
|
temp.ParentId = v.ParentId
|
|
|
@@ -533,7 +533,7 @@ func (this *OilContractReviewController) UpdateEntity() {
|
|
|
fmt.Print(i)
|
|
|
var temp2 contractEvaluationItems.OilContractEvaluationItems
|
|
|
temp2.ContentReviewId ,_ = strconv.Atoi(id)
|
|
|
- temp2.Type = v.Type
|
|
|
+ temp2.Type = v.Category
|
|
|
temp2.ItemId = v.ItemId
|
|
|
temp2.Category = 1
|
|
|
temp2.ParentId = v.ParentId
|