“djh”
5 days ago 9abc6588d464269024d3e680b98cfd71e2acc84e
multi-system/src/main/resources/mapper/system/ExPhaseStudentMapper.xml
@@ -66,7 +66,7 @@
                and b.phone like concat('%',#{studentPhone},'%')
            </if>
            <if test="studentId!=null">
                and a.student_id=#{studentId}
                and a.student_id=#{studentId} and (d.stop_time is null or d.stop_time > now())
            </if>
        </where>
        order by a.id desc
@@ -88,7 +88,7 @@
        select a.*,b.name as phase_name,c.id as company_id,c.name as company_name from ex_phase_student a
        left join ex_course_phase b on b.id=a.phase_id
        left join sys_company c on c.id=b.company_id
        where a.student_id=#{studentId}
        where b.del_flag = 0 and a.student_id=#{studentId}
    </select>