“djh”
2024-11-06 b56c3c0f1bc87935a8b59f6ee39f78b4796250ff
exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml
@@ -12,14 +12,17 @@
                 and a.institution_name =#{institutionName}
            </if>
            <if test="startTime!=null and startTime!=''">
                and a.cert_ime &gt;= #{startTime}
                and a.cert_time &gt;= #{startTime}
            </if>
            <if test="endTime!=null and endTime!=''">
                and a.cert_ime &lt;= #{endTime}
                and a.cert_time &lt;= #{endTime}
            </if>
            <if test="trainOrgName!=null and trainOrgName!=''">
                and a.train_org_name =#{trainOrgName}
            </if>
            <if test="idcard!=null and idcard!=''">
                and a.idcard like concat('%',#{idcard},'%')
            </if>
        </where>
        order by a.create_time desc
    </select>