From 6e57dc84cbcc00207e5737fd0b0888c417109ef3 Mon Sep 17 00:00:00 2001 From: zhaowd Date: Wed, 5 Jan 2022 18:04:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=9A=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=B9=8B=E5=90=8E=E7=9A=84=EF=BC=8C=E5=90=8C=E6=A0=B7=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E7=9A=84=E6=9C=BA=E6=9E=84=E4=B9=9F=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=B8=8D=E4=B8=8A=EF=BC=8C=E5=9B=A0=E4=B8=BAcheckDeptNameUniqu?= =?UTF-8?q?e=E5=9C=A8=E5=81=9A=E6=A0=A1=E9=AA=8C=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=E6=B2=A1=E6=9C=89=E8=80=83=E8=99=91=E5=88=B0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=B7=B2=E7=BB=8F=E8=A2=AB=E5=88=A0=E9=99=A4=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E6=8E=92=E9=99=A4=E6=8E=89=20=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=EF=BC=9A=E6=A0=A1=E9=AA=8C=E7=9A=84=E6=97=B6=E5=80=99=E5=8F=AA?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E6=9C=AA=E8=A2=AB=E5=88=A0=E9=99=A4=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/system/SysDeptMapper.xml | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml index 44bd8689a..a16e8a6e8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml @@ -21,12 +21,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + - select d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.phone, d.email, d.status, d.del_flag, d.create_by, d.create_time + select d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.phone, d.email, d.status, d.del_flag, d.create_by, d.create_time from sys_dept d - + - + - + - + - + - + - + - + - + insert into sys_dept( dept_id, @@ -112,7 +112,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" sysdate() ) - + update sys_dept @@ -129,7 +129,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where dept_id = #{deptId} - + update sys_dept set ancestors = - + - update sys_dept set status = '0' where dept_id in + update sys_dept set status = '0' where dept_id in #{deptId} - + update sys_dept set del_flag = '2' where dept_id = #{deptId} - \ No newline at end of file +