|
@@ -87,8 +87,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="majorId != null and majorId !='' ">
|
|
|
AND g.major_id =#{majorId}
|
|
|
</if>
|
|
|
- <if test="change_status != null and goodsId !='' ">
|
|
|
- AND up.change_status =#{goodsId}
|
|
|
+ <if test="changeStatus != null and changeStatus !='' ">
|
|
|
+ AND up.change_status =#{changeStatus}
|
|
|
+ </if>
|
|
|
+ <if test="realname != null and realname !='' ">
|
|
|
+ AND (SELECT count(1) FROM `user` u where u.user_id = up.user_id and u.realname like concat('%', #{realname}, '%') )> 0
|
|
|
</if>
|
|
|
order by up.create_time desc
|
|
|
</select>
|