<?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.gk.hotwork.Mapper.InvolveDepInfoMapper" >
|
<resultMap id="BaseResultMap" type="com.gk.hotwork.Domain.InvolveDepInfo" >
|
<!-- -->
|
<id column="id" property="id" jdbcType="BIGINT" />
|
<result column="department" property="department" jdbcType="VARCHAR" />
|
<result column="lastmodifiedby" property="lastmodifiedby" jdbcType="VARCHAR" />
|
<result column="lastmodifieddate" property="lastmodifieddate" jdbcType="TIMESTAMP" />
|
</resultMap>
|
<sql id="Base_Column_List" >
|
<!-- -->
|
id, department, lastmodifiedby, lastmodifieddate
|
</sql>
|
<delete id="deleteByName">
|
delete from involvedep
|
where department = #{department}
|
</delete>
|
<select id="selectByName" resultType="com.gk.hotwork.Domain.InvolveDepInfo">
|
select *
|
from involvedep
|
where department = #{department}
|
</select>
|
|
|
</mapper>
|