| | |
| | | }
|
| | |
|
| | | 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);
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | |
| | | |
| | | 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);
|
| | |
|