查询平台或运营商端各种类型用户的接口的bug

This commit is contained in:
wenhui 2022-03-02 14:11:12 +08:00
parent 5f7d65ae61
commit 0e7665cf9a
2 changed files with 3 additions and 3 deletions

View File

@ -355,7 +355,7 @@ public class XhpcCardServiceImpl implements IXhpcCardService {
case 3: case 3:
XhpcCustomersPersonnel xhpcCustomersPersonnel = xhpcCustomersPersonnelMapper.selectByAccount(bindCardInfo.getUserAccount()); XhpcCustomersPersonnel xhpcCustomersPersonnel = xhpcCustomersPersonnelMapper.selectByAccount(bindCardInfo.getUserAccount());
Long customersId = xhpcCustomersPersonnel.getCustomersId(); Long customersId = xhpcCustomersPersonnel.getCustomersId();
xhpcCustomersPersonnel.setCustomersId(customersId); xhpcIcCardInfo.setUserId(customersId);
break; break;
default: default:
return R.fail("没有此用户类型"); return R.fail("没有此用户类型");

View File

@ -58,7 +58,7 @@
and account like concat('%',#{queryCondition.userAccount},'%') and account like concat('%',#{queryCondition.userAccount},'%')
</if> </if>
<if test="userIdList!=null and userIdList.size()!=0"> <if test="userIdList!=null and userIdList.size()!=0">
and communitiy_personnel_id not in and community_personnel_id not in
<foreach collection="userIdList" item="userId" open="(" close=")" separator=","> <foreach collection="userIdList" item="userId" open="(" close=")" separator=",">
#{userId} #{userId}
</foreach> </foreach>
@ -74,7 +74,7 @@
and account like concat('%',#{queryCondition.userAccount},'%') and account like concat('%',#{queryCondition.userAccount},'%')
</if> </if>
<if test="userIdList!=null and userIdList.size()!=0"> <if test="userIdList!=null and userIdList.size()!=0">
and communitiy_personnel_id not in and community_personnel_id not in
<foreach collection="userIdList" item="userId" open="(" close=")" separator=","> <foreach collection="userIdList" item="userId" open="(" close=")" separator=",">
#{userId} #{userId}
</foreach> </foreach>