| | |
| | | |
| | | //手动排序 |
| | | if(StringUtils.isNotEmpty(search.getOrderByColumn())){ |
| | | if("selling_price".equals(search.getOrderByColumn())){ |
| | | if("tgs.selling_price".equals(search.getOrderByColumn())){ |
| | | list.sort(new Comparator<GoodsVO>() { |
| | | @Override |
| | | public int compare(GoodsVO o1, GoodsVO o2) { |
| | |
| | | area.setProvinceCode(goodsArea.getProvinceCode()); |
| | | area.setCityCode(goodsArea.getCityCode()); |
| | | area.setDistrictsCode(goodsArea.getDistrictsCode()); |
| | | area.setSuperiorType("2"); |
| | | area.setSuperiorPriceType("2"); |
| | | // if(null != area.getSellingPrice() || null != area.getIntegral()){ |
| | | // goodsAreaList2.add(area); |
| | | // } |
| | |
| | | goodsVipList.forEach(item -> { |
| | | item.setId(null); |
| | | item.setGoodsId(id); |
| | | item.setSuperiorType("2"); |
| | | item.setSuperiorPriceType("2"); |
| | | }); |
| | | goodsVipService.saveBatch(goodsVipList); |
| | | } |
| | |
| | | } |
| | | return price; |
| | | } |
| | | |
| | | } |