|
@@ -137,8 +137,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="year != null and year != ''"> and yp.plan_year = #{year}</if>
|
|
|
<if test="staffId != null and staffId != ''"> and d.staff_id = #{staffId}</if>
|
|
|
<if test="plantName != null and plantName != ''"> and plant_name like concat(concat('%', #{plantName}), '%')</if>
|
|
|
- <if test="startDate != null "> and start_date = #{startDate}</if>
|
|
|
- <if test="endDate != null "> and end_date = #{endDate}</if>
|
|
|
+ <if test="startDate != null "> and start_date >= #{startDate}</if>
|
|
|
+ <if test="endDate != null "> and end_date <= #{endDate}</if>
|
|
|
<if test="classHour != null and classHour != ''"> and class_hour = #{classHour}</if>
|
|
|
<if test="studyState != null and studyState != ''"> and study_state = #{studyState}</if>
|
|
|
<if test="mentorStaffId != null and mentorStaffId != ''"> and mentor_staff_id = #{mentorStaffId}</if>
|