| @@ -94,6 +94,7 @@ public class WxCUserBasicInfoController extends BaseController | |||||
| wxCUserBasicInfo.setCUserId(wxCUser.getId()); | wxCUserBasicInfo.setCUserId(wxCUser.getId()); | ||||
| wxCUserBasicInfo.setPhone(wxCUser.getPhone()); | wxCUserBasicInfo.setPhone(wxCUser.getPhone()); | ||||
| wxCUserBasicInfo.setTenantId(wxCUser.getTenantId()); | wxCUserBasicInfo.setTenantId(wxCUser.getTenantId()); | ||||
| wxCUserBasicInfo.setNickName(wxCUser.getNickName()); | |||||
| wxCUserBasicInfoService.saveOrUpdate(wxCUserBasicInfo); | wxCUserBasicInfoService.saveOrUpdate(wxCUserBasicInfo); | ||||
| } | } | ||||
| @@ -82,6 +82,14 @@ public class WxCUserBasicInfo implements Serializable { | |||||
| /*用户姓名**/ | /*用户姓名**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="用户姓名",name="name") | @io.swagger.annotations.ApiModelProperty(value="用户姓名",name="name") | ||||
| private String name; | private String name; | ||||
| /*会员等级**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="会员等级",name="level") | |||||
| private String level; | |||||
| /*用户昵称**/ | |||||
| @io.swagger.annotations.ApiModelProperty(value="用户昵称",name="nickName") | |||||
| private String nickName; | |||||
| @Transient | @Transient | ||||
| private String tagIds; | private String tagIds; | ||||
| @Transient | @Transient | ||||
| @@ -89,6 +97,22 @@ public class WxCUserBasicInfo implements Serializable { | |||||
| @Transient | @Transient | ||||
| private long count; | private long count; | ||||
| public String getLevel() { | |||||
| return level; | |||||
| } | |||||
| public void setLevel(String level) { | |||||
| this.level = level; | |||||
| } | |||||
| public String getNickName() { | |||||
| return nickName; | |||||
| } | |||||
| public void setNickName(String nickName) { | |||||
| this.nickName = nickName; | |||||
| } | |||||
| public long getCount() { | public long getCount() { | ||||
| return count; | return count; | ||||
| } | } | ||||
| @@ -16,10 +16,13 @@ | |||||
| <result column="update_date" jdbcType="TIMESTAMP" property="updateDate" /> | <result column="update_date" jdbcType="TIMESTAMP" property="updateDate" /> | ||||
| <result column="tenant_id" jdbcType="VARCHAR" property="tenantId" /> | <result column="tenant_id" jdbcType="VARCHAR" property="tenantId" /> | ||||
| <result column="name" jdbcType="VARCHAR" property="name" /> | <result column="name" jdbcType="VARCHAR" property="name" /> | ||||
| <result column="level" jdbcType="VARCHAR" property="level" /> | |||||
| <result column="nick_name" jdbcType="VARCHAR" property="nickName" /> | |||||
| </resultMap> | </resultMap> | ||||
| <sql id="allColumns"> | <sql id="allColumns"> | ||||
| `id`,`phone`,`birthdate`,`education`,`sex`,`email`,`address`,`poins`,`tag_id`,`c_user_id`,`create_date`,`update_date`,`tenant_id`,`name` | |||||
| `id`,`phone`,`birthdate`,`education`,`sex`,`email`,`address`,`poins`,`tag_id`,`c_user_id`, | |||||
| `create_date`,`update_date`,`tenant_id`,`name`,level,nickName | |||||
| </sql> | </sql> | ||||
| <sql id="dynamicWhereConditions"> | <sql id="dynamicWhereConditions"> | ||||