yujian
2019-07-17 fe16122ad77ccd69c7f3c6dfff123c0c3aa3d35f
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/RecommendController.java
@@ -1246,8 +1246,7 @@
   }
   @RequestMapping(value = "deletescanhistory", method = RequestMethod.POST)
   public void deleteScanHistory(AcceptData acceptData, String type, String uid, String ids,
         Integer goodsType, PrintWriter out) {
   public void deleteScanHistory(AcceptData acceptData, String type, String uid, String ids, PrintWriter out) {
      BusinessSystem sys = businessSystemService.getBusinessSystem(acceptData.getPlatform(),
            acceptData.getPackages());
      if (sys == null) {
@@ -1260,11 +1259,11 @@
         for (String auctionIdStr : idStr) {
            scanHistoryV2Service.deleteByAuctionIdAndDeviceOrUid(
                  StringUtil.isNullOrEmpty(uid) ? null : Long.parseLong(uid), acceptData.getDevice(),
                  Long.parseLong(auctionIdStr), goodsType);
                  Long.parseLong(auctionIdStr));
         }
      } else {
         scanHistoryV2Service.deleteByDeviceOrUid(StringUtil.isNullOrEmpty(uid) ? null : Long.parseLong(uid),
               acceptData.getDevice(), goodsType);
               acceptData.getDevice());
      }
      out.print(JsonUtil.loadTrueResult(""));