1
This commit is contained in:
@@ -344,7 +344,7 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro
|
||||
//Data: orders,
|
||||
}
|
||||
if len(orders) > 0 {
|
||||
if permission.IsRoled(ctx) {
|
||||
//if permission.IsRoled(ctx) {
|
||||
task := tasksch.NewParallelTask("RefreshOrderFinancial", tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx,
|
||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||
order := batchItemList[0].(*model.GoodsOrderExt)
|
||||
@@ -396,9 +396,9 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro
|
||||
} else {
|
||||
pagedInfo.Data = orders
|
||||
}
|
||||
} else {
|
||||
/* } else {
|
||||
pagedInfo.Data = orders
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
return pagedInfo, err
|
||||
|
||||
Reference in New Issue
Block a user