Ver código fonte

修改crownBetween格式

hill.liu 8 meses atrás
pai
commit
f55c17178f

+ 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 "";