|
@@ -536,8 +536,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
/* 3. 负面名单 id(只取一条即可) */
|
|
/* 3. 负面名单 id(只取一条即可) */
|
|
|
LEFT JOIN lab_negative_list_records n
|
|
LEFT JOIN lab_negative_list_records n
|
|
|
- ON n.user_id = u.user_id;
|
|
|
|
|
- where true
|
|
|
|
|
|
|
+ ON n.user_id = u.user_id
|
|
|
|
|
+ <where>
|
|
|
<!--<if test="userId!=null"> and join_user_id=#{userId}</if>-->
|
|
<!--<if test="userId!=null"> and join_user_id=#{userId}</if>-->
|
|
|
<if test="creact_id!=null"> and creact_id=#{creact_id}</if>
|
|
<if test="creact_id!=null"> and creact_id=#{creact_id}</if>
|
|
|
|
|
|
|
@@ -569,6 +569,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="order=='blackListNum'">
|
|
<if test="order=='blackListNum'">
|
|
|
order by v.black_list_num ${orderType}
|
|
order by v.black_list_num ${orderType}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ </where>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<update id="updateLabViolationNum" >
|
|
<update id="updateLabViolationNum" >
|