|
|
@@ -2,7 +2,6 @@ package svc |
|
|
|
|
|
|
|
import ( |
|
|
|
md2 "applet/app/admin/md" |
|
|
|
"applet/app/admin/svc/order" |
|
|
|
"applet/app/bigData/md" |
|
|
|
"applet/app/db" |
|
|
|
"applet/app/db/model" |
|
|
@@ -228,7 +227,7 @@ func LeftDataForSorting() (resp []md.LeftDataForMakeResp, err error) { |
|
|
|
} |
|
|
|
var oIds []int64 |
|
|
|
for _, v := range orders { |
|
|
|
v1 := order.JudgePackageOrdOrdState(&v) |
|
|
|
v1 := v |
|
|
|
if v1.State == 4 || v1.State == 5 { |
|
|
|
continue |
|
|
|
} |
|
|
@@ -435,8 +434,6 @@ func NewSortingCate() []map[string]string { |
|
|
|
if utils.InArr(utils.IntToStr(v.EnterpriseId), ids) { |
|
|
|
continue |
|
|
|
} |
|
|
|
v1 := order.JudgePackageOrdOrdState(&v) |
|
|
|
v = *v1 |
|
|
|
tmp := map[string]string{ |
|
|
|
"id": utils.IntToStr(v.EnterpriseId), |
|
|
|
"name": enterpriseMap[v.EnterpriseId].Name, |
|
|
@@ -474,7 +471,7 @@ func NewSortingData(c *gin.Context) []map[string]string { |
|
|
|
} |
|
|
|
var oIds []string |
|
|
|
for _, v := range orders { |
|
|
|
v1 := order.JudgePackageOrdOrdState(&v) |
|
|
|
v1 := v |
|
|
|
if v1.State == 4 || v1.State == 5 { |
|
|
|
continue |
|
|
|
} |
|
|
@@ -522,7 +519,7 @@ func NewSortingGoodsCate() []map[string]string { |
|
|
|
} |
|
|
|
var oIds []string |
|
|
|
for _, v := range orders { |
|
|
|
v1 := order.JudgePackageOrdOrdState(&v) |
|
|
|
v1 := v |
|
|
|
if v1.State == 4 || v1.State == 5 { |
|
|
|
continue |
|
|
|
} |
|
|
@@ -582,7 +579,7 @@ func NewSortingGoodsData(arg map[string]string) []map[string]string { |
|
|
|
} |
|
|
|
var oIds []string |
|
|
|
for _, v := range orders { |
|
|
|
v1 := order.JudgePackageOrdOrdState(&v) |
|
|
|
v1 := v |
|
|
|
if v1.State == 4 || v1.State == 5 { |
|
|
|
continue |
|
|
|
} |
|
|
|