| | |
| | | and bu.real_name like concat('%', #{trainingRegistration.realName},'%') |
| | | </if> |
| | | <if test="trainingRegistration.cancel!=null"> |
| | | and sr.cancel = #{trainingRegistration.cancel} |
| | | and (sr.training_unit_id is null or ke.audit_status = 3) |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | blade_user bu |
| | | on |
| | | str.user_id = bu.id |
| | | left join |
| | | ksxt_exam ke |
| | | on |
| | | ke.id = str.train_exam_id |
| | | WHERE |
| | | 1=1 |
| | | and str.is_exam = 1 |
| | | and str.cancel = 1 |
| | | and bu.is_train = 1 |
| | | and str.train_exam_id is null |
| | | and (str.train_exam_id is null or ke.audit_status = 3) |
| | | limit 0,#{number} |
| | | </select> |
| | | </mapper> |