|
|
@@ -31,7 +31,7 @@ func OwnBuyTotal(engine *xorm.Engine, uid interface{}, task map[string]string, t |
|
|
|
} |
|
|
|
total += mallTotal |
|
|
|
//确认收货的才算 |
|
|
|
b2cTotal, err := db.MallOrdByTimeWithCount(engine, uid, 0, []string{"3", "4"}, mallStime.Format("2006-01-02 15:04:05"), mallEtime.Format("2006-01-02 15:04:05")) |
|
|
|
b2cTotal, err := db.B2cOrdByTimeWithCount(engine, uid, 0, []string{"3", "4"}, mallStime.Format("2006-01-02 15:04:05"), mallEtime.Format("2006-01-02 15:04:05")) |
|
|
|
if err != nil { |
|
|
|
zhios_condition_statistics_logx.Warn(err) |
|
|
|
return zhios_condition_statistics_utils.Int64ToStr(total) |
|
|
|