15 changed files with 50 additions and 74 deletions
@ -1,46 +0,0 @@ |
|||
<?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.IssueDao"> |
|||
|
|||
<resultMap type="com.epmet.entity.IssueEntity" id="issueMap"> |
|||
<result property="id" column="ID"/> |
|||
<result property="issueStatus" column="ISSUE_STATUS"/> |
|||
<result property="sourceType" column="SOURCE_TYPE"/> |
|||
<result property="sourceId" column="SOURCE_ID"/> |
|||
<result property="closeReason" column="CLOSE_REASON"/> |
|||
<result property="resolveType" column="RESOLVE_TYPE"/> |
|||
<result property="issueTitle" column="ISSUE_TITLE"/> |
|||
<result property="suggestion" column="SUGGESTION"/> |
|||
<result property="customerId" column="CUSTOMER_ID"/> |
|||
<result property="gridId" column="GRID_ID"/> |
|||
<result property="orgIdPath" column="ORG_ID_PATH"/> |
|||
<result property="orgId" column="ORG_ID"/> |
|||
<result property="votingDeadline" column="VOTING_DEADLINE"/> |
|||
<result property="decidedTime" column="DECIDED_TIME"/> |
|||
<result property="shiftedTime" column="SHIFTED_TIME"/> |
|||
<result property="closedTime" column="CLOSED_TIME"/> |
|||
<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="issueDetail" parameterType="com.epmet.dto.form.IssueDetailFormDTO" resultType="com.epmet.dto.result.IssueDetailResultDTO"> |
|||
SELECT |
|||
issue_title AS issueTitle, |
|||
issue_status AS issueStatus, |
|||
suggestion AS issueSuggestion, |
|||
grid_id AS belongsGridName, |
|||
created_by AS issueInitiator |
|||
FROM |
|||
issue |
|||
WHERE |
|||
id = #{IssueId} |
|||
AND del_flag = 0 |
|||
</select> |
|||
|
|||
</mapper> |
Loading…
Reference in new issue