From d3be4d813f6745f245d36a07ea705b4db169d273 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 06 十二月 2023 17:21:28 +0800 Subject: [PATCH] 后端返回数据流格式,前端无法捕获到错误信息 --- Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CommonsMapper.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CommonsMapper.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CommonsMapper.java index 3c18978..2f22a7a 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CommonsMapper.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CommonsMapper.java @@ -20,7 +20,9 @@ List<String> selectById(@Param("inSql") String inSql); - int queryCountBySql(@Param("inSql") String inSql); + List<String> selectList(@Param("inSql") String inSql); + + int queryCountBySql(@Param("inSql") String inSql); String queryCountStringBySql(@Param("inSql") String inSql); -- Gitblit v1.9.3