Administrator 3 年 前
コミット
ca0ceb5bc8

+ 3 - 3
boman-modules/boman-system/src/main/resources/mapper/system/SysDictDataMapper.xml

@@ -94,7 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  			<if test="status != null">status = #{status},</if>
  			<if test="remark != null">remark = #{remark},</if>
  			<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
- 			<if test="parenId != null ">parent_id = #{parenId},</if>
+ 			<if test="parentId != null ">parent_id = #{parentId},</if>
  			update_time = sysdate()
  		</set>
  		where id = #{id}
@@ -116,7 +116,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  			<if test="status != null">status,</if>
  			<if test="remark != null and remark != ''">remark,</if>
  			<if test="createBy != null and createBy != ''">create_by,</if>
- 			<if test="parenId != null">paren_id,</if>
+ 			<if test="parentId != null">parent_id,</if>
  			create_time
  		)values(
  		    <if test="dictSort != null">#{dictSort},</if>
@@ -129,7 +129,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  			<if test="status != null">#{status},</if>
  			<if test="remark != null and remark != ''">#{remark},</if>
  			<if test="createBy != null and createBy != ''">#{createBy},</if>
- 			<if test="parenId != null">#{parenId},</if>
+ 			<if test="parentId != null">#{parentId},</if>
  			sysdate()
  		)
 	</insert>