Authored by chenchao

remove sort by code

@@ -265,12 +265,13 @@ public class ImperfectPublishProcessor implements PublishProcessor<ImperfectOrde @@ -265,12 +265,13 @@ public class ImperfectPublishProcessor implements PublishProcessor<ImperfectOrde
265 iosr.getUid(), iosr.getStorageId(), imageList); 265 iosr.getUid(), iosr.getStorageId(), imageList);
266 throw new UfoServiceException(400, "没有上传实物图"); 266 throw new UfoServiceException(400, "没有上传实物图");
267 } 267 }
  268 + /*
268 Collections.sort(featureImageList, new Comparator<ImperfectGoodsImage>() { 269 Collections.sort(featureImageList, new Comparator<ImperfectGoodsImage>() {
269 @Override 270 @Override
270 public int compare(ImperfectGoodsImage o1, ImperfectGoodsImage o2) { 271 public int compare(ImperfectGoodsImage o1, ImperfectGoodsImage o2) {
271 return o1.getCode() - o2.getCode(); 272 return o1.getCode() - o2.getCode();
272 } 273 }
273 - }); 274 + });*/
274 ImperfectGoodsImage defaultIGI = featureImageList.get(0); 275 ImperfectGoodsImage defaultIGI = featureImageList.get(0);
275 defaultIGI.setIsDefault("Y"); 276 defaultIGI.setIsDefault("Y");
276 String defaultGoodsImag = defaultIGI.getImageUrl(); 277 String defaultGoodsImag = defaultIGI.getImageUrl();