From e0b65b857d71d8c2b31741e05918556c21957d84 Mon Sep 17 00:00:00 2001
From: scmiot <scmiot@qq.com>
Date: 星期三, 16 十一月 2022 08:49:25 +0800
Subject: [PATCH] 前端ui脚本中文乱码

---
 ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java
index caed975..3bd2867 100644
--- a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java
+++ b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestBatchController.java
@@ -46,7 +46,7 @@
             testDemo.setValue("娴嬭瘯鏂板");
             list.add(testDemo);
         }
-        return toAjax(testDemoMapper.insertBatch(list) ? 1 : 0);
+        return toAjax(testDemoMapper.insertBatch(list));
     }
 
     /**
@@ -74,7 +74,7 @@
                 testDemo.setId(null);
             }
         }
-        return toAjax(testDemoMapper.insertOrUpdateBatch(list) ? 1 : 0);
+        return toAjax(testDemoMapper.insertOrUpdateBatch(list));
     }
 
     /**

--
Gitblit v1.9.3