|
@@ -256,7 +256,8 @@ func tagAddSync() {
|
|
|
if k == 0 {
|
|
|
cfg.LastOrderTime = autoUpdate
|
|
|
}
|
|
|
- orderDatas := TiDb.Find("dwd_f_userbase_order_info", map[string]interface{}{"uid": uId, "order_status": 1, "delete_status": 0}, "", "", -1, -1)
|
|
|
+ //orderDatas := TiDb.Find("dwd_f_userbase_order_info", map[string]interface{}{"uid": uId, "order_status": 1, "delete_status": 0}, "", "", -1, -1)
|
|
|
+ orderDatas := TiDb.SelectBySql("select * from dwd_f_userbase_order_info where uid=? and order_status=1 and delete_status=0 and payable_money > 0", uId)
|
|
|
if orderDatas != nil && len(*orderDatas) > 0 {
|
|
|
product_type_arr, product_type_arrs := []string{}, []string{}
|
|
|
for _, v := range *orderDatas {
|