You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?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.epmet.dao.ProjectStaffDao">
|
|
|
|
|
|
|
|
<resultMap type="com.epmet.entity.ProjectStaffEntity" id="projectStaffMap">
|
|
|
|
<result property="id" column="ID"/>
|
|
|
|
<result property="projectId" column="PROJECT_ID"/>
|
|
|
|
<result property="customerId" column="CUSTOMER_ID"/>
|
|
|
|
<result property="orgId" column="ORG_ID"/>
|
|
|
|
<result property="departmentId" column="DEPARTMENT_ID"/>
|
|
|
|
<result property="gridId" column="GRID_ID"/>
|
|
|
|
<result property="orgIdPath" column="ORG_ID_PATH"/>
|
|
|
|
<result property="staffId" column="STAFF_ID"/>
|
|
|
|
<result property="isHandle" column="IS_HANDLE"/>
|
|
|
|
<result property="delFlag" column="DEL_FLAG"/>
|
|
|
|
<result property="revision" column="REVISION"/>
|
|
|
|
<result property="createdBy" column="CREATED_BY"/>
|
|
|
|
<result property="createdTime" column="CREATED_TIME"/>
|
|
|
|
<result property="updatedBy" column="UPDATED_BY"/>
|
|
|
|
<result property="updatedTime" column="UPDATED_TIME"/>
|
|
|
|
</resultMap>
|
|
|
|
<select id="selectDepartmentNameList" resultType="com.epmet.dto.result.DepartmentResultDTO" parameterType="com.epmet.dto.ProjectStaffDTO">
|
|
|
|
SELECT
|
|
|
|
ID,
|
|
|
|
DEPARTMENT_NAME
|
|
|
|
FROM
|
|
|
|
project_staff
|
|
|
|
WHERE DEL_FLAG = '0'
|
|
|
|
AND PROJECT_ID = #{projectId}
|
|
|
|
AND STAFF_ID = #{staffId}
|
|
|
|
AND IS_HANDLE = 'unhandled'
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|