heheng
6 天以前 3cc8d1cc3662d88fe7f3666fb1f99e1b19411424
multi-system/src/main/resources/mapper/system/CorrectionMapper.xml
@@ -2,11 +2,14 @@
<!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.CorrectionMapper">
    <select id="selectCorrectionList" resultType="com.gkhy.exam.system.domain.Correction" parameterType="int">
    <select id="selectCorrectionList" resultType="com.gkhy.exam.system.domain.Correction" parameterType="com.gkhy.exam.system.domain.Correction">
        select * from correction where  del_flag = 0
        <if test="companyId != null">
            and company_id = #{companyId}
        </if>
        <if test="deptId != null">
            and dept_id = #{deptId}
        </if>
        order by create_time desc
    </select>
</mapper>