test
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user