教育训练处考试制证系统后端
“djh”
15 小时以前 8c73a9ff2bf3c88b17a1279f51c1ae3993effdcf
exam-system/src/main/resources/mapper/institutionaccess/ThExamRecordMapper.xml
@@ -49,7 +49,7 @@
    <select id="getStatistic" resultType="com.gkhy.exam.institutionalaccess.model.vo.ThTrainVO">
        SELECT
        e.institution_id,
        count( e.institution_id ) passCount
        count(DISTINCT e.idcard) passCount
        FROM
        th_exam_record e
        LEFT JOIN th_batch b ON e.batch_uuid = b.uuid
@@ -61,7 +61,7 @@
            and b.subject_code like concat(#{query.subjectCode}, '%')
        </if>
        <if test="query.trainOrgName != null and query.trainOrgName != ''">
            and b.train_org_name = #{query.trainOrgName}, '%')
            and b.train_org_name like concat('%',#{query.trainOrgName}, '%')
        </if>
        <if test="query.startTime != null"><!-- 开始时间检索 -->
            and date_format(b.actual_start_time,'%y-%m-%d') &gt;= date_format(#{query.startTime},'%y-%m-%d')