修复查看卡用户联网卡遇到的bug
This commit is contained in:
parent
d1cfc4d8da
commit
53144e3703
@ -455,7 +455,7 @@ public class XhpcCardServiceImpl implements IXhpcCardService {
|
||||
cardUserInfo.setLicencePlate(tIccardUser.getLicenceplate());
|
||||
return R.ok(cardUserInfo);
|
||||
} else {
|
||||
XhpcIcCardInfo xhpcIcCardInfo = xhpcCardMapper.getXhpcIcCardInfo(tIccardInfo.getCardid());
|
||||
XhpcIcCardInfo xhpcIcCardInfo = xhpcCardMapper.getXhpcIcCardInfo(String.valueOf(tIccardInfo.getId()));
|
||||
cardUserInfo.setUserAccount(xhpcIcCardInfo.getUserAccount());
|
||||
cardUserInfo.setUserType(xhpcIcCardInfo.getUserType());
|
||||
//公共部分
|
||||
|
||||
@ -212,11 +212,13 @@
|
||||
</select>
|
||||
|
||||
<select id="getXhpcIcCardInfo" resultMap="BaseResultMap">
|
||||
select *
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from xhpc_ic_card_info
|
||||
where t_iccard_info_id = #{tIccardInfoId}
|
||||
and del_flag = 0
|
||||
order by create_time desc limit 1
|
||||
order by create_time desc
|
||||
limit 1
|
||||
</select>
|
||||
<select id="selectBytCardId" resultMap="BaseResultMap">
|
||||
select
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user