This commit is contained in:
2025-10-23 07:54:14 +08:00
parent e131e8b719
commit 4ba880ea40
21 changed files with 199 additions and 75 deletions

View File

@@ -15,7 +15,7 @@
<result column="counts" property="counts" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List" >
id, username, user_chn_name, password, phone, email, mark_enable,dept_id,"level",
id, username, user_chn_name, password, phone, email, mark_enable,dept_id,level,
create_time,counts
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
@@ -29,11 +29,11 @@
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.point.strategy.user.bean.User" >
insert into t_user (id, username, user_chn_name,
password, phone, email,
insert into t_user (id, username, user_chn_name,
password, phone, email,
mark_enable,create_time,counts)
values (#{id,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{userChnName,jdbcType=VARCHAR},
#{password,jdbcType=VARCHAR}, #{phone,jdbcType=CHAR}, #{email,jdbcType=VARCHAR},
values (#{id,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{userChnName,jdbcType=VARCHAR},
#{password,jdbcType=VARCHAR}, #{phone,jdbcType=CHAR}, #{email,jdbcType=VARCHAR},
#{markEnable,jdbcType=INTEGER},#{createTime,jdbcType=VARCHAR},#{counts,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="com.point.strategy.user.bean.User" useGeneratedKeys="true" keyProperty="id" keyColumn="id">
@@ -225,4 +225,4 @@
where userid = #{userId,jdbcType=INTEGER}
</select>
</mapper>
</mapper>