This commit is contained in:
parent
dfd5fa709c
commit
4db5cb4d45
|
|
@ -48,8 +48,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<include refid="selectExamPracticeVo"/>
|
<include refid="selectExamPracticeVo"/>
|
||||||
from exam_practice
|
from exam_practice
|
||||||
<where>
|
<where>
|
||||||
((enable_control_time = '1' and end_time > NOW() and start_time < NOW())
|
<![CDATA[((enable_control_time = '1' and end_time > NOW() and start_time < NOW())
|
||||||
or enable_control_time = '0')
|
or enable_control_time = '0') ]]>
|
||||||
<if test="id != null "> and id = #{id}</if>
|
<if test="id != null "> and id = #{id}</if>
|
||||||
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
||||||
<if test="name != null and name != '' "> and name = #{name}</if>
|
<if test="name != null and name != '' "> and name = #{name}</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue