浏览代码

修改crownBetween格式

hill.liu 8 月之前
父节点
当前提交
f55c17178f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/sy/coinage/workshop/controller/BaseInfoController.java

+ 2 - 2
src/main/java/com/sy/coinage/workshop/controller/BaseInfoController.java

@@ -176,8 +176,8 @@ public class BaseInfoController extends BaseController {
                     @CurrentUser CacheUserVO user) {
         BaseInfo model = this.baseInfoService.getById(req.getId());
         BeanUtils.copyProperties(req, model);
-        model.setCrownBetween(model.getCrownPrefix() + model.getCrownFrom() + " 至 "
-                + model.getCrownPrefix() + model.getCrownTo());
+        model.setCrownBetween(model.getCrownPrefix() +"-"+ model.getCrownFrom() + " 至 "
+                + model.getCrownPrefix() +"-"+ model.getCrownTo());
         // model.setUpdateBy(user.getName());
         this.baseInfoService.updateById(model);
         return "";