日照智慧社区接口服务
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.

22 lines
889 B

5 years ago
<?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.IssueApplicationHistoryDao">
<!-- 根据issue_application.id查询审核历史 -->
<select id="selectListByIssueApplicationId" resultType="com.epmet.dto.result.ApplicationHistoryResDTO">
SELECT
iah.ID as historyId,
iah.ACTION_TYPE,
unix_timestamp( iah.CREATED_TIME ) AS operateTime,
IFNULL(iah.REASON,'')AS REASON,
IFNULL(iah.STAFF_NAME,'')as STAFF_NAME
FROM
issue_application_history iah
WHERE
iah.DEL_FLAG = '0'
AND iah.ISSUE_APPLICATION_ID = #{issueApplicationId}
ORDER BY
iah.CREATED_TIME DESC
</select>
5 years ago
</mapper>