Commit 3c307cc7 authored by wujipeng's avatar wujipeng
Browse files

改为模糊查询

parent df544893
...@@ -16,13 +16,13 @@ ...@@ -16,13 +16,13 @@
kz_work kz_work
<where> <where>
<if test="user != null and user != ''"> <if test="user != null and user != ''">
and user = #{user} and user like concat('%',#{user},'%')
</if> </if>
<if test="reservationTime != null and reservationTime != ''"> <if test="reservationTime != null and reservationTime != ''">
and reservation_time = #{reservationTime} and reservation_time = #{reservationTime}
</if> </if>
<if test="project != null and project != ''"> <if test="project != null and project != ''">
and project = #{project} and project like concat('%',#{project},'%')
</if> </if>
</where> </where>
</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