| | |
| | | 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') >= date_format(#{query.startTime},'%y-%m-%d') |
| | |
| | | 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 = concat('%', #{query.trainOrgName}, '%') |
| | | </if> |
| | | <if test="query.startTime != null"><!-- 开始时间检索 --> |
| | | and date_format(b.actual_start_time,'%y-%m-%d') >= date_format(#{query.startTime},'%y-%m-%d') |