yujian
2019-08-22 427737a79fe272fc0d54911fdf9d0e75a17d61a7
fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/FloatADServiceImpl.java
@@ -84,6 +84,12 @@
         picture = uploadPicture(file);
      }
      
      // 适用类型 : 0通用  1新人
      Integer type = record.getType();
      if (type == null) {
         record.setType(0);
      }
      Long id = record.getId();
      if (id == null) {
         int maxOrder = floatADMapper.getMaxOrderByPosition(position);
@@ -258,8 +264,8 @@
   }
   @Override
   public FloatAD getEffectiveFloatAD(String position) {
      FloatAD floatAD = floatADMapper.getEffectiveFloatAD(position);
   public FloatAD getEffectiveFloatAD(String position, Integer type) {
      FloatAD floatAD = floatADMapper.getEffectiveFloatAD(position, type);
      if (floatAD != null) {
         JumpDetailV2 jumpDetail = floatAD.getJumpDetail();