yujian
2019-07-11 e4a56b57d3e10b9b46eaefe5194bbf98fcc45698
fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SpecialServiceImpl.java
@@ -81,8 +81,6 @@
         throw new SpecialException(1, "跳转参数非JSON格式");
      }
      if (!StringUtil.isNullOrEmpty(jumpType)) {
         List<JumpDetailV2> listByType = jumpDetailV2Service.listByType(jumpType);
         if (listByType != null && listByType.size() > 0) {
@@ -127,6 +125,13 @@
         record.setCreatetime(new Date());
         record.setUpdatetime(new Date());
         specialMapper.insert(record);
         Special s = new Special();
         s.setId(record.getId());
         s.setOrderby(Integer.parseInt(s.getId() + ""));
         s.setOrderMan(Integer.parseInt(s.getId() + ""));
         s.setOrderWoman(Integer.parseInt(s.getId() + ""));
         specialMapper.updateByPrimaryKeySelective(s);
      } else {
         // 修改
         Special resultObj = specialMapper.selectByPrimaryKey(id);
@@ -367,7 +372,9 @@
      JSONObject arcMap = new JSONObject();
   
      String indexArc = "index_arc";
      if (VersionUtil.greaterThan_1_5_60(acceptData.getPlatform(), acceptData.getVersion()))
      if (VersionUtil.greaterThan_1_5_70(acceptData.getPlatform(), acceptData.getVersion()))
         indexArc = "index_arc_1.5.7";
      else if (VersionUtil.greaterThan_1_5_60(acceptData.getPlatform(), acceptData.getVersion()))
         indexArc = "index_arc_1.5.6";
      List<Special> listArc = specialMapper.listByPlaceKey(indexArc, sex);
@@ -438,7 +445,6 @@
            blockJsonMap.put("bottomPicture", special.getBottomPicture());
         }
      }
      
      // 品牌券
      // >=1.5.40后的版本可以用