Commit 2db2c894 by huluobin

update

parent c206f729
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
from training_start_class_log_technician t1 from training_start_class_log_technician t1
left join training_start_class t2 on t1.training_start_class_id = t2.id left join training_start_class t2 on t1.training_start_class_id = t2.id
where t1.technician_id = #{request.technicianId} where t1.technician_id = #{request.technicianId}
<if test="request.status!=null and request.status = '1' "> <if test="request.status!=null and request.status == 1 ">
and t2.status in (1,2) and t2.status in (1,2)
</if> </if>
<if test="request.status!=null and request.status = '2' "> <if test="request.status!=null and request.status == 2 ">
and t2.status = 3 and t2.status = 3
</if> </if>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment