From 8cc4f33315d7d2d056518fca0ac2b78df0e5e7cc Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Sat, 11 Oct 2025 16:15:50 +0800
Subject: [PATCH] 修改字段名称,使json字段名与实体类属性名对应, 使@JsonProperty注解后发现偶尔也会有问题, 所以将字段将也改成json对应名称
---
ard-system/src/main/resources/mapper/system/SysDeptMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ard-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ard-system/src/main/resources/mapper/system/SysDeptMapper.xml
index 6fb51be..c5ee411 100644
--- a/ard-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/ard-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -155,5 +155,8 @@
<delete id="deleteDeptById" parameterType="Long">
update sys_dept set del_flag = '2' where dept_id = #{deptId}
</delete>
-
+ <select id="selectDeptByBindCode" resultMap="SysDeptResult">
+ <include refid="selectDeptVo"/>
+ where bind_code=#{bindCode}
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3