<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ssm.manage.mapper.SysUserMapper">
  <resultMap id="BaseResultMap" type="com.ssm.manage.entity.SysUser">
    <!--
      WARNING - @mbg.generated
    -->
    <id column="id" jdbcType="BIGINT" property="id" />
    <result column="user_num" jdbcType="VARCHAR" property="userNum" />
    <result column="user_name" jdbcType="VARCHAR" property="userName" />
    <result column="state" jdbcType="INTEGER" property="state" />
    <result column="mobile_phone" jdbcType="VARCHAR" property="mobilePhone" />
    <result column="mailbox" jdbcType="VARCHAR" property="mailbox" />
    <result column="qq" jdbcType="VARCHAR" property="qq" />
    <result column="WeChat" jdbcType="VARCHAR" property="wechat" />
    <result column="Founder" jdbcType="VARCHAR" property="founder" />
    <result column="Founder_datetime" jdbcType="TIMESTAMP" property="founderDatetime" />
    <result column="modify_by" jdbcType="VARCHAR" property="modifyBy" />
    <result column="modify_datetime" jdbcType="TIMESTAMP" property="modifyDatetime" />
    <result column="password" jdbcType="LONGVARCHAR" property="password" />
  </resultMap>


  <delete id="deleteSysUser" parameterType="com.ssm.manage.query.UserRequest">
    DELETE
    FROM
    sys_user
    WHERE
    id IN
    <foreach close=")" collection="ids" index="index" item="item" open="(" separator=",">
      #{item,jdbcType=BIGINT}
    </foreach>
  </delete>
</mapper>