|
@@ -9,6 +9,7 @@ import (
|
|
|
"eta/eta_api/utils"
|
|
|
"fmt"
|
|
|
"github.com/rdlucklib/rdluck_tools/paging"
|
|
|
+ "strconv"
|
|
|
"time"
|
|
|
)
|
|
|
|
|
@@ -52,6 +53,9 @@ func (this *AiController) AiSummaryClassifyItems() {
|
|
|
br.ErrMsg = "获取数据失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+ for k := range rootList {
|
|
|
+ rootList[k].UniqueCode = strconv.Itoa(rootList[k].AiSummaryClassifyId) + "_" + strconv.Itoa(rootList[k].AiSummaryId)
|
|
|
+ }
|
|
|
|
|
|
classifyAll, err := ai_summary.GetAiSummaryClassifyAndInfoByParentId(aiSummaryClassifyId)
|
|
|
if err != nil && err.Error() != utils.ErrNoRow() {
|
|
@@ -59,6 +63,9 @@ func (this *AiController) AiSummaryClassifyItems() {
|
|
|
br.ErrMsg = "获取数据失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+ for k := range classifyAll {
|
|
|
+ classifyAll[k].UniqueCode = strconv.Itoa(classifyAll[k].AiSummaryClassifyId) + "_" + strconv.Itoa(classifyAll[k].AiSummaryId)
|
|
|
+ }
|
|
|
|
|
|
nodeAll := make([]*ai_summary.AiSummaryClassifyItems, 0)
|
|
|
for k := range rootList {
|