bonus_houqin

This commit is contained in:
sxu 2025-02-15 22:45:40 +08:00
parent b58c6d7015
commit 00ba2e2a4a
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where dept_name=#{deptName} and parent_id = #{parentId} and del_flag = '0' limit 1
</select>
<insert id="insertDept" parameterType="com.bonus.system.api.domain.SysDept" useGeneratedKeys="true" keyProperty="id">
<insert id="insertDept" parameterType="com.bonus.system.api.domain.SysDept">
insert into sys_dept(
<if test="deptId != null and deptId != 0">dept_id,</if>
<if test="parentId != null and parentId != 0">parent_id,</if>