|
@@ -168,6 +168,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
coach_info ci
|
|
coach_info ci
|
|
join school_info d on ci.inscode= d.inscode
|
|
join school_info d on ci.inscode= d.inscode
|
|
<where>
|
|
<where>
|
|
|
|
+ <if test="status == null"> and ci.`status` = '0'</if>
|
|
|
|
+ <if test="status == '2'.toString()"> and exists(SELECT `status` FROM `coach_info`) </if>
|
|
<if test="status != null and status != ''"> and ci.`status` = #{status}</if>
|
|
<if test="status != null and status != ''"> and ci.`status` = #{status}</if>
|
|
<if test="name != null and name != ''"> and ci.`name` like concat('%', #{name}, '%')</if>
|
|
<if test="name != null and name != ''"> and ci.`name` like concat('%', #{name}, '%')</if>
|
|
<if test="coachnum != null and coachnum != ''"> and ci.coachnum = #{coachnum}</if>
|
|
<if test="coachnum != null and coachnum != ''"> and ci.coachnum = #{coachnum}</if>
|