|
@@ -811,7 +811,12 @@
|
|
|
and cgu.period_status != -1
|
|
|
</if>
|
|
|
<if test="searchKey != null and searchKey != '' ">
|
|
|
- and (u.realname like concat('%', #{searchKey}, '%') or u.id_card like concat('%', #{searchKey}, '%') or g.goods_name like concat('%', #{searchKey}, '%') or cg.class_name like concat('%', #{searchKey}, '%'))
|
|
|
+ and (
|
|
|
+ u.realname like concat('%', #{searchKey}, '%')
|
|
|
+ or u.id_card like concat('%', #{searchKey}, '%')
|
|
|
+ or g.goods_name like concat('%', #{searchKey}, '%')
|
|
|
+ or cg.class_name like concat('%', #{searchKey}, '%')
|
|
|
+ or u.company_name like concat('%', #{searchKey}, '%'))
|
|
|
</if>
|
|
|
<if test="searchStartTime != null and searchStartTime !='' ">
|
|
|
AND cgu.create_time >=#{searchStartTime}
|