Commit e75f933b by fudahua

搜索

parent f18b9c20
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
<if test="optType!=-1"> <if test="optType!=-1">
and opt_type=#{optType} and opt_type=#{optType}
</if> </if>
<if test="search!=null"> <if test="search!=null and search.length()>0">
and (clerk_code = #{search} or clerk_phone = #{search}) and (clerk_code = #{search} or clerk_phone = #{search})
</if> </if>
order by create_time desc order by create_time desc
......
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