heheng
7 hours ago a3d63a4a7199d346e63039a8fd6490b12387fa4e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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.DocumentDistributionCollectionMapper">
 
 
    <select id="selectDocumentDistributionCollectionList" resultType="com.gkhy.exam.system.domain.DocumentDistributionCollection" parameterType="com.gkhy.exam.system.domain.DocumentDistributionCollection">
        select * from document_distribution_collection
        where del_flag = 0
        <if test="companyId!=null ">
            and company_id = #{companyId}
        </if>
        <if test="year!=null and year != '' ">
            and year = #{year}
        </if>
 
        order by create_time desc
    </select>
</mapper>