<?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.gkhy.exam.system.mapper.DocumentDestructionApplyMapper">
|
|
|
<select id="getDocumentDestructionApply" resultType="com.gkhy.exam.system.domain.DocumentDestructionApply" parameterType="com.gkhy.exam.system.domain.DocumentDestructionApply">
|
|
SELECT * FROM document_destruction_apply WHERE del_flag = 0
|
<if test="companyId!=null ">
|
and company_id = #{companyId}
|
</if>
|
ORDER BY create_time desc
|
</select>
|
</mapper>
|