|
@@ -219,7 +219,7 @@ public class OrderClubServiceImpl implements OrderClubService {
|
|
|
order.setRechargeGoods(true);
|
|
|
}
|
|
|
//是否能退货
|
|
|
- if(null!=orderProduct.getReturnGoodsStutas()&&2==orderProduct.getReturnGoodsStutas()){
|
|
|
+ if (null != orderProduct.getReturnGoodsStutas() && 2 == orderProduct.getReturnGoodsStutas()) {
|
|
|
String helpContent = orderCommonMapper.getHelpContent(1040);
|
|
|
orderProduct.setHelpContent(helpContent);
|
|
|
}
|
|
@@ -275,16 +275,16 @@ public class OrderClubServiceImpl implements OrderClubService {
|
|
|
// 收货地址
|
|
|
OrderUserinfoVo userInfo = addressMapper.getOrderUserinfo(orderId);
|
|
|
//订单中存在不能退货的商品则给出不能退货提示
|
|
|
- boolean flag=false;
|
|
|
- String helpContent=null;
|
|
|
- if(null!=shopOrderList&&shopOrderList.size()>0){
|
|
|
- for (ShopOrderVo so:shopOrderList) {
|
|
|
+ boolean flag = false;
|
|
|
+ String helpContent = null;
|
|
|
+ if (null != shopOrderList && shopOrderList.size() > 0) {
|
|
|
+ for (ShopOrderVo so : shopOrderList) {
|
|
|
List<OrderProductVo> orderProductList = so.getOrderProductList();
|
|
|
- if(null!=orderProductList&&orderProductList.size()>0){
|
|
|
- for (OrderProductVo op:orderProductList) {
|
|
|
- if(null!=op.getReturnGoodsStutas()&&op.getReturnGoodsStutas()==2){
|
|
|
- flag=true;
|
|
|
- helpContent=op.getHelpContent();
|
|
|
+ if (null != orderProductList && orderProductList.size() > 0) {
|
|
|
+ for (OrderProductVo op : orderProductList) {
|
|
|
+ if (null != op.getReturnGoodsStutas() && op.getReturnGoodsStutas() == 2) {
|
|
|
+ flag = true;
|
|
|
+ helpContent = op.getHelpContent();
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -299,10 +299,10 @@ public class OrderClubServiceImpl implements OrderClubService {
|
|
|
map.put("discernReceiptList", discernReceiptList);
|
|
|
map.put("returnedPurchaseList", returnedPurchaseList);
|
|
|
map.put("clause", clause);
|
|
|
- if(flag){
|
|
|
+ if (flag) {
|
|
|
map.put("returnGoodsStutas", 2);
|
|
|
map.put("helpContent", helpContent);
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
map.put("returnGoodsStutas", 1);
|
|
|
map.put("helpContent", null);
|
|
|
}
|
|
@@ -449,12 +449,9 @@ public class OrderClubServiceImpl implements OrderClubService {
|
|
|
executorService.schedule(new Runnable() {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
-// String orderno = orderClubMapper.getOrderNo(orderId);
|
|
|
OrderVo orderVo = orderClubMapper.getOrderMess(orderId);
|
|
|
-
|
|
|
String bindMobile = baseMapper.getBindMobileByUserId(order.getBuyUserId());
|
|
|
log.info(">>>>>>>>>>>>>>>>>>>>>>" + orderId);
|
|
|
-
|
|
|
log.info(">>>>>>>>>>>>>>>>>>>>>>" + orderVo.getProCount());
|
|
|
String name = orderVo.getProName();
|
|
|
if (name.length() > 10) {
|