Commit 2bc32632 authored by jiaorz's avatar jiaorz

Merge branch 'master-vehicle-memeber' into dev

parents c8f40d73 e6d6363f
......@@ -3,6 +3,8 @@ package com.github.wxiaoqi.security.admin.vo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.Column;
/**
* 用户会员
......@@ -113,4 +115,6 @@ public class UserMemberVo {
@ApiModelProperty("会员名")
private String memberName;
@Column(name = "member_type")
private Integer memberType;
}
......@@ -115,6 +115,7 @@ public class PublicController {
UserMemberVo memberVo=userMemberBiz.getMemberInfoByUserId(userid);
if(memberVo!=null){
BeanUtils.copyProperties(userDTO,memberVo);
userDTO.setMemberType(memberVo.getMemberType());
}
}
AppUserPosition userPosition=positionBiz.selectById(positionId);
......
......@@ -20,6 +20,7 @@
<result property="updTime" column="upd_time"/>
<result property="isDel" column="is_del"/>
<result property="memberName" column="member_name"/>
<result property="memberType" column="member_type"/>
</resultMap>
<select id="getInfoByUserId" resultMap="baseUserMemberMap">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment