From a5b6b52d34ee52c3efcb8afbdf79369199a91ac0 Mon Sep 17 00:00:00 2001 From: itcast Date: Mon, 24 Jul 2023 11:24:00 +0800 Subject: [PATCH] Changes --- .../jeecg/modules/fieldx/controller/FieldxController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/fieldx/controller/FieldxController.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/fieldx/controller/FieldxController.java index 4f418e7..7524de6 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/fieldx/controller/FieldxController.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/fieldx/controller/FieldxController.java @@ -449,7 +449,7 @@ public class FieldxController extends JeecgController { fieldx222.setTableId(excelInfo.getTableId()); if (StringUtil.isBlank(excelInfo.getFieldName())) { message.put("isError", "true"); - message.put("status","序号为 + (r - 2) + 的”中文名称”不能为空"); + message.put("status","序号为 "+ (r - 2) + "的”中文名称”不能为空"); message.put("closeable","true"); webSocketUtils.sendMessage(loginUser.getId(), message); return Result.error("序号为" + (r - 2) + "的中文名称不能为空"); @@ -457,14 +457,14 @@ public class FieldxController extends JeecgController { String fieldname= String.valueOf(fieldx222Service.query().eq("field_name",excelInfo.getFieldName()).one()); if(!StringUtil.isBlank(fieldname)){ message.put("isError", "true"); - message.put("status","序号为 + (r - 2) + 的”中文名称”与表中数据已重复"); + message.put("status","序号为 "+ (r - 2) + "的”中文名称”与表中数据已重复"); message.put("closeable","true"); webSocketUtils.sendMessage(loginUser.getId(), message); return Result.error("序号为" + (r - 2) + "的中文名称与表中数据已重复"); } if (StringUtil.isBlank(excelInfo.getFieldName())) { message.put("isError", "true"); - message.put("status","序号为 + (r - 2) + 的”中文名称”不能为空"); + message.put("status","序号为 "+ (r - 2) +" 的”中文名称”不能为空"); message.put("closeable","true"); webSocketUtils.sendMessage(loginUser.getId(), message); return Result.error("序号为" + (r - 2) + "的中文名称不能为空");