|
|
|
@ -136,11 +136,6 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
Integer ichargeType = Integer.valueOf(chargeType); |
|
|
|
somap.put("charges_type", ichargeType); |
|
|
|
} |
|
|
|
//商品编号
|
|
|
|
String gsid=(String) qumap.get("goods_islicode"); |
|
|
|
if(gsid!=null){ |
|
|
|
somap.put("goods_islicode",gsid); |
|
|
|
} |
|
|
|
// 如果订单商品查询条件存在
|
|
|
|
if(somap.size()>0){ |
|
|
|
List<OrderGoodsDetail> sogdlist = orderGoodsDetailMapper.searchOrderGoodsInKey(somap); |
|
|
|
@ -151,10 +146,20 @@ public class OrderServiceImpl implements OrderService { |
|
|
|
} |
|
|
|
qumap.put("bcin", sbarr); |
|
|
|
} |
|
|
|
log.info("sogdlist is null"); |
|
|
|
} |
|
|
|
|
|
|
|
// 重新组合筛选条件
|
|
|
|
List<Order> orderList = orderMapper.getOrderList(qumap, starrs, limit); |
|
|
|
List<Order> orderList = new ArrayList<>(); |
|
|
|
//商品编号
|
|
|
|
String gsid=(String) qumap.get("goods_islicode"); |
|
|
|
if(gsid!=null){ |
|
|
|
// 查询商品关联订单
|
|
|
|
orderList = orderMapper.getGoodsInnerOrderList(gsid); |
|
|
|
somap.put("goods_islicode",gsid); |
|
|
|
}else { |
|
|
|
// 重新组合筛选条件
|
|
|
|
orderList = orderMapper.getOrderList(qumap, starrs, limit); |
|
|
|
} |
|
|
|
|
|
|
|
// 统计符合条件的总数
|
|
|
|
int total = orderMapper.countOrderByMap(qumap); |
|
|
|
|