From de2f7fe7f23ac338b7d6997a74b3715e9b1a7cc7 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 16 十一月 2023 10:56:18 +0800 Subject: [PATCH] 1、行政区保存功能,修改自动加上行政区级别,及删除标志 2、单点登录中增加了获得所有组织机构的功能,及增加组织机构枚举类型 3、增加农户实体、农户类型实体、分水口实体等相关功能 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml index 6ed6777..8ea8f06 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml @@ -98,8 +98,8 @@ #{password,jdbcType=VARCHAR}, #{orgTag,jdbcType=VARCHAR}, #{supperAdmin,jdbcType=TINYINT}, - #{disabled,jdbcType=TINYINT}, - #{deleted,jdbcType=TINYINT} + #{disabled,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, + #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT} ) </insert> <insert id="insertSelective" parameterType="com.dy.pipIrrGlobal.pojoBa.BaUser"> @@ -150,10 +150,10 @@ #{supperAdmin,jdbcType=TINYINT}, </if> <if test="disabled != null"> - #{disabled,jdbcType=TINYINT}, + #{disabled,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, </if> <if test="deleted != null"> - #{deleted,jdbcType=TINYINT}, + #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, </if> </trim> </insert> @@ -171,10 +171,10 @@ password = #{password,jdbcType=VARCHAR}, </if> <if test="disabled != null"> - disabled = #{disabled,jdbcType=TINYINT}, + disabled = #{disabled,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, </if> <if test="deleted != null"> - deleted = #{deleted,jdbcType=TINYINT}, + deleted = #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, </if> </set> where id = #{id,jdbcType=BIGINT} @@ -184,8 +184,8 @@ set `name` = #{name,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, password = #{password,jdbcType=VARCHAR}, - disabled = #{disabled,jdbcType=TINYINT}, - deleted = #{deleted,jdbcType=TINYINT} + disabled = #{disabled,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, + deleted = #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT} where id = #{id,jdbcType=BIGINT} </update> <update id="changePassword" > -- Gitblit v1.8.0