|
@@ -242,7 +242,8 @@ func setPaceMap(info map[string]interface{}) ([]map[string]interface{}, []string
|
|
|
if packages, ok := info["package"].(map[string]interface{}); ok && len(packages) > 0 {
|
|
|
for k, tmpackage := range packages { //遍历分包
|
|
|
if tmppack, ok := tmpackage.(map[string]interface{}); ok {
|
|
|
- isNew, _ := tmppack["isnew"].(bool)
|
|
|
+ //isNew, _ := tmppack["isnew"].(bool)
|
|
|
+ isNew := false
|
|
|
status := "-1"
|
|
|
if tmppack["package_son"] != nil {
|
|
|
status = "1"
|
|
@@ -335,7 +336,8 @@ func setPurchasingMap(info map[string]interface{}) ([]interface{}, []map[string]
|
|
|
if tmpcls, ok := info["purchasinglist"].([]interface{}); ok {
|
|
|
for _, v := range tmpcls {
|
|
|
if pcl, ok := v.(map[string]interface{}); ok {
|
|
|
- isNew, _ := pcl["isnew"].(bool)
|
|
|
+ //isNew, _ := pcl["isnew"].(bool)
|
|
|
+ isNew := false
|
|
|
status := "-1"
|
|
|
if pcl["purchasinglist_son"] != nil {
|
|
|
status = "1"
|
|
@@ -378,7 +380,8 @@ func setWorderMap(info map[string]interface{}) ([]interface{}, []map[string]inte
|
|
|
if tmpwds, ok := info["winnerorder"].([]interface{}); ok {
|
|
|
for _, v := range tmpwds {
|
|
|
if wd, ok := v.(map[string]interface{}); ok {
|
|
|
- isNew, _ := wd["isnew"].(bool)
|
|
|
+ //isNew, _ := wd["isnew"].(bool)
|
|
|
+ isNew := false
|
|
|
status := "-1"
|
|
|
if wd["winnerorder_son"] != nil {
|
|
|
status = "1"
|