liulin
2024-09-03 ee5baccab552762e9d57fb3fab04cd099dae018d
src/test/java/com/lunhan/xxx/GenCodeGauss.java
@@ -1047,6 +1047,7 @@
                "\n" +
                "        " + poName + " find = mapper.get(id);\n" +
                "        if (null != find) {\n" +
                "            // 转换vo\n" +
                "            result = " + convertMapperName + ".INSTANCE.toVo(find);\n" +
                "        }\n" +
                "        return ExecutedResult.success(result);\n" +
@@ -1148,6 +1149,7 @@
                "\n" +
                "        List<" + poName + "> list = mapper.getList(listId);\n" +
                "        if (ListUtil.isNotNullOrEmpty(list)) {\n" +
                "            // 转换vo\n" +
                "            result = " + convertMapperName + ".INSTANCE.toVo(list);\n" +
                "        }\n" +
                "        return ExecutedResult.success(result);\n" +
@@ -1169,7 +1171,7 @@
                "        if (ListUtil.isNotNullOrEmpty(list)) {\n" +
                "            pageList.setLastId(list.get(list.size() - 1).getId());\n" +
                "            // 转换vo\n" +
                "            listVo = TroopsInfoConvert.INSTANCE.toVo(list);\n" +
                "            listVo = " + convertMapperName + ".INSTANCE.toVo(list);\n" +
                "        }\n" +
                "        PagerResult<" + responseDTOName + "> result = new PagerResult<>(pageList.getLimit(), pageList.getPage(), pageList.getTotal(), listVo);\n" +
                "        result.setLastId(pageList.getLastId());\n" +