瀏覽代碼

更新

master
huangjiajun 4 月之前
父節點
當前提交
672b7d07c8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/bigData/svc/svc_data.go

+ 1
- 1
app/bigData/svc/svc_data.go 查看文件

@@ -489,7 +489,7 @@ func NewSortingData(c *gin.Context) []map[string]string {
}
oIds = append(oIds, utils.Int64ToStr(v.Oid))
}
sql := `SELECT SUM(num) as num,SUM(success_num) as success_num,goods_title,sku FROM order_goods WHERE %s oid in (%s) and make_date=%s and goods_type=0 GROUP BY enterprise_id,goods_id,sku_id`
sql := `SELECT SUM(num) as num,SUM(success_num) as success_num,goods_title,sku FROM order_goods WHERE %s oid in (%s) and make_date=%s and goods_type=0 GROUP BY enterprise_id,goods_id,sku_id ORDER BY id asc`
str := ""
if args["name"] != "" {
str = " goods_title like %" + args["name"] + "% and "


Loading…
取消
儲存