This commit is contained in:
zhujunjieit 2019-01-09 23:36:15 +08:00
parent dfd5fa709c
commit 4db5cb4d45
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectExamPracticeVo"/>
from exam_practice
<where>
((enable_control_time = '1' and end_time > NOW() and start_time < NOW())
or enable_control_time = '0')
<![CDATA[((enable_control_time = '1' and end_time > NOW() and start_time < NOW())
or enable_control_time = '0') ]]>
<if test="id != null "> and id = #{id}</if>
<if test="deptId != null "> and dept_id = #{deptId}</if>
<if test="name != null and name != '' "> and name = #{name}</if>