查看班级实验列表,开始结束时间不为空

hehai
mzh820631607 4 years ago
parent 3ea05e82e7
commit bc3b8dd9c9
  1. 2
      src/main/resources/mapper/tms/ClassTeachingDao.xml

@ -21,6 +21,8 @@
tms_experimental_teaching tms_experimental_teaching
WHERE WHERE
is_del=0 is_del=0
AND
start_time >='2020-01-01 00:00:00'
<if test="cla.status!=null">and `status` = #{cla.status}</if> <if test="cla.status!=null">and `status` = #{cla.status}</if>
<if test="cla.condition!=null">and ( project_name like concat('%',#{cla.condition},'%') or experimental_class_name like concat('%',#{cla.condition},'%') )</if> <if test="cla.condition!=null">and ( project_name like concat('%',#{cla.condition},'%') or experimental_class_name like concat('%',#{cla.condition},'%') )</if>
<if test="cla.startTime!=null and cla.endTime!=null">and stop_time between #{cla.endTime} and #{cla.startTime}</if> <if test="cla.startTime!=null and cla.endTime!=null">and stop_time between #{cla.endTime} and #{cla.startTime}</if>

Loading…
Cancel
Save