Commit ba131d6f by 徐高华

sql

parent d14bd65d
...@@ -206,6 +206,12 @@ ...@@ -206,6 +206,12 @@
and (b.name like '%${searchParams}%' or c.staff_name like '%${searchParams}%') and (b.name like '%${searchParams}%' or c.staff_name like '%${searchParams}%')
</if> </if>
</if> </if>
<if test="null != userType">
and a.user_type = #{userType}
</if>
<if test="null != startDate">
and a.join_time <![CDATA[ >=]]> #{startDate} and a.join_time <![CDATA[ <= ]]> #{endDate}
</if>
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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