|
|
@@ -730,19 +730,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</if>
|
|
|
<if test="promiseUploadSign != null and promiseUploadSign == 1" >
|
|
|
AND (SELECT COUNT(up.id) FROM user_profile up WHERE up.user_id = u.user_id AND up.current_status = 1
|
|
|
- AND INSTR(up.key_value,'"fieldKey":"commitment_seal","value":"oss/images/avatar') > 0) > 0
|
|
|
+ AND INSTR(up.key_value,'"fieldKey":"commitment_seal","value":"oss/images/avatar')) > 0
|
|
|
</if>
|
|
|
<if test="promiseUploadSign != null and promiseUploadSign == 0" >
|
|
|
AND (SELECT COUNT(up.id) FROM user_profile up WHERE up.user_id = u.user_id AND up.current_status = 1
|
|
|
- AND INSTR(up.key_value,'"fieldKey":"commitment_seal","value":"oss/images/avatar') = 0) > 0
|
|
|
+ AND INSTR(up.key_value,'"fieldKey":"commitment_seal","value":"oss/images/avatar')) = 0
|
|
|
</if>
|
|
|
<if test="promiseSign != null and promiseSign == 1" >
|
|
|
AND (SELECT COUNT(up.id) FROM user_profile up WHERE up.user_id = u.user_id AND up.current_status = 1
|
|
|
- AND INSTR(up.key_value,'"fieldKey":"commitment_electr_signature","value":"oss/images/avatar') > 0) > 0
|
|
|
+ AND INSTR(up.key_value,'"fieldKey":"commitment_electr_signature","value":"oss/images/avatar')) > 0
|
|
|
</if>
|
|
|
<if test="promiseSign != null and promiseSign == 0" >
|
|
|
AND (SELECT COUNT(up.id) FROM user_profile up WHERE up.user_id = u.user_id AND up.current_status = 1
|
|
|
- AND INSTR(up.key_value,'"fieldKey":"commitment_electr_signature","value":"oss/images/avatar') = 0) > 0
|
|
|
+ AND INSTR(up.key_value,'"fieldKey":"commitment_electr_signature","value":"oss/images/avatar')) = 0
|
|
|
</if>
|
|
|
order by u.user_id desc
|
|
|
</select>
|