|
@@ -72,10 +72,10 @@
|
|
|
<if test="trainingCampId != null"> and fs_user_course_period.training_camp_id = #{trainingCampId}</if>
|
|
<if test="trainingCampId != null"> and fs_user_course_period.training_camp_id = #{trainingCampId}</if>
|
|
|
<if test="periodName != null and periodName != ''"> and period_name like concat('%', #{periodName}, '%')</if>
|
|
<if test="periodName != null and periodName != ''"> and period_name like concat('%', #{periodName}, '%')</if>
|
|
|
<if test="companyIdList != null and companyIdList.size() > 0 ">
|
|
<if test="companyIdList != null and companyIdList.size() > 0 ">
|
|
|
- and fs_user_course_period.company_id in
|
|
|
|
|
|
|
+ and
|
|
|
<foreach item="companyId" index="index" collection="companyIdList"
|
|
<foreach item="companyId" index="index" collection="companyIdList"
|
|
|
- open="(" separator="," close=")">
|
|
|
|
|
- #{companyId}
|
|
|
|
|
|
|
+ open="(" separator="or" close=")">
|
|
|
|
|
+ FIND_IN_SET(#{companyId}, fs_user_course_period.company_id)
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</if>
|
|
</if>
|
|
|
<if test="periodStartingTime != null "> and period_starting_time >= #{periodStartingTime}</if>
|
|
<if test="periodStartingTime != null "> and period_starting_time >= #{periodStartingTime}</if>
|