yujian
2019-03-25 31f64845425a6ca1b6003ba77d01bafdbdacb8e2
fanli/src/main/java/com/yeshi/fanli/controller/admin/homemodule/SpecialCardAdminController.java
@@ -443,17 +443,11 @@
         }
         
         String params = record.getParams();
         if (params != null && params.trim().length() == 0) {
            params = null;
         }
         if (!StringUtil.isNullOrEmpty(params)) {
            String jumpValue = systemConfigService.get("jump");
            if (StringUtil.isNullOrEmpty(jumpValue)) {
               jumpValue = "{\"url\":\"#\"}";
            }
            params = jumpValue.replace("#", params);
         }
         
@@ -464,21 +458,25 @@
            } 
         }
         
         String name = record.getName();
         if (name != null && name.trim().length() == 0) {
            name = null;
         if (name != null && name.trim().length() > 0) {
            resultObj.setName(name);
         }
         if (params != null && params.trim().length() > 0) {
            resultObj.setParams(params);
         }
         String showType = record.getShowType();
         if (showType != null && showType.trim().length() > 0) {
            resultObj.setShowType(record.getShowType());
         }
         
         String remark = record.getRemark();
         if (remark != null && remark.trim().length() == 0) {
            remark = null;
         if (remark != null && remark.trim().length() > 0) {
            resultObj.setRemark(remark);
         }
         resultObj.setName(name);
         resultObj.setParams(params);
         resultObj.setShowType(record.getShowType());
         resultObj.setRemark(remark);
         
         specialService.updateByPrimaryKey(resultObj);