Commit c55973f2 by zhiheng.zhang

为空直接返回

parent fc84bc07
......@@ -2429,7 +2429,7 @@ public class OrderServiceImpl implements Orderservice {
Map<String, Object> responseMap = Maps.newTreeMap();
//用户无订单数据
if (orderInfoReqs.getResult() == null || orderInfoReqs.getTotalNum()== 0) {
return ResponseUtil.success(orderInfoReqs);
return ResponseUtil.success();
}
responseVos = orderInfoReqs.getResult().stream().map(
orderBean -> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment