正在显示
51 个修改的文件
包含
4832 行增加
和
1 行删除
| @@ -16,7 +16,6 @@ | @@ -16,7 +16,6 @@ | ||
| 16 | <dependency> | 16 | <dependency> |
| 17 | <groupId>io.swagger</groupId> | 17 | <groupId>io.swagger</groupId> |
| 18 | <artifactId>swagger-annotations</artifactId> | 18 | <artifactId>swagger-annotations</artifactId> |
| 19 | - <version>1.6.2</version> | ||
| 20 | <scope>compile</scope> | 19 | <scope>compile</scope> |
| 21 | </dependency> | 20 | </dependency> |
| 22 | </dependencies> | 21 | </dependencies> |
| 1 | +package com.zhonglai.luhui.domain.user; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户账户信息对象 user_account_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-18 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户账户信息") | ||
| 16 | +public class UserAccountInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + @ApiModelProperty(value="主键id") | ||
| 22 | + private Integer id; | ||
| 23 | + | ||
| 24 | + /** 积分 */ | ||
| 25 | + @ApiModelProperty(value="积分") | ||
| 26 | + private Integer integral; | ||
| 27 | + | ||
| 28 | + /** 余额 */ | ||
| 29 | + @ApiModelProperty(value="余额") | ||
| 30 | + private Integer balance; | ||
| 31 | + | ||
| 32 | + /** 级别 */ | ||
| 33 | + @ApiModelProperty(value="级别") | ||
| 34 | + private Integer level; | ||
| 35 | + | ||
| 36 | + /** 货币 */ | ||
| 37 | + @ApiModelProperty(value="货币") | ||
| 38 | + private Integer currency; | ||
| 39 | + | ||
| 40 | + /** 经验 */ | ||
| 41 | + @ApiModelProperty(value="经验") | ||
| 42 | + private Integer experience; | ||
| 43 | + | ||
| 44 | + /** 年度服务费 */ | ||
| 45 | + @ApiModelProperty(value="年度服务费") | ||
| 46 | + private Integer annualServiceCharge; | ||
| 47 | + | ||
| 48 | + /** 点苗器到期时间 */ | ||
| 49 | + @ApiModelProperty(value="点苗器到期时间") | ||
| 50 | + private Integer dianmiaoEndTime; | ||
| 51 | + | ||
| 52 | + public void setId(Integer id) | ||
| 53 | + { | ||
| 54 | + this.id = id; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + public Integer getId() | ||
| 58 | + { | ||
| 59 | + return id; | ||
| 60 | + } | ||
| 61 | + public void setIntegral(Integer integral) | ||
| 62 | + { | ||
| 63 | + this.integral = integral; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public Integer getIntegral() | ||
| 67 | + { | ||
| 68 | + return integral; | ||
| 69 | + } | ||
| 70 | + public void setBalance(Integer balance) | ||
| 71 | + { | ||
| 72 | + this.balance = balance; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public Integer getBalance() | ||
| 76 | + { | ||
| 77 | + return balance; | ||
| 78 | + } | ||
| 79 | + public void setLevel(Integer level) | ||
| 80 | + { | ||
| 81 | + this.level = level; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public Integer getLevel() | ||
| 85 | + { | ||
| 86 | + return level; | ||
| 87 | + } | ||
| 88 | + public void setCurrency(Integer currency) | ||
| 89 | + { | ||
| 90 | + this.currency = currency; | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + public Integer getCurrency() | ||
| 94 | + { | ||
| 95 | + return currency; | ||
| 96 | + } | ||
| 97 | + public void setExperience(Integer experience) | ||
| 98 | + { | ||
| 99 | + this.experience = experience; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public Integer getExperience() | ||
| 103 | + { | ||
| 104 | + return experience; | ||
| 105 | + } | ||
| 106 | + public void setAnnualServiceCharge(Integer annualServiceCharge) | ||
| 107 | + { | ||
| 108 | + this.annualServiceCharge = annualServiceCharge; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + public Integer getAnnualServiceCharge() | ||
| 112 | + { | ||
| 113 | + return annualServiceCharge; | ||
| 114 | + } | ||
| 115 | + public void setDianmiaoEndTime(Integer dianmiaoEndTime) | ||
| 116 | + { | ||
| 117 | + this.dianmiaoEndTime = dianmiaoEndTime; | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + public Integer getDianmiaoEndTime() | ||
| 121 | + { | ||
| 122 | + return dianmiaoEndTime; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + @Override | ||
| 126 | + public String toString() { | ||
| 127 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 128 | + .append("id", getId()) | ||
| 129 | + .append("integral", getIntegral()) | ||
| 130 | + .append("balance", getBalance()) | ||
| 131 | + .append("level", getLevel()) | ||
| 132 | + .append("currency", getCurrency()) | ||
| 133 | + .append("experience", getExperience()) | ||
| 134 | + .append("annualServiceCharge", getAnnualServiceCharge()) | ||
| 135 | + .append("dianmiaoEndTime", getDianmiaoEndTime()) | ||
| 136 | + .toString(); | ||
| 137 | + } | ||
| 138 | +} |
| 1 | +package com.zhonglai.luhui.domain.user; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户地理信息对象 user_address_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-18 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户地理信息") | ||
| 16 | +public class UserAddressInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + @ApiModelProperty(value="主键id") | ||
| 22 | + private Integer id; | ||
| 23 | + | ||
| 24 | + /** */ | ||
| 25 | + @ApiModelProperty(value="") | ||
| 26 | + private String provinceId; | ||
| 27 | + | ||
| 28 | + /** */ | ||
| 29 | + @ApiModelProperty(value="") | ||
| 30 | + private String cityId; | ||
| 31 | + | ||
| 32 | + /** */ | ||
| 33 | + @ApiModelProperty(value="") | ||
| 34 | + private String countyId; | ||
| 35 | + | ||
| 36 | + /** */ | ||
| 37 | + @ApiModelProperty(value="") | ||
| 38 | + private String provinceName; | ||
| 39 | + | ||
| 40 | + /** */ | ||
| 41 | + @ApiModelProperty(value="") | ||
| 42 | + private String cityName; | ||
| 43 | + | ||
| 44 | + /** */ | ||
| 45 | + @ApiModelProperty(value="") | ||
| 46 | + private String countyName; | ||
| 47 | + | ||
| 48 | + /** */ | ||
| 49 | + @ApiModelProperty(value="") | ||
| 50 | + private String address; | ||
| 51 | + | ||
| 52 | + /** 常用搜索 */ | ||
| 53 | + @ApiModelProperty(value="常用搜索") | ||
| 54 | + private String search; | ||
| 55 | + | ||
| 56 | + public void setId(Integer id) | ||
| 57 | + { | ||
| 58 | + this.id = id; | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + public Integer getId() | ||
| 62 | + { | ||
| 63 | + return id; | ||
| 64 | + } | ||
| 65 | + public void setProvinceId(String provinceId) | ||
| 66 | + { | ||
| 67 | + this.provinceId = provinceId; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public String getProvinceId() | ||
| 71 | + { | ||
| 72 | + return provinceId; | ||
| 73 | + } | ||
| 74 | + public void setCityId(String cityId) | ||
| 75 | + { | ||
| 76 | + this.cityId = cityId; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public String getCityId() | ||
| 80 | + { | ||
| 81 | + return cityId; | ||
| 82 | + } | ||
| 83 | + public void setCountyId(String countyId) | ||
| 84 | + { | ||
| 85 | + this.countyId = countyId; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public String getCountyId() | ||
| 89 | + { | ||
| 90 | + return countyId; | ||
| 91 | + } | ||
| 92 | + public void setProvinceName(String provinceName) | ||
| 93 | + { | ||
| 94 | + this.provinceName = provinceName; | ||
| 95 | + } | ||
| 96 | + | ||
| 97 | + public String getProvinceName() | ||
| 98 | + { | ||
| 99 | + return provinceName; | ||
| 100 | + } | ||
| 101 | + public void setCityName(String cityName) | ||
| 102 | + { | ||
| 103 | + this.cityName = cityName; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public String getCityName() | ||
| 107 | + { | ||
| 108 | + return cityName; | ||
| 109 | + } | ||
| 110 | + public void setCountyName(String countyName) | ||
| 111 | + { | ||
| 112 | + this.countyName = countyName; | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + public String getCountyName() | ||
| 116 | + { | ||
| 117 | + return countyName; | ||
| 118 | + } | ||
| 119 | + public void setAddress(String address) | ||
| 120 | + { | ||
| 121 | + this.address = address; | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + public String getAddress() | ||
| 125 | + { | ||
| 126 | + return address; | ||
| 127 | + } | ||
| 128 | + public void setSearch(String search) | ||
| 129 | + { | ||
| 130 | + this.search = search; | ||
| 131 | + } | ||
| 132 | + | ||
| 133 | + public String getSearch() | ||
| 134 | + { | ||
| 135 | + return search; | ||
| 136 | + } | ||
| 137 | + | ||
| 138 | + @Override | ||
| 139 | + public String toString() { | ||
| 140 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 141 | + .append("id", getId()) | ||
| 142 | + .append("provinceId", getProvinceId()) | ||
| 143 | + .append("cityId", getCityId()) | ||
| 144 | + .append("countyId", getCountyId()) | ||
| 145 | + .append("provinceName", getProvinceName()) | ||
| 146 | + .append("cityName", getCityName()) | ||
| 147 | + .append("countyName", getCountyName()) | ||
| 148 | + .append("address", getAddress()) | ||
| 149 | + .append("search", getSearch()) | ||
| 150 | + .toString(); | ||
| 151 | + } | ||
| 152 | +} |
| 1 | +package com.zhonglai.luhui.domain.user; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户认证信息对象 user_auth_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-18 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户认证信息") | ||
| 16 | +public class UserAuthInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + @ApiModelProperty(value="主键id") | ||
| 22 | + private Integer id; | ||
| 23 | + | ||
| 24 | + /** 是否实名认证(0否,1是) */ | ||
| 25 | + @ApiModelProperty(value="是否实名认证(0否,1是)") | ||
| 26 | + private Integer nameAuthentication; | ||
| 27 | + | ||
| 28 | + /** 个人审核状态 */ | ||
| 29 | + @ApiModelProperty(value="个人审核状态") | ||
| 30 | + private Integer personalAuthenticationState; | ||
| 31 | + | ||
| 32 | + /** 企业审核状态 */ | ||
| 33 | + @ApiModelProperty(value="企业审核状态") | ||
| 34 | + private Integer enterpriseAuthenticationState; | ||
| 35 | + | ||
| 36 | + /** 个人审核描述 */ | ||
| 37 | + @ApiModelProperty(value="个人审核描述") | ||
| 38 | + private String personalAuthenticationDescribe; | ||
| 39 | + | ||
| 40 | + /** 企业审核描述 */ | ||
| 41 | + @ApiModelProperty(value="企业审核描述") | ||
| 42 | + private String enterpriseAuthenticationDescribe; | ||
| 43 | + | ||
| 44 | + /** 个人审核更新时间 */ | ||
| 45 | + @ApiModelProperty(value="个人审核更新时间") | ||
| 46 | + private Integer personalAuthenticationTime; | ||
| 47 | + | ||
| 48 | + /** 企业审核更新时间 */ | ||
| 49 | + @ApiModelProperty(value="企业审核更新时间") | ||
| 50 | + private Integer enterpriseAuthenticationTime; | ||
| 51 | + | ||
| 52 | + /** 身份证号 */ | ||
| 53 | + @ApiModelProperty(value="身份证号") | ||
| 54 | + private String identificationCard; | ||
| 55 | + | ||
| 56 | + /** 营业执照号 */ | ||
| 57 | + @ApiModelProperty(value="营业执照号") | ||
| 58 | + private String businessLicenseNo; | ||
| 59 | + | ||
| 60 | + /** 企业名称 */ | ||
| 61 | + @ApiModelProperty(value="企业名称") | ||
| 62 | + private String enterpriseName; | ||
| 63 | + | ||
| 64 | + /** 企业营业执照 */ | ||
| 65 | + @ApiModelProperty(value="企业营业执照") | ||
| 66 | + private String businessLicenseUrl; | ||
| 67 | + | ||
| 68 | + public void setId(Integer id) | ||
| 69 | + { | ||
| 70 | + this.id = id; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + public Integer getId() | ||
| 74 | + { | ||
| 75 | + return id; | ||
| 76 | + } | ||
| 77 | + public void setNameAuthentication(Integer nameAuthentication) | ||
| 78 | + { | ||
| 79 | + this.nameAuthentication = nameAuthentication; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public Integer getNameAuthentication() | ||
| 83 | + { | ||
| 84 | + return nameAuthentication; | ||
| 85 | + } | ||
| 86 | + public void setPersonalAuthenticationState(Integer personalAuthenticationState) | ||
| 87 | + { | ||
| 88 | + this.personalAuthenticationState = personalAuthenticationState; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + public Integer getPersonalAuthenticationState() | ||
| 92 | + { | ||
| 93 | + return personalAuthenticationState; | ||
| 94 | + } | ||
| 95 | + public void setEnterpriseAuthenticationState(Integer enterpriseAuthenticationState) | ||
| 96 | + { | ||
| 97 | + this.enterpriseAuthenticationState = enterpriseAuthenticationState; | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + public Integer getEnterpriseAuthenticationState() | ||
| 101 | + { | ||
| 102 | + return enterpriseAuthenticationState; | ||
| 103 | + } | ||
| 104 | + public void setPersonalAuthenticationDescribe(String personalAuthenticationDescribe) | ||
| 105 | + { | ||
| 106 | + this.personalAuthenticationDescribe = personalAuthenticationDescribe; | ||
| 107 | + } | ||
| 108 | + | ||
| 109 | + public String getPersonalAuthenticationDescribe() | ||
| 110 | + { | ||
| 111 | + return personalAuthenticationDescribe; | ||
| 112 | + } | ||
| 113 | + public void setEnterpriseAuthenticationDescribe(String enterpriseAuthenticationDescribe) | ||
| 114 | + { | ||
| 115 | + this.enterpriseAuthenticationDescribe = enterpriseAuthenticationDescribe; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public String getEnterpriseAuthenticationDescribe() | ||
| 119 | + { | ||
| 120 | + return enterpriseAuthenticationDescribe; | ||
| 121 | + } | ||
| 122 | + public void setPersonalAuthenticationTime(Integer personalAuthenticationTime) | ||
| 123 | + { | ||
| 124 | + this.personalAuthenticationTime = personalAuthenticationTime; | ||
| 125 | + } | ||
| 126 | + | ||
| 127 | + public Integer getPersonalAuthenticationTime() | ||
| 128 | + { | ||
| 129 | + return personalAuthenticationTime; | ||
| 130 | + } | ||
| 131 | + public void setEnterpriseAuthenticationTime(Integer enterpriseAuthenticationTime) | ||
| 132 | + { | ||
| 133 | + this.enterpriseAuthenticationTime = enterpriseAuthenticationTime; | ||
| 134 | + } | ||
| 135 | + | ||
| 136 | + public Integer getEnterpriseAuthenticationTime() | ||
| 137 | + { | ||
| 138 | + return enterpriseAuthenticationTime; | ||
| 139 | + } | ||
| 140 | + public void setIdentificationCard(String identificationCard) | ||
| 141 | + { | ||
| 142 | + this.identificationCard = identificationCard; | ||
| 143 | + } | ||
| 144 | + | ||
| 145 | + public String getIdentificationCard() | ||
| 146 | + { | ||
| 147 | + return identificationCard; | ||
| 148 | + } | ||
| 149 | + public void setBusinessLicenseNo(String businessLicenseNo) | ||
| 150 | + { | ||
| 151 | + this.businessLicenseNo = businessLicenseNo; | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + public String getBusinessLicenseNo() | ||
| 155 | + { | ||
| 156 | + return businessLicenseNo; | ||
| 157 | + } | ||
| 158 | + public void setEnterpriseName(String enterpriseName) | ||
| 159 | + { | ||
| 160 | + this.enterpriseName = enterpriseName; | ||
| 161 | + } | ||
| 162 | + | ||
| 163 | + public String getEnterpriseName() | ||
| 164 | + { | ||
| 165 | + return enterpriseName; | ||
| 166 | + } | ||
| 167 | + public void setBusinessLicenseUrl(String businessLicenseUrl) | ||
| 168 | + { | ||
| 169 | + this.businessLicenseUrl = businessLicenseUrl; | ||
| 170 | + } | ||
| 171 | + | ||
| 172 | + public String getBusinessLicenseUrl() | ||
| 173 | + { | ||
| 174 | + return businessLicenseUrl; | ||
| 175 | + } | ||
| 176 | + | ||
| 177 | + @Override | ||
| 178 | + public String toString() { | ||
| 179 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 180 | + .append("id", getId()) | ||
| 181 | + .append("nameAuthentication", getNameAuthentication()) | ||
| 182 | + .append("personalAuthenticationState", getPersonalAuthenticationState()) | ||
| 183 | + .append("enterpriseAuthenticationState", getEnterpriseAuthenticationState()) | ||
| 184 | + .append("personalAuthenticationDescribe", getPersonalAuthenticationDescribe()) | ||
| 185 | + .append("enterpriseAuthenticationDescribe", getEnterpriseAuthenticationDescribe()) | ||
| 186 | + .append("personalAuthenticationTime", getPersonalAuthenticationTime()) | ||
| 187 | + .append("enterpriseAuthenticationTime", getEnterpriseAuthenticationTime()) | ||
| 188 | + .append("identificationCard", getIdentificationCard()) | ||
| 189 | + .append("businessLicenseNo", getBusinessLicenseNo()) | ||
| 190 | + .append("enterpriseName", getEnterpriseName()) | ||
| 191 | + .append("businessLicenseUrl", getBusinessLicenseUrl()) | ||
| 192 | + .toString(); | ||
| 193 | + } | ||
| 194 | +} |
| 1 | +package com.zhonglai.luhui.domain.user; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 基础用户信息对象 user_base_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-18 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("基础用户信息") | ||
| 16 | +public class UserBaseInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + @ApiModelProperty(value="主键id") | ||
| 22 | + private Integer id; | ||
| 23 | + | ||
| 24 | + /** 登录名 */ | ||
| 25 | + @ApiModelProperty(value="登录名") | ||
| 26 | + private String loginName; | ||
| 27 | + | ||
| 28 | + /** 真实姓名 */ | ||
| 29 | + @ApiModelProperty(value="真实姓名") | ||
| 30 | + private String name; | ||
| 31 | + | ||
| 32 | + /** 昵称 */ | ||
| 33 | + @ApiModelProperty(value="昵称") | ||
| 34 | + private String nickname; | ||
| 35 | + | ||
| 36 | + /** 性别(0男,1女) */ | ||
| 37 | + @ApiModelProperty(value="性别(0男,1女)") | ||
| 38 | + private Integer gender; | ||
| 39 | + | ||
| 40 | + /** 手机号 */ | ||
| 41 | + @ApiModelProperty(value="手机号") | ||
| 42 | + private String phone; | ||
| 43 | + | ||
| 44 | + /** 电子邮箱 */ | ||
| 45 | + @ApiModelProperty(value="电子邮箱") | ||
| 46 | + private String email; | ||
| 47 | + | ||
| 48 | + /** 头像地址 */ | ||
| 49 | + @ApiModelProperty(value="头像地址") | ||
| 50 | + private String imgUrl; | ||
| 51 | + | ||
| 52 | + public void setId(Integer id) | ||
| 53 | + { | ||
| 54 | + this.id = id; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + public Integer getId() | ||
| 58 | + { | ||
| 59 | + return id; | ||
| 60 | + } | ||
| 61 | + public void setLoginName(String loginName) | ||
| 62 | + { | ||
| 63 | + this.loginName = loginName; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public String getLoginName() | ||
| 67 | + { | ||
| 68 | + return loginName; | ||
| 69 | + } | ||
| 70 | + public void setName(String name) | ||
| 71 | + { | ||
| 72 | + this.name = name; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public String getName() | ||
| 76 | + { | ||
| 77 | + return name; | ||
| 78 | + } | ||
| 79 | + public void setNickname(String nickname) | ||
| 80 | + { | ||
| 81 | + this.nickname = nickname; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public String getNickname() | ||
| 85 | + { | ||
| 86 | + return nickname; | ||
| 87 | + } | ||
| 88 | + public void setGender(Integer gender) | ||
| 89 | + { | ||
| 90 | + this.gender = gender; | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + public Integer getGender() | ||
| 94 | + { | ||
| 95 | + return gender; | ||
| 96 | + } | ||
| 97 | + public void setPhone(String phone) | ||
| 98 | + { | ||
| 99 | + this.phone = phone; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public String getPhone() | ||
| 103 | + { | ||
| 104 | + return phone; | ||
| 105 | + } | ||
| 106 | + public void setEmail(String email) | ||
| 107 | + { | ||
| 108 | + this.email = email; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + public String getEmail() | ||
| 112 | + { | ||
| 113 | + return email; | ||
| 114 | + } | ||
| 115 | + public void setImgUrl(String imgUrl) | ||
| 116 | + { | ||
| 117 | + this.imgUrl = imgUrl; | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + public String getImgUrl() | ||
| 121 | + { | ||
| 122 | + return imgUrl; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + @Override | ||
| 126 | + public String toString() { | ||
| 127 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 128 | + .append("id", getId()) | ||
| 129 | + .append("loginName", getLoginName()) | ||
| 130 | + .append("name", getName()) | ||
| 131 | + .append("nickname", getNickname()) | ||
| 132 | + .append("gender", getGender()) | ||
| 133 | + .append("phone", getPhone()) | ||
| 134 | + .append("email", getEmail()) | ||
| 135 | + .append("imgUrl", getImgUrl()) | ||
| 136 | + .append("createTime", getCreateTime()) | ||
| 137 | + .toString(); | ||
| 138 | + } | ||
| 139 | +} |
| 1 | +package com.zhonglai.luhui.domain.user; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户其他信息对象 user_extra_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-18 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户其他信息") | ||
| 16 | +public class UserExtraInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + @ApiModelProperty(value="主键id") | ||
| 22 | + private Integer id; | ||
| 23 | + | ||
| 24 | + /** 描述图片地址 */ | ||
| 25 | + @ApiModelProperty(value="描述图片地址") | ||
| 26 | + private String describeImgUrl; | ||
| 27 | + | ||
| 28 | + /** 描述 */ | ||
| 29 | + @ApiModelProperty(value="描述") | ||
| 30 | + private String describe; | ||
| 31 | + | ||
| 32 | + /** 用户类型(0普通用户,1管理员,2客服) */ | ||
| 33 | + @ApiModelProperty(value="用户类型",allowableValues="0=普通用户,1管理员,2客服") | ||
| 34 | + private Integer userType; | ||
| 35 | + | ||
| 36 | + /** 是否失效 */ | ||
| 37 | + @ApiModelProperty(value="是否失效") | ||
| 38 | + private Integer isInvalid; | ||
| 39 | + | ||
| 40 | + /** 是否参与活动 */ | ||
| 41 | + @ApiModelProperty(value="是否参与活动") | ||
| 42 | + private Integer isParticipateIn; | ||
| 43 | + | ||
| 44 | + /** 公司ID */ | ||
| 45 | + @ApiModelProperty(value="公司ID") | ||
| 46 | + private Integer companyId; | ||
| 47 | + | ||
| 48 | + /** 分享次数 */ | ||
| 49 | + @ApiModelProperty(value="分享次数") | ||
| 50 | + private Integer shareNumber; | ||
| 51 | + | ||
| 52 | + public void setId(Integer id) | ||
| 53 | + { | ||
| 54 | + this.id = id; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + public Integer getId() | ||
| 58 | + { | ||
| 59 | + return id; | ||
| 60 | + } | ||
| 61 | + public void setDescribeImgUrl(String describeImgUrl) | ||
| 62 | + { | ||
| 63 | + this.describeImgUrl = describeImgUrl; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public String getDescribeImgUrl() | ||
| 67 | + { | ||
| 68 | + return describeImgUrl; | ||
| 69 | + } | ||
| 70 | + public void setDescribe(String describe) | ||
| 71 | + { | ||
| 72 | + this.describe = describe; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public String getDescribe() | ||
| 76 | + { | ||
| 77 | + return describe; | ||
| 78 | + } | ||
| 79 | + public void setUserType(Integer userType) | ||
| 80 | + { | ||
| 81 | + this.userType = userType; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public Integer getUserType() | ||
| 85 | + { | ||
| 86 | + return userType; | ||
| 87 | + } | ||
| 88 | + public void setIsInvalid(Integer isInvalid) | ||
| 89 | + { | ||
| 90 | + this.isInvalid = isInvalid; | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + public Integer getIsInvalid() | ||
| 94 | + { | ||
| 95 | + return isInvalid; | ||
| 96 | + } | ||
| 97 | + public void setIsParticipateIn(Integer isParticipateIn) | ||
| 98 | + { | ||
| 99 | + this.isParticipateIn = isParticipateIn; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public Integer getIsParticipateIn() | ||
| 103 | + { | ||
| 104 | + return isParticipateIn; | ||
| 105 | + } | ||
| 106 | + public void setCompanyId(Integer companyId) | ||
| 107 | + { | ||
| 108 | + this.companyId = companyId; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + public Integer getCompanyId() | ||
| 112 | + { | ||
| 113 | + return companyId; | ||
| 114 | + } | ||
| 115 | + public void setShareNumber(Integer shareNumber) | ||
| 116 | + { | ||
| 117 | + this.shareNumber = shareNumber; | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + public Integer getShareNumber() | ||
| 121 | + { | ||
| 122 | + return shareNumber; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + @Override | ||
| 126 | + public String toString() { | ||
| 127 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 128 | + .append("id", getId()) | ||
| 129 | + .append("describeImgUrl", getDescribeImgUrl()) | ||
| 130 | + .append("describe", getDescribe()) | ||
| 131 | + .append("userType", getUserType()) | ||
| 132 | + .append("isInvalid", getIsInvalid()) | ||
| 133 | + .append("isParticipateIn", getIsParticipateIn()) | ||
| 134 | + .append("companyId", getCompanyId()) | ||
| 135 | + .append("shareNumber", getShareNumber()) | ||
| 136 | + .toString(); | ||
| 137 | + } | ||
| 138 | +} |
| 1 | +package com.zhonglai.luhui.domain.user; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户登录对象 user_login | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-18 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户登录") | ||
| 16 | +public class UserLogin extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户登录主键主键 */ | ||
| 21 | + @ApiModelProperty(value="主键id") | ||
| 22 | + private Integer id; | ||
| 23 | + | ||
| 24 | + /** 用户主键id */ | ||
| 25 | + @ApiModelProperty(value="用户主键id") | ||
| 26 | + private Integer userId; | ||
| 27 | + | ||
| 28 | + /** 用户登录名 */ | ||
| 29 | + @ApiModelProperty(value="用户登录名") | ||
| 30 | + private String loginName; | ||
| 31 | + | ||
| 32 | + /** 用户密码 */ | ||
| 33 | + @ApiModelProperty(value="用户密码") | ||
| 34 | + private String loginPass; | ||
| 35 | + | ||
| 36 | + /** 用户登录密码key */ | ||
| 37 | + @ApiModelProperty(value="用户登录密码key") | ||
| 38 | + private String userLoginPassKey; | ||
| 39 | + | ||
| 40 | + public void setId(Integer id) | ||
| 41 | + { | ||
| 42 | + this.id = id; | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | + public Integer getId() | ||
| 46 | + { | ||
| 47 | + return id; | ||
| 48 | + } | ||
| 49 | + public void setUserId(Integer userId) | ||
| 50 | + { | ||
| 51 | + this.userId = userId; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public Integer getUserId() | ||
| 55 | + { | ||
| 56 | + return userId; | ||
| 57 | + } | ||
| 58 | + public void setLoginName(String loginName) | ||
| 59 | + { | ||
| 60 | + this.loginName = loginName; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public String getLoginName() | ||
| 64 | + { | ||
| 65 | + return loginName; | ||
| 66 | + } | ||
| 67 | + public void setLoginPass(String loginPass) | ||
| 68 | + { | ||
| 69 | + this.loginPass = loginPass; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public String getLoginPass() | ||
| 73 | + { | ||
| 74 | + return loginPass; | ||
| 75 | + } | ||
| 76 | + public void setUserLoginPassKey(String userLoginPassKey) | ||
| 77 | + { | ||
| 78 | + this.userLoginPassKey = userLoginPassKey; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + public String getUserLoginPassKey() | ||
| 82 | + { | ||
| 83 | + return userLoginPassKey; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + @Override | ||
| 87 | + public String toString() { | ||
| 88 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 89 | + .append("id", getId()) | ||
| 90 | + .append("userId", getUserId()) | ||
| 91 | + .append("loginName", getLoginName()) | ||
| 92 | + .append("loginPass", getLoginPass()) | ||
| 93 | + .append("userLoginPassKey", getUserLoginPassKey()) | ||
| 94 | + .toString(); | ||
| 95 | + } | ||
| 96 | +} |
| 1 | +package com.zhonglai.luhui.domain.user; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户登录信息对象 user_login_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-18 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户登录信息") | ||
| 16 | +public class UserLoginInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + @ApiModelProperty(value="主键id") | ||
| 22 | + private Integer id; | ||
| 23 | + | ||
| 24 | + /** 在线状态(0离线,1在线) */ | ||
| 25 | + @ApiModelProperty(value="在线状态(0离线,1在线)") | ||
| 26 | + private Integer onlineState; | ||
| 27 | + | ||
| 28 | + /** 最后登陆时间 */ | ||
| 29 | + @ApiModelProperty(value="最后登陆时间") | ||
| 30 | + private Integer lastLoginTime; | ||
| 31 | + | ||
| 32 | + /** 最后登陆IP */ | ||
| 33 | + @ApiModelProperty(value="最后登陆IP") | ||
| 34 | + private String lastLoginIp; | ||
| 35 | + | ||
| 36 | + /** 最后登陆地点 */ | ||
| 37 | + @ApiModelProperty(value="最后登陆地点") | ||
| 38 | + private String lastAddress; | ||
| 39 | + | ||
| 40 | + /** 最后登陆经度 */ | ||
| 41 | + @ApiModelProperty(value="最后登陆经度") | ||
| 42 | + private String lastLoginLongitude; | ||
| 43 | + | ||
| 44 | + /** 最后登陆纬度 */ | ||
| 45 | + @ApiModelProperty(value="最后登陆纬度") | ||
| 46 | + private String lastLoginLatitude; | ||
| 47 | + | ||
| 48 | + public void setId(Integer id) | ||
| 49 | + { | ||
| 50 | + this.id = id; | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + public Integer getId() | ||
| 54 | + { | ||
| 55 | + return id; | ||
| 56 | + } | ||
| 57 | + public void setOnlineState(Integer onlineState) | ||
| 58 | + { | ||
| 59 | + this.onlineState = onlineState; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public Integer getOnlineState() | ||
| 63 | + { | ||
| 64 | + return onlineState; | ||
| 65 | + } | ||
| 66 | + public void setLastLoginTime(Integer lastLoginTime) | ||
| 67 | + { | ||
| 68 | + this.lastLoginTime = lastLoginTime; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public Integer getLastLoginTime() | ||
| 72 | + { | ||
| 73 | + return lastLoginTime; | ||
| 74 | + } | ||
| 75 | + public void setLastLoginIp(String lastLoginIp) | ||
| 76 | + { | ||
| 77 | + this.lastLoginIp = lastLoginIp; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public String getLastLoginIp() | ||
| 81 | + { | ||
| 82 | + return lastLoginIp; | ||
| 83 | + } | ||
| 84 | + public void setLastAddress(String lastAddress) | ||
| 85 | + { | ||
| 86 | + this.lastAddress = lastAddress; | ||
| 87 | + } | ||
| 88 | + | ||
| 89 | + public String getLastAddress() | ||
| 90 | + { | ||
| 91 | + return lastAddress; | ||
| 92 | + } | ||
| 93 | + public void setLastLoginLongitude(String lastLoginLongitude) | ||
| 94 | + { | ||
| 95 | + this.lastLoginLongitude = lastLoginLongitude; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public String getLastLoginLongitude() | ||
| 99 | + { | ||
| 100 | + return lastLoginLongitude; | ||
| 101 | + } | ||
| 102 | + public void setLastLoginLatitude(String lastLoginLatitude) | ||
| 103 | + { | ||
| 104 | + this.lastLoginLatitude = lastLoginLatitude; | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + public String getLastLoginLatitude() | ||
| 108 | + { | ||
| 109 | + return lastLoginLatitude; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + @Override | ||
| 113 | + public String toString() { | ||
| 114 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 115 | + .append("id", getId()) | ||
| 116 | + .append("onlineState", getOnlineState()) | ||
| 117 | + .append("lastLoginTime", getLastLoginTime()) | ||
| 118 | + .append("lastLoginIp", getLastLoginIp()) | ||
| 119 | + .append("lastAddress", getLastAddress()) | ||
| 120 | + .append("lastLoginLongitude", getLastLoginLongitude()) | ||
| 121 | + .append("lastLoginLatitude", getLastLoginLatitude()) | ||
| 122 | + .toString(); | ||
| 123 | + } | ||
| 124 | +} |
| 1 | +package com.zhonglai.luhui.domain.user; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户官方及告警信息对象 user_official_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-18 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户官方及告警信息") | ||
| 16 | +public class UserOfficialInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + @ApiModelProperty(value="主键id") | ||
| 22 | + private Integer id; | ||
| 23 | + | ||
| 24 | + /** 官方担保状态 */ | ||
| 25 | + @ApiModelProperty(value="官方担保状态") | ||
| 26 | + private Integer guarantee; | ||
| 27 | + | ||
| 28 | + /** 官方担保描述 */ | ||
| 29 | + @ApiModelProperty(value="官方担保描述") | ||
| 30 | + private String guaranteeDescribe; | ||
| 31 | + | ||
| 32 | + /** 告警协议 */ | ||
| 33 | + @ApiModelProperty(value="告警协议") | ||
| 34 | + private Integer alarmAgreement; | ||
| 35 | + | ||
| 36 | + /** 告警通知电话 */ | ||
| 37 | + @ApiModelProperty(value="告警通知电话") | ||
| 38 | + private String alarmNoticePhone; | ||
| 39 | + | ||
| 40 | + /** 告警通知openid */ | ||
| 41 | + @ApiModelProperty(value="告警通知openid") | ||
| 42 | + private String alarmNoticeOpenid; | ||
| 43 | + | ||
| 44 | + /** 告警通知开关 */ | ||
| 45 | + @ApiModelProperty(value="告警通知开关") | ||
| 46 | + private Integer alarmNoticeWxopen; | ||
| 47 | + | ||
| 48 | + public void setId(Integer id) | ||
| 49 | + { | ||
| 50 | + this.id = id; | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + public Integer getId() | ||
| 54 | + { | ||
| 55 | + return id; | ||
| 56 | + } | ||
| 57 | + public void setGuarantee(Integer guarantee) | ||
| 58 | + { | ||
| 59 | + this.guarantee = guarantee; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public Integer getGuarantee() | ||
| 63 | + { | ||
| 64 | + return guarantee; | ||
| 65 | + } | ||
| 66 | + public void setGuaranteeDescribe(String guaranteeDescribe) | ||
| 67 | + { | ||
| 68 | + this.guaranteeDescribe = guaranteeDescribe; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public String getGuaranteeDescribe() | ||
| 72 | + { | ||
| 73 | + return guaranteeDescribe; | ||
| 74 | + } | ||
| 75 | + public void setAlarmAgreement(Integer alarmAgreement) | ||
| 76 | + { | ||
| 77 | + this.alarmAgreement = alarmAgreement; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public Integer getAlarmAgreement() | ||
| 81 | + { | ||
| 82 | + return alarmAgreement; | ||
| 83 | + } | ||
| 84 | + public void setAlarmNoticePhone(String alarmNoticePhone) | ||
| 85 | + { | ||
| 86 | + this.alarmNoticePhone = alarmNoticePhone; | ||
| 87 | + } | ||
| 88 | + | ||
| 89 | + public String getAlarmNoticePhone() | ||
| 90 | + { | ||
| 91 | + return alarmNoticePhone; | ||
| 92 | + } | ||
| 93 | + public void setAlarmNoticeOpenid(String alarmNoticeOpenid) | ||
| 94 | + { | ||
| 95 | + this.alarmNoticeOpenid = alarmNoticeOpenid; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public String getAlarmNoticeOpenid() | ||
| 99 | + { | ||
| 100 | + return alarmNoticeOpenid; | ||
| 101 | + } | ||
| 102 | + public void setAlarmNoticeWxopen(Integer alarmNoticeWxopen) | ||
| 103 | + { | ||
| 104 | + this.alarmNoticeWxopen = alarmNoticeWxopen; | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + public Integer getAlarmNoticeWxopen() | ||
| 108 | + { | ||
| 109 | + return alarmNoticeWxopen; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + @Override | ||
| 113 | + public String toString() { | ||
| 114 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 115 | + .append("id", getId()) | ||
| 116 | + .append("guarantee", getGuarantee()) | ||
| 117 | + .append("guaranteeDescribe", getGuaranteeDescribe()) | ||
| 118 | + .append("alarmAgreement", getAlarmAgreement()) | ||
| 119 | + .append("alarmNoticePhone", getAlarmNoticePhone()) | ||
| 120 | + .append("alarmNoticeOpenid", getAlarmNoticeOpenid()) | ||
| 121 | + .append("alarmNoticeWxopen", getAlarmNoticeWxopen()) | ||
| 122 | + .toString(); | ||
| 123 | + } | ||
| 124 | +} |
| 1 | +package com.zhonglai.luhui.domain.user; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户社交信息对象 user_social_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-18 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户社交信息") | ||
| 16 | +public class UserSocialInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + @ApiModelProperty(value="主键id") | ||
| 22 | + private Integer id; | ||
| 23 | + | ||
| 24 | + /** QQ账号 */ | ||
| 25 | + @ApiModelProperty(value="QQ账号") | ||
| 26 | + private String qq; | ||
| 27 | + | ||
| 28 | + /** 微信账号 */ | ||
| 29 | + @ApiModelProperty(value="微信账号") | ||
| 30 | + private String weixin; | ||
| 31 | + | ||
| 32 | + /** 开放平台ID */ | ||
| 33 | + @ApiModelProperty(value="开放平台ID") | ||
| 34 | + private Integer openId; | ||
| 35 | + | ||
| 36 | + /** 萤石子账号ID */ | ||
| 37 | + @ApiModelProperty(value="萤石子账号ID") | ||
| 38 | + private String ysChildrenId; | ||
| 39 | + | ||
| 40 | + /** 萤石子子账号密码 */ | ||
| 41 | + @ApiModelProperty(value="萤石子子账号密码") | ||
| 42 | + private String ysChildrenPass; | ||
| 43 | + | ||
| 44 | + /** 极光消息密码 */ | ||
| 45 | + @ApiModelProperty(value="极光消息密码") | ||
| 46 | + private String messagePassWord; | ||
| 47 | + | ||
| 48 | + /** 极光账号是否活跃 */ | ||
| 49 | + @ApiModelProperty(value="极光账号是否活跃") | ||
| 50 | + private Integer isMessageAction; | ||
| 51 | + | ||
| 52 | + public void setId(Integer id) | ||
| 53 | + { | ||
| 54 | + this.id = id; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + public Integer getId() | ||
| 58 | + { | ||
| 59 | + return id; | ||
| 60 | + } | ||
| 61 | + public void setQq(String qq) | ||
| 62 | + { | ||
| 63 | + this.qq = qq; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public String getQq() | ||
| 67 | + { | ||
| 68 | + return qq; | ||
| 69 | + } | ||
| 70 | + public void setWeixin(String weixin) | ||
| 71 | + { | ||
| 72 | + this.weixin = weixin; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public String getWeixin() | ||
| 76 | + { | ||
| 77 | + return weixin; | ||
| 78 | + } | ||
| 79 | + public void setOpenId(Integer openId) | ||
| 80 | + { | ||
| 81 | + this.openId = openId; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public Integer getOpenId() | ||
| 85 | + { | ||
| 86 | + return openId; | ||
| 87 | + } | ||
| 88 | + public void setYsChildrenId(String ysChildrenId) | ||
| 89 | + { | ||
| 90 | + this.ysChildrenId = ysChildrenId; | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + public String getYsChildrenId() | ||
| 94 | + { | ||
| 95 | + return ysChildrenId; | ||
| 96 | + } | ||
| 97 | + public void setYsChildrenPass(String ysChildrenPass) | ||
| 98 | + { | ||
| 99 | + this.ysChildrenPass = ysChildrenPass; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public String getYsChildrenPass() | ||
| 103 | + { | ||
| 104 | + return ysChildrenPass; | ||
| 105 | + } | ||
| 106 | + public void setMessagePassWord(String messagePassWord) | ||
| 107 | + { | ||
| 108 | + this.messagePassWord = messagePassWord; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + public String getMessagePassWord() | ||
| 112 | + { | ||
| 113 | + return messagePassWord; | ||
| 114 | + } | ||
| 115 | + public void setIsMessageAction(Integer isMessageAction) | ||
| 116 | + { | ||
| 117 | + this.isMessageAction = isMessageAction; | ||
| 118 | + } | ||
| 119 | + | ||
| 120 | + public Integer getIsMessageAction() | ||
| 121 | + { | ||
| 122 | + return isMessageAction; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + @Override | ||
| 126 | + public String toString() { | ||
| 127 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 128 | + .append("id", getId()) | ||
| 129 | + .append("qq", getQq()) | ||
| 130 | + .append("weixin", getWeixin()) | ||
| 131 | + .append("openId", getOpenId()) | ||
| 132 | + .append("ysChildrenId", getYsChildrenId()) | ||
| 133 | + .append("ysChildrenPass", getYsChildrenPass()) | ||
| 134 | + .append("messagePassWord", getMessagePassWord()) | ||
| 135 | + .append("isMessageAction", getIsMessageAction()) | ||
| 136 | + .toString(); | ||
| 137 | + } | ||
| 138 | +} |
lh-common/lh-user/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| 5 | + <modelVersion>4.0.0</modelVersion> | ||
| 6 | + <parent> | ||
| 7 | + <groupId>com.zhonglai.luhui</groupId> | ||
| 8 | + <artifactId>lh-common</artifactId> | ||
| 9 | + <version>1.0-SNAPSHOT</version> | ||
| 10 | + </parent> | ||
| 11 | + | ||
| 12 | + <artifactId>lh-user</artifactId> | ||
| 13 | + | ||
| 14 | + <properties> | ||
| 15 | + <maven.compiler.source>8</maven.compiler.source> | ||
| 16 | + <maven.compiler.target>8</maven.compiler.target> | ||
| 17 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| 18 | + </properties> | ||
| 19 | + | ||
| 20 | + <dependencies> | ||
| 21 | + <!-- 通用工具--> | ||
| 22 | + <dependency> | ||
| 23 | + <groupId>com.zhonglai.luhui</groupId> | ||
| 24 | + <artifactId>ruoyi-common-security</artifactId> | ||
| 25 | + </dependency> | ||
| 26 | + <dependency> | ||
| 27 | + <groupId>com.zhonglai.luhui</groupId> | ||
| 28 | + <artifactId>lh-jar-action</artifactId> | ||
| 29 | + </dependency> | ||
| 30 | + </dependencies> | ||
| 31 | +</project> |
| 1 | +package com.zhonglai.luhui.user.domain; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户账户信息对象 user_account_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-20 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户账户信息") | ||
| 16 | +public class UserAccountInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + private Integer id; | ||
| 22 | + | ||
| 23 | + /** 积分 */ | ||
| 24 | + @ApiModelProperty(value="积分") | ||
| 25 | + private Integer integral; | ||
| 26 | + | ||
| 27 | + /** 余额 */ | ||
| 28 | + @ApiModelProperty(value="余额") | ||
| 29 | + private Integer balance; | ||
| 30 | + | ||
| 31 | + /** 级别 */ | ||
| 32 | + @ApiModelProperty(value="级别") | ||
| 33 | + private Integer level; | ||
| 34 | + | ||
| 35 | + /** 货币 */ | ||
| 36 | + @ApiModelProperty(value="货币") | ||
| 37 | + private Integer currency; | ||
| 38 | + | ||
| 39 | + /** 经验 */ | ||
| 40 | + @ApiModelProperty(value="经验") | ||
| 41 | + private Integer experience; | ||
| 42 | + | ||
| 43 | + /** 年度服务费 */ | ||
| 44 | + @ApiModelProperty(value="年度服务费") | ||
| 45 | + private Integer annualServiceCharge; | ||
| 46 | + | ||
| 47 | + /** 点苗器到期时间 */ | ||
| 48 | + @ApiModelProperty(value="点苗器到期时间") | ||
| 49 | + private Integer dianmiaoEndTime; | ||
| 50 | + | ||
| 51 | + public void setId(Integer id) | ||
| 52 | + { | ||
| 53 | + this.id = id; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public Integer getId() | ||
| 57 | + { | ||
| 58 | + return id; | ||
| 59 | + } | ||
| 60 | + public void setIntegral(Integer integral) | ||
| 61 | + { | ||
| 62 | + this.integral = integral; | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + public Integer getIntegral() | ||
| 66 | + { | ||
| 67 | + return integral; | ||
| 68 | + } | ||
| 69 | + public void setBalance(Integer balance) | ||
| 70 | + { | ||
| 71 | + this.balance = balance; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public Integer getBalance() | ||
| 75 | + { | ||
| 76 | + return balance; | ||
| 77 | + } | ||
| 78 | + public void setLevel(Integer level) | ||
| 79 | + { | ||
| 80 | + this.level = level; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public Integer getLevel() | ||
| 84 | + { | ||
| 85 | + return level; | ||
| 86 | + } | ||
| 87 | + public void setCurrency(Integer currency) | ||
| 88 | + { | ||
| 89 | + this.currency = currency; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public Integer getCurrency() | ||
| 93 | + { | ||
| 94 | + return currency; | ||
| 95 | + } | ||
| 96 | + public void setExperience(Integer experience) | ||
| 97 | + { | ||
| 98 | + this.experience = experience; | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + public Integer getExperience() | ||
| 102 | + { | ||
| 103 | + return experience; | ||
| 104 | + } | ||
| 105 | + public void setAnnualServiceCharge(Integer annualServiceCharge) | ||
| 106 | + { | ||
| 107 | + this.annualServiceCharge = annualServiceCharge; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public Integer getAnnualServiceCharge() | ||
| 111 | + { | ||
| 112 | + return annualServiceCharge; | ||
| 113 | + } | ||
| 114 | + public void setDianmiaoEndTime(Integer dianmiaoEndTime) | ||
| 115 | + { | ||
| 116 | + this.dianmiaoEndTime = dianmiaoEndTime; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + public Integer getDianmiaoEndTime() | ||
| 120 | + { | ||
| 121 | + return dianmiaoEndTime; | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + @Override | ||
| 125 | + public String toString() { | ||
| 126 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 127 | + .append("id", getId()) | ||
| 128 | + .append("integral", getIntegral()) | ||
| 129 | + .append("balance", getBalance()) | ||
| 130 | + .append("level", getLevel()) | ||
| 131 | + .append("currency", getCurrency()) | ||
| 132 | + .append("experience", getExperience()) | ||
| 133 | + .append("annualServiceCharge", getAnnualServiceCharge()) | ||
| 134 | + .append("dianmiaoEndTime", getDianmiaoEndTime()) | ||
| 135 | + .toString(); | ||
| 136 | + } | ||
| 137 | +} |
| 1 | +package com.zhonglai.luhui.user.domain; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户地理信息对象 user_address_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-20 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户地理信息") | ||
| 16 | +public class UserAddressInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + private Integer id; | ||
| 22 | + | ||
| 23 | + /** 省编号 */ | ||
| 24 | + @ApiModelProperty(value="省编号") | ||
| 25 | + private String provinceId; | ||
| 26 | + | ||
| 27 | + /** 市编号 */ | ||
| 28 | + @ApiModelProperty(value="市编号") | ||
| 29 | + private String cityId; | ||
| 30 | + | ||
| 31 | + /** 县编号 */ | ||
| 32 | + @ApiModelProperty(value="县编号") | ||
| 33 | + private String countyId; | ||
| 34 | + | ||
| 35 | + /** 省名称 */ | ||
| 36 | + @ApiModelProperty(value="省名称") | ||
| 37 | + private String provinceName; | ||
| 38 | + | ||
| 39 | + /** 市名称 */ | ||
| 40 | + @ApiModelProperty(value="市名称") | ||
| 41 | + private String cityName; | ||
| 42 | + | ||
| 43 | + /** 县名称 */ | ||
| 44 | + @ApiModelProperty(value="县名称") | ||
| 45 | + private String countyName; | ||
| 46 | + | ||
| 47 | + /** 地址 */ | ||
| 48 | + @ApiModelProperty(value="地址") | ||
| 49 | + private String address; | ||
| 50 | + | ||
| 51 | + /** 常用搜索 */ | ||
| 52 | + @ApiModelProperty(value="常用搜索") | ||
| 53 | + private String search; | ||
| 54 | + | ||
| 55 | + public void setId(Integer id) | ||
| 56 | + { | ||
| 57 | + this.id = id; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public Integer getId() | ||
| 61 | + { | ||
| 62 | + return id; | ||
| 63 | + } | ||
| 64 | + public void setProvinceId(String provinceId) | ||
| 65 | + { | ||
| 66 | + this.provinceId = provinceId; | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + public String getProvinceId() | ||
| 70 | + { | ||
| 71 | + return provinceId; | ||
| 72 | + } | ||
| 73 | + public void setCityId(String cityId) | ||
| 74 | + { | ||
| 75 | + this.cityId = cityId; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public String getCityId() | ||
| 79 | + { | ||
| 80 | + return cityId; | ||
| 81 | + } | ||
| 82 | + public void setCountyId(String countyId) | ||
| 83 | + { | ||
| 84 | + this.countyId = countyId; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + public String getCountyId() | ||
| 88 | + { | ||
| 89 | + return countyId; | ||
| 90 | + } | ||
| 91 | + public void setProvinceName(String provinceName) | ||
| 92 | + { | ||
| 93 | + this.provinceName = provinceName; | ||
| 94 | + } | ||
| 95 | + | ||
| 96 | + public String getProvinceName() | ||
| 97 | + { | ||
| 98 | + return provinceName; | ||
| 99 | + } | ||
| 100 | + public void setCityName(String cityName) | ||
| 101 | + { | ||
| 102 | + this.cityName = cityName; | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | + public String getCityName() | ||
| 106 | + { | ||
| 107 | + return cityName; | ||
| 108 | + } | ||
| 109 | + public void setCountyName(String countyName) | ||
| 110 | + { | ||
| 111 | + this.countyName = countyName; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public String getCountyName() | ||
| 115 | + { | ||
| 116 | + return countyName; | ||
| 117 | + } | ||
| 118 | + public void setAddress(String address) | ||
| 119 | + { | ||
| 120 | + this.address = address; | ||
| 121 | + } | ||
| 122 | + | ||
| 123 | + public String getAddress() | ||
| 124 | + { | ||
| 125 | + return address; | ||
| 126 | + } | ||
| 127 | + public void setSearch(String search) | ||
| 128 | + { | ||
| 129 | + this.search = search; | ||
| 130 | + } | ||
| 131 | + | ||
| 132 | + public String getSearch() | ||
| 133 | + { | ||
| 134 | + return search; | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + @Override | ||
| 138 | + public String toString() { | ||
| 139 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 140 | + .append("id", getId()) | ||
| 141 | + .append("provinceId", getProvinceId()) | ||
| 142 | + .append("cityId", getCityId()) | ||
| 143 | + .append("countyId", getCountyId()) | ||
| 144 | + .append("provinceName", getProvinceName()) | ||
| 145 | + .append("cityName", getCityName()) | ||
| 146 | + .append("countyName", getCountyName()) | ||
| 147 | + .append("address", getAddress()) | ||
| 148 | + .append("search", getSearch()) | ||
| 149 | + .toString(); | ||
| 150 | + } | ||
| 151 | +} |
| 1 | +package com.zhonglai.luhui.user.domain; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户认证信息对象 user_auth_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-20 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户认证信息") | ||
| 16 | +public class UserAuthInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + private Integer id; | ||
| 22 | + | ||
| 23 | + /** 是否实名认证(0否,1是) */ | ||
| 24 | + @ApiModelProperty(value="是否实名认证(0否,1是)") | ||
| 25 | + private Integer nameAuthentication; | ||
| 26 | + | ||
| 27 | + /** 个人审核状态 */ | ||
| 28 | + @ApiModelProperty(value="个人审核状态") | ||
| 29 | + private Integer personalAuthenticationState; | ||
| 30 | + | ||
| 31 | + /** 企业审核状态 */ | ||
| 32 | + @ApiModelProperty(value="企业审核状态") | ||
| 33 | + private Integer enterpriseAuthenticationState; | ||
| 34 | + | ||
| 35 | + /** 个人审核描述 */ | ||
| 36 | + @ApiModelProperty(value="个人审核描述") | ||
| 37 | + private String personalAuthenticationDescribe; | ||
| 38 | + | ||
| 39 | + /** 企业审核描述 */ | ||
| 40 | + @ApiModelProperty(value="企业审核描述") | ||
| 41 | + private String enterpriseAuthenticationDescribe; | ||
| 42 | + | ||
| 43 | + /** 个人审核更新时间 */ | ||
| 44 | + @ApiModelProperty(value="个人审核更新时间") | ||
| 45 | + private Integer personalAuthenticationTime; | ||
| 46 | + | ||
| 47 | + /** 企业审核更新时间 */ | ||
| 48 | + @ApiModelProperty(value="企业审核更新时间") | ||
| 49 | + private Integer enterpriseAuthenticationTime; | ||
| 50 | + | ||
| 51 | + /** 身份证号 */ | ||
| 52 | + @ApiModelProperty(value="身份证号") | ||
| 53 | + private String identificationCard; | ||
| 54 | + | ||
| 55 | + /** 营业执照号 */ | ||
| 56 | + @ApiModelProperty(value="营业执照号") | ||
| 57 | + private String businessLicenseNo; | ||
| 58 | + | ||
| 59 | + /** 企业名称 */ | ||
| 60 | + @ApiModelProperty(value="企业名称") | ||
| 61 | + private String enterpriseName; | ||
| 62 | + | ||
| 63 | + /** 企业营业执照 */ | ||
| 64 | + @ApiModelProperty(value="企业营业执照") | ||
| 65 | + private String businessLicenseUrl; | ||
| 66 | + | ||
| 67 | + public void setId(Integer id) | ||
| 68 | + { | ||
| 69 | + this.id = id; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public Integer getId() | ||
| 73 | + { | ||
| 74 | + return id; | ||
| 75 | + } | ||
| 76 | + public void setNameAuthentication(Integer nameAuthentication) | ||
| 77 | + { | ||
| 78 | + this.nameAuthentication = nameAuthentication; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + public Integer getNameAuthentication() | ||
| 82 | + { | ||
| 83 | + return nameAuthentication; | ||
| 84 | + } | ||
| 85 | + public void setPersonalAuthenticationState(Integer personalAuthenticationState) | ||
| 86 | + { | ||
| 87 | + this.personalAuthenticationState = personalAuthenticationState; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public Integer getPersonalAuthenticationState() | ||
| 91 | + { | ||
| 92 | + return personalAuthenticationState; | ||
| 93 | + } | ||
| 94 | + public void setEnterpriseAuthenticationState(Integer enterpriseAuthenticationState) | ||
| 95 | + { | ||
| 96 | + this.enterpriseAuthenticationState = enterpriseAuthenticationState; | ||
| 97 | + } | ||
| 98 | + | ||
| 99 | + public Integer getEnterpriseAuthenticationState() | ||
| 100 | + { | ||
| 101 | + return enterpriseAuthenticationState; | ||
| 102 | + } | ||
| 103 | + public void setPersonalAuthenticationDescribe(String personalAuthenticationDescribe) | ||
| 104 | + { | ||
| 105 | + this.personalAuthenticationDescribe = personalAuthenticationDescribe; | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + public String getPersonalAuthenticationDescribe() | ||
| 109 | + { | ||
| 110 | + return personalAuthenticationDescribe; | ||
| 111 | + } | ||
| 112 | + public void setEnterpriseAuthenticationDescribe(String enterpriseAuthenticationDescribe) | ||
| 113 | + { | ||
| 114 | + this.enterpriseAuthenticationDescribe = enterpriseAuthenticationDescribe; | ||
| 115 | + } | ||
| 116 | + | ||
| 117 | + public String getEnterpriseAuthenticationDescribe() | ||
| 118 | + { | ||
| 119 | + return enterpriseAuthenticationDescribe; | ||
| 120 | + } | ||
| 121 | + public void setPersonalAuthenticationTime(Integer personalAuthenticationTime) | ||
| 122 | + { | ||
| 123 | + this.personalAuthenticationTime = personalAuthenticationTime; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + public Integer getPersonalAuthenticationTime() | ||
| 127 | + { | ||
| 128 | + return personalAuthenticationTime; | ||
| 129 | + } | ||
| 130 | + public void setEnterpriseAuthenticationTime(Integer enterpriseAuthenticationTime) | ||
| 131 | + { | ||
| 132 | + this.enterpriseAuthenticationTime = enterpriseAuthenticationTime; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + public Integer getEnterpriseAuthenticationTime() | ||
| 136 | + { | ||
| 137 | + return enterpriseAuthenticationTime; | ||
| 138 | + } | ||
| 139 | + public void setIdentificationCard(String identificationCard) | ||
| 140 | + { | ||
| 141 | + this.identificationCard = identificationCard; | ||
| 142 | + } | ||
| 143 | + | ||
| 144 | + public String getIdentificationCard() | ||
| 145 | + { | ||
| 146 | + return identificationCard; | ||
| 147 | + } | ||
| 148 | + public void setBusinessLicenseNo(String businessLicenseNo) | ||
| 149 | + { | ||
| 150 | + this.businessLicenseNo = businessLicenseNo; | ||
| 151 | + } | ||
| 152 | + | ||
| 153 | + public String getBusinessLicenseNo() | ||
| 154 | + { | ||
| 155 | + return businessLicenseNo; | ||
| 156 | + } | ||
| 157 | + public void setEnterpriseName(String enterpriseName) | ||
| 158 | + { | ||
| 159 | + this.enterpriseName = enterpriseName; | ||
| 160 | + } | ||
| 161 | + | ||
| 162 | + public String getEnterpriseName() | ||
| 163 | + { | ||
| 164 | + return enterpriseName; | ||
| 165 | + } | ||
| 166 | + public void setBusinessLicenseUrl(String businessLicenseUrl) | ||
| 167 | + { | ||
| 168 | + this.businessLicenseUrl = businessLicenseUrl; | ||
| 169 | + } | ||
| 170 | + | ||
| 171 | + public String getBusinessLicenseUrl() | ||
| 172 | + { | ||
| 173 | + return businessLicenseUrl; | ||
| 174 | + } | ||
| 175 | + | ||
| 176 | + @Override | ||
| 177 | + public String toString() { | ||
| 178 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 179 | + .append("id", getId()) | ||
| 180 | + .append("nameAuthentication", getNameAuthentication()) | ||
| 181 | + .append("personalAuthenticationState", getPersonalAuthenticationState()) | ||
| 182 | + .append("enterpriseAuthenticationState", getEnterpriseAuthenticationState()) | ||
| 183 | + .append("personalAuthenticationDescribe", getPersonalAuthenticationDescribe()) | ||
| 184 | + .append("enterpriseAuthenticationDescribe", getEnterpriseAuthenticationDescribe()) | ||
| 185 | + .append("personalAuthenticationTime", getPersonalAuthenticationTime()) | ||
| 186 | + .append("enterpriseAuthenticationTime", getEnterpriseAuthenticationTime()) | ||
| 187 | + .append("identificationCard", getIdentificationCard()) | ||
| 188 | + .append("businessLicenseNo", getBusinessLicenseNo()) | ||
| 189 | + .append("enterpriseName", getEnterpriseName()) | ||
| 190 | + .append("businessLicenseUrl", getBusinessLicenseUrl()) | ||
| 191 | + .toString(); | ||
| 192 | + } | ||
| 193 | +} |
| 1 | +package com.zhonglai.luhui.user.domain; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 基础用户信息对象 user_base_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-20 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("基础用户信息") | ||
| 16 | +public class UserBaseInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + private Integer id; | ||
| 22 | + | ||
| 23 | + /** 登录名 */ | ||
| 24 | + @ApiModelProperty(value="登录名") | ||
| 25 | + private String loginName; | ||
| 26 | + | ||
| 27 | + /** 真实姓名 */ | ||
| 28 | + @ApiModelProperty(value="真实姓名") | ||
| 29 | + private String name; | ||
| 30 | + | ||
| 31 | + /** 昵称 */ | ||
| 32 | + @ApiModelProperty(value="昵称") | ||
| 33 | + private String nickname; | ||
| 34 | + | ||
| 35 | + /** 性别(0男,1女) */ | ||
| 36 | + @ApiModelProperty(value="性别(0男,1女)") | ||
| 37 | + private Integer gender; | ||
| 38 | + | ||
| 39 | + /** 手机号 */ | ||
| 40 | + @ApiModelProperty(value="手机号") | ||
| 41 | + private String phone; | ||
| 42 | + | ||
| 43 | + /** 电子邮箱 */ | ||
| 44 | + @ApiModelProperty(value="电子邮箱") | ||
| 45 | + private String email; | ||
| 46 | + | ||
| 47 | + /** 头像地址 */ | ||
| 48 | + @ApiModelProperty(value="头像地址") | ||
| 49 | + private String imgUrl; | ||
| 50 | + | ||
| 51 | + public void setId(Integer id) | ||
| 52 | + { | ||
| 53 | + this.id = id; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public Integer getId() | ||
| 57 | + { | ||
| 58 | + return id; | ||
| 59 | + } | ||
| 60 | + public void setLoginName(String loginName) | ||
| 61 | + { | ||
| 62 | + this.loginName = loginName; | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + public String getLoginName() | ||
| 66 | + { | ||
| 67 | + return loginName; | ||
| 68 | + } | ||
| 69 | + public void setName(String name) | ||
| 70 | + { | ||
| 71 | + this.name = name; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public String getName() | ||
| 75 | + { | ||
| 76 | + return name; | ||
| 77 | + } | ||
| 78 | + public void setNickname(String nickname) | ||
| 79 | + { | ||
| 80 | + this.nickname = nickname; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public String getNickname() | ||
| 84 | + { | ||
| 85 | + return nickname; | ||
| 86 | + } | ||
| 87 | + public void setGender(Integer gender) | ||
| 88 | + { | ||
| 89 | + this.gender = gender; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public Integer getGender() | ||
| 93 | + { | ||
| 94 | + return gender; | ||
| 95 | + } | ||
| 96 | + public void setPhone(String phone) | ||
| 97 | + { | ||
| 98 | + this.phone = phone; | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + public String getPhone() | ||
| 102 | + { | ||
| 103 | + return phone; | ||
| 104 | + } | ||
| 105 | + public void setEmail(String email) | ||
| 106 | + { | ||
| 107 | + this.email = email; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public String getEmail() | ||
| 111 | + { | ||
| 112 | + return email; | ||
| 113 | + } | ||
| 114 | + public void setImgUrl(String imgUrl) | ||
| 115 | + { | ||
| 116 | + this.imgUrl = imgUrl; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + public String getImgUrl() | ||
| 120 | + { | ||
| 121 | + return imgUrl; | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + @Override | ||
| 125 | + public String toString() { | ||
| 126 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 127 | + .append("id", getId()) | ||
| 128 | + .append("loginName", getLoginName()) | ||
| 129 | + .append("name", getName()) | ||
| 130 | + .append("nickname", getNickname()) | ||
| 131 | + .append("gender", getGender()) | ||
| 132 | + .append("phone", getPhone()) | ||
| 133 | + .append("email", getEmail()) | ||
| 134 | + .append("imgUrl", getImgUrl()) | ||
| 135 | + .append("createTime", getCreateTime()) | ||
| 136 | + .toString(); | ||
| 137 | + } | ||
| 138 | +} |
| 1 | +package com.zhonglai.luhui.user.domain; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户其他信息对象 user_extra_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-20 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户其他信息") | ||
| 16 | +public class UserExtraInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + private Integer id; | ||
| 22 | + | ||
| 23 | + /** 描述图片地址 */ | ||
| 24 | + @ApiModelProperty(value="描述图片地址") | ||
| 25 | + private String describeImgUrl; | ||
| 26 | + | ||
| 27 | + /** 描述 */ | ||
| 28 | + @ApiModelProperty(value="描述") | ||
| 29 | + private String describe; | ||
| 30 | + | ||
| 31 | + /** 用户类型(0普通用户,1管理员,2客服) */ | ||
| 32 | + @ApiModelProperty(value="用户类型",allowableValues="0=普通用户,1管理员,2客服") | ||
| 33 | + private Integer userType; | ||
| 34 | + | ||
| 35 | + /** 是否失效 */ | ||
| 36 | + @ApiModelProperty(value="是否失效") | ||
| 37 | + private Integer isInvalid; | ||
| 38 | + | ||
| 39 | + /** 是否参与活动 */ | ||
| 40 | + @ApiModelProperty(value="是否参与活动") | ||
| 41 | + private Integer isParticipateIn; | ||
| 42 | + | ||
| 43 | + /** 公司ID */ | ||
| 44 | + @ApiModelProperty(value="公司ID") | ||
| 45 | + private Integer companyId; | ||
| 46 | + | ||
| 47 | + /** 分享次数 */ | ||
| 48 | + @ApiModelProperty(value="分享次数") | ||
| 49 | + private Integer shareNumber; | ||
| 50 | + | ||
| 51 | + public void setId(Integer id) | ||
| 52 | + { | ||
| 53 | + this.id = id; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public Integer getId() | ||
| 57 | + { | ||
| 58 | + return id; | ||
| 59 | + } | ||
| 60 | + public void setDescribeImgUrl(String describeImgUrl) | ||
| 61 | + { | ||
| 62 | + this.describeImgUrl = describeImgUrl; | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + public String getDescribeImgUrl() | ||
| 66 | + { | ||
| 67 | + return describeImgUrl; | ||
| 68 | + } | ||
| 69 | + public void setDescribe(String describe) | ||
| 70 | + { | ||
| 71 | + this.describe = describe; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public String getDescribe() | ||
| 75 | + { | ||
| 76 | + return describe; | ||
| 77 | + } | ||
| 78 | + public void setUserType(Integer userType) | ||
| 79 | + { | ||
| 80 | + this.userType = userType; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public Integer getUserType() | ||
| 84 | + { | ||
| 85 | + return userType; | ||
| 86 | + } | ||
| 87 | + public void setIsInvalid(Integer isInvalid) | ||
| 88 | + { | ||
| 89 | + this.isInvalid = isInvalid; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public Integer getIsInvalid() | ||
| 93 | + { | ||
| 94 | + return isInvalid; | ||
| 95 | + } | ||
| 96 | + public void setIsParticipateIn(Integer isParticipateIn) | ||
| 97 | + { | ||
| 98 | + this.isParticipateIn = isParticipateIn; | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + public Integer getIsParticipateIn() | ||
| 102 | + { | ||
| 103 | + return isParticipateIn; | ||
| 104 | + } | ||
| 105 | + public void setCompanyId(Integer companyId) | ||
| 106 | + { | ||
| 107 | + this.companyId = companyId; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public Integer getCompanyId() | ||
| 111 | + { | ||
| 112 | + return companyId; | ||
| 113 | + } | ||
| 114 | + public void setShareNumber(Integer shareNumber) | ||
| 115 | + { | ||
| 116 | + this.shareNumber = shareNumber; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + public Integer getShareNumber() | ||
| 120 | + { | ||
| 121 | + return shareNumber; | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + @Override | ||
| 125 | + public String toString() { | ||
| 126 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 127 | + .append("id", getId()) | ||
| 128 | + .append("describeImgUrl", getDescribeImgUrl()) | ||
| 129 | + .append("describe", getDescribe()) | ||
| 130 | + .append("userType", getUserType()) | ||
| 131 | + .append("isInvalid", getIsInvalid()) | ||
| 132 | + .append("isParticipateIn", getIsParticipateIn()) | ||
| 133 | + .append("companyId", getCompanyId()) | ||
| 134 | + .append("shareNumber", getShareNumber()) | ||
| 135 | + .toString(); | ||
| 136 | + } | ||
| 137 | +} |
| 1 | +package com.zhonglai.luhui.user.domain; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户登录对象 user_login | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-20 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户登录") | ||
| 16 | +public class UserLogin extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户登录主键主键 */ | ||
| 21 | + private Integer id; | ||
| 22 | + | ||
| 23 | + /** 用户主键id */ | ||
| 24 | + @ApiModelProperty(value="用户主键id") | ||
| 25 | + private Integer userId; | ||
| 26 | + | ||
| 27 | + /** 用户登录名 */ | ||
| 28 | + @ApiModelProperty(value="用户登录名") | ||
| 29 | + private String loginName; | ||
| 30 | + | ||
| 31 | + /** 用户密码 */ | ||
| 32 | + @ApiModelProperty(value="用户密码") | ||
| 33 | + private String loginPass; | ||
| 34 | + | ||
| 35 | + /** 用户登录密码key */ | ||
| 36 | + @ApiModelProperty(value="用户登录密码key") | ||
| 37 | + private String userLoginPassKey; | ||
| 38 | + | ||
| 39 | + public void setId(Integer id) | ||
| 40 | + { | ||
| 41 | + this.id = id; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public Integer getId() | ||
| 45 | + { | ||
| 46 | + return id; | ||
| 47 | + } | ||
| 48 | + public void setUserId(Integer userId) | ||
| 49 | + { | ||
| 50 | + this.userId = userId; | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + public Integer getUserId() | ||
| 54 | + { | ||
| 55 | + return userId; | ||
| 56 | + } | ||
| 57 | + public void setLoginName(String loginName) | ||
| 58 | + { | ||
| 59 | + this.loginName = loginName; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public String getLoginName() | ||
| 63 | + { | ||
| 64 | + return loginName; | ||
| 65 | + } | ||
| 66 | + public void setLoginPass(String loginPass) | ||
| 67 | + { | ||
| 68 | + this.loginPass = loginPass; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public String getLoginPass() | ||
| 72 | + { | ||
| 73 | + return loginPass; | ||
| 74 | + } | ||
| 75 | + public void setUserLoginPassKey(String userLoginPassKey) | ||
| 76 | + { | ||
| 77 | + this.userLoginPassKey = userLoginPassKey; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public String getUserLoginPassKey() | ||
| 81 | + { | ||
| 82 | + return userLoginPassKey; | ||
| 83 | + } | ||
| 84 | + | ||
| 85 | + @Override | ||
| 86 | + public String toString() { | ||
| 87 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 88 | + .append("id", getId()) | ||
| 89 | + .append("userId", getUserId()) | ||
| 90 | + .append("loginName", getLoginName()) | ||
| 91 | + .append("loginPass", getLoginPass()) | ||
| 92 | + .append("userLoginPassKey", getUserLoginPassKey()) | ||
| 93 | + .toString(); | ||
| 94 | + } | ||
| 95 | +} |
| 1 | +package com.zhonglai.luhui.user.domain; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户登录信息对象 user_login_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-20 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户登录信息") | ||
| 16 | +public class UserLoginInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + private Integer id; | ||
| 22 | + | ||
| 23 | + /** 在线状态(0离线,1在线) */ | ||
| 24 | + @ApiModelProperty(value="在线状态(0离线,1在线)") | ||
| 25 | + private Integer onlineState; | ||
| 26 | + | ||
| 27 | + /** 最后登陆时间 */ | ||
| 28 | + @ApiModelProperty(value="最后登陆时间") | ||
| 29 | + private Integer lastLoginTime; | ||
| 30 | + | ||
| 31 | + /** 最后登陆IP */ | ||
| 32 | + @ApiModelProperty(value="最后登陆IP") | ||
| 33 | + private String lastLoginIp; | ||
| 34 | + | ||
| 35 | + /** 最后登陆地点 */ | ||
| 36 | + @ApiModelProperty(value="最后登陆地点") | ||
| 37 | + private String lastAddress; | ||
| 38 | + | ||
| 39 | + /** 最后登陆经度 */ | ||
| 40 | + @ApiModelProperty(value="最后登陆经度") | ||
| 41 | + private String lastLoginLongitude; | ||
| 42 | + | ||
| 43 | + /** 最后登陆纬度 */ | ||
| 44 | + @ApiModelProperty(value="最后登陆纬度") | ||
| 45 | + private String lastLoginLatitude; | ||
| 46 | + | ||
| 47 | + public void setId(Integer id) | ||
| 48 | + { | ||
| 49 | + this.id = id; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public Integer getId() | ||
| 53 | + { | ||
| 54 | + return id; | ||
| 55 | + } | ||
| 56 | + public void setOnlineState(Integer onlineState) | ||
| 57 | + { | ||
| 58 | + this.onlineState = onlineState; | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + public Integer getOnlineState() | ||
| 62 | + { | ||
| 63 | + return onlineState; | ||
| 64 | + } | ||
| 65 | + public void setLastLoginTime(Integer lastLoginTime) | ||
| 66 | + { | ||
| 67 | + this.lastLoginTime = lastLoginTime; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public Integer getLastLoginTime() | ||
| 71 | + { | ||
| 72 | + return lastLoginTime; | ||
| 73 | + } | ||
| 74 | + public void setLastLoginIp(String lastLoginIp) | ||
| 75 | + { | ||
| 76 | + this.lastLoginIp = lastLoginIp; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public String getLastLoginIp() | ||
| 80 | + { | ||
| 81 | + return lastLoginIp; | ||
| 82 | + } | ||
| 83 | + public void setLastAddress(String lastAddress) | ||
| 84 | + { | ||
| 85 | + this.lastAddress = lastAddress; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public String getLastAddress() | ||
| 89 | + { | ||
| 90 | + return lastAddress; | ||
| 91 | + } | ||
| 92 | + public void setLastLoginLongitude(String lastLoginLongitude) | ||
| 93 | + { | ||
| 94 | + this.lastLoginLongitude = lastLoginLongitude; | ||
| 95 | + } | ||
| 96 | + | ||
| 97 | + public String getLastLoginLongitude() | ||
| 98 | + { | ||
| 99 | + return lastLoginLongitude; | ||
| 100 | + } | ||
| 101 | + public void setLastLoginLatitude(String lastLoginLatitude) | ||
| 102 | + { | ||
| 103 | + this.lastLoginLatitude = lastLoginLatitude; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public String getLastLoginLatitude() | ||
| 107 | + { | ||
| 108 | + return lastLoginLatitude; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + @Override | ||
| 112 | + public String toString() { | ||
| 113 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 114 | + .append("id", getId()) | ||
| 115 | + .append("onlineState", getOnlineState()) | ||
| 116 | + .append("lastLoginTime", getLastLoginTime()) | ||
| 117 | + .append("lastLoginIp", getLastLoginIp()) | ||
| 118 | + .append("lastAddress", getLastAddress()) | ||
| 119 | + .append("lastLoginLongitude", getLastLoginLongitude()) | ||
| 120 | + .append("lastLoginLatitude", getLastLoginLatitude()) | ||
| 121 | + .toString(); | ||
| 122 | + } | ||
| 123 | +} |
| 1 | +package com.zhonglai.luhui.user.domain; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户官方及告警信息对象 user_official_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-20 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户官方及告警信息") | ||
| 16 | +public class UserOfficialInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + private Integer id; | ||
| 22 | + | ||
| 23 | + /** 官方担保状态 */ | ||
| 24 | + @ApiModelProperty(value="官方担保状态") | ||
| 25 | + private Integer guarantee; | ||
| 26 | + | ||
| 27 | + /** 官方担保描述 */ | ||
| 28 | + @ApiModelProperty(value="官方担保描述") | ||
| 29 | + private String guaranteeDescribe; | ||
| 30 | + | ||
| 31 | + /** 告警协议 */ | ||
| 32 | + @ApiModelProperty(value="告警协议") | ||
| 33 | + private Integer alarmAgreement; | ||
| 34 | + | ||
| 35 | + /** 告警通知电话 */ | ||
| 36 | + @ApiModelProperty(value="告警通知电话") | ||
| 37 | + private String alarmNoticePhone; | ||
| 38 | + | ||
| 39 | + /** 告警通知openid */ | ||
| 40 | + @ApiModelProperty(value="告警通知openid") | ||
| 41 | + private String alarmNoticeOpenid; | ||
| 42 | + | ||
| 43 | + /** 告警通知开关 */ | ||
| 44 | + @ApiModelProperty(value="告警通知开关") | ||
| 45 | + private Integer alarmNoticeWxopen; | ||
| 46 | + | ||
| 47 | + public void setId(Integer id) | ||
| 48 | + { | ||
| 49 | + this.id = id; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + public Integer getId() | ||
| 53 | + { | ||
| 54 | + return id; | ||
| 55 | + } | ||
| 56 | + public void setGuarantee(Integer guarantee) | ||
| 57 | + { | ||
| 58 | + this.guarantee = guarantee; | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + public Integer getGuarantee() | ||
| 62 | + { | ||
| 63 | + return guarantee; | ||
| 64 | + } | ||
| 65 | + public void setGuaranteeDescribe(String guaranteeDescribe) | ||
| 66 | + { | ||
| 67 | + this.guaranteeDescribe = guaranteeDescribe; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public String getGuaranteeDescribe() | ||
| 71 | + { | ||
| 72 | + return guaranteeDescribe; | ||
| 73 | + } | ||
| 74 | + public void setAlarmAgreement(Integer alarmAgreement) | ||
| 75 | + { | ||
| 76 | + this.alarmAgreement = alarmAgreement; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public Integer getAlarmAgreement() | ||
| 80 | + { | ||
| 81 | + return alarmAgreement; | ||
| 82 | + } | ||
| 83 | + public void setAlarmNoticePhone(String alarmNoticePhone) | ||
| 84 | + { | ||
| 85 | + this.alarmNoticePhone = alarmNoticePhone; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + public String getAlarmNoticePhone() | ||
| 89 | + { | ||
| 90 | + return alarmNoticePhone; | ||
| 91 | + } | ||
| 92 | + public void setAlarmNoticeOpenid(String alarmNoticeOpenid) | ||
| 93 | + { | ||
| 94 | + this.alarmNoticeOpenid = alarmNoticeOpenid; | ||
| 95 | + } | ||
| 96 | + | ||
| 97 | + public String getAlarmNoticeOpenid() | ||
| 98 | + { | ||
| 99 | + return alarmNoticeOpenid; | ||
| 100 | + } | ||
| 101 | + public void setAlarmNoticeWxopen(Integer alarmNoticeWxopen) | ||
| 102 | + { | ||
| 103 | + this.alarmNoticeWxopen = alarmNoticeWxopen; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public Integer getAlarmNoticeWxopen() | ||
| 107 | + { | ||
| 108 | + return alarmNoticeWxopen; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + @Override | ||
| 112 | + public String toString() { | ||
| 113 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 114 | + .append("id", getId()) | ||
| 115 | + .append("guarantee", getGuarantee()) | ||
| 116 | + .append("guaranteeDescribe", getGuaranteeDescribe()) | ||
| 117 | + .append("alarmAgreement", getAlarmAgreement()) | ||
| 118 | + .append("alarmNoticePhone", getAlarmNoticePhone()) | ||
| 119 | + .append("alarmNoticeOpenid", getAlarmNoticeOpenid()) | ||
| 120 | + .append("alarmNoticeWxopen", getAlarmNoticeWxopen()) | ||
| 121 | + .toString(); | ||
| 122 | + } | ||
| 123 | +} |
| 1 | +package com.zhonglai.luhui.user.domain; | ||
| 2 | + | ||
| 3 | +import org.apache.commons.lang3.builder.ToStringBuilder; | ||
| 4 | +import org.apache.commons.lang3.builder.ToStringStyle; | ||
| 5 | +import io.swagger.annotations.ApiModel; | ||
| 6 | +import io.swagger.annotations.ApiModelProperty; | ||
| 7 | +import com.ruoyi.common.tool.BaseEntity; | ||
| 8 | + | ||
| 9 | +/** | ||
| 10 | + * 用户社交信息对象 user_social_info | ||
| 11 | + * | ||
| 12 | + * @author zhonglai | ||
| 13 | + * @date 2025-10-20 | ||
| 14 | + */ | ||
| 15 | +@ApiModel("用户社交信息") | ||
| 16 | +public class UserSocialInfo extends BaseEntity | ||
| 17 | +{ | ||
| 18 | + private static final long serialVersionUID = 1L; | ||
| 19 | + | ||
| 20 | + /** 用户ID,主键关联 */ | ||
| 21 | + private Integer id; | ||
| 22 | + | ||
| 23 | + /** QQ账号 */ | ||
| 24 | + @ApiModelProperty(value="QQ账号") | ||
| 25 | + private String qq; | ||
| 26 | + | ||
| 27 | + /** 微信账号 */ | ||
| 28 | + @ApiModelProperty(value="微信账号") | ||
| 29 | + private String weixin; | ||
| 30 | + | ||
| 31 | + /** 开放平台ID */ | ||
| 32 | + @ApiModelProperty(value="开放平台ID") | ||
| 33 | + private Integer openId; | ||
| 34 | + | ||
| 35 | + /** 萤石子账号ID */ | ||
| 36 | + @ApiModelProperty(value="萤石子账号ID") | ||
| 37 | + private String ysChildrenId; | ||
| 38 | + | ||
| 39 | + /** 萤石子子账号密码 */ | ||
| 40 | + @ApiModelProperty(value="萤石子子账号密码") | ||
| 41 | + private String ysChildrenPass; | ||
| 42 | + | ||
| 43 | + /** 极光消息密码 */ | ||
| 44 | + @ApiModelProperty(value="极光消息密码") | ||
| 45 | + private String messagePassWord; | ||
| 46 | + | ||
| 47 | + /** 极光账号是否活跃 */ | ||
| 48 | + @ApiModelProperty(value="极光账号是否活跃") | ||
| 49 | + private Integer isMessageAction; | ||
| 50 | + | ||
| 51 | + public void setId(Integer id) | ||
| 52 | + { | ||
| 53 | + this.id = id; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public Integer getId() | ||
| 57 | + { | ||
| 58 | + return id; | ||
| 59 | + } | ||
| 60 | + public void setQq(String qq) | ||
| 61 | + { | ||
| 62 | + this.qq = qq; | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + public String getQq() | ||
| 66 | + { | ||
| 67 | + return qq; | ||
| 68 | + } | ||
| 69 | + public void setWeixin(String weixin) | ||
| 70 | + { | ||
| 71 | + this.weixin = weixin; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public String getWeixin() | ||
| 75 | + { | ||
| 76 | + return weixin; | ||
| 77 | + } | ||
| 78 | + public void setOpenId(Integer openId) | ||
| 79 | + { | ||
| 80 | + this.openId = openId; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public Integer getOpenId() | ||
| 84 | + { | ||
| 85 | + return openId; | ||
| 86 | + } | ||
| 87 | + public void setYsChildrenId(String ysChildrenId) | ||
| 88 | + { | ||
| 89 | + this.ysChildrenId = ysChildrenId; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + public String getYsChildrenId() | ||
| 93 | + { | ||
| 94 | + return ysChildrenId; | ||
| 95 | + } | ||
| 96 | + public void setYsChildrenPass(String ysChildrenPass) | ||
| 97 | + { | ||
| 98 | + this.ysChildrenPass = ysChildrenPass; | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + public String getYsChildrenPass() | ||
| 102 | + { | ||
| 103 | + return ysChildrenPass; | ||
| 104 | + } | ||
| 105 | + public void setMessagePassWord(String messagePassWord) | ||
| 106 | + { | ||
| 107 | + this.messagePassWord = messagePassWord; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public String getMessagePassWord() | ||
| 111 | + { | ||
| 112 | + return messagePassWord; | ||
| 113 | + } | ||
| 114 | + public void setIsMessageAction(Integer isMessageAction) | ||
| 115 | + { | ||
| 116 | + this.isMessageAction = isMessageAction; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + public Integer getIsMessageAction() | ||
| 120 | + { | ||
| 121 | + return isMessageAction; | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + @Override | ||
| 125 | + public String toString() { | ||
| 126 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||
| 127 | + .append("id", getId()) | ||
| 128 | + .append("qq", getQq()) | ||
| 129 | + .append("weixin", getWeixin()) | ||
| 130 | + .append("openId", getOpenId()) | ||
| 131 | + .append("ysChildrenId", getYsChildrenId()) | ||
| 132 | + .append("ysChildrenPass", getYsChildrenPass()) | ||
| 133 | + .append("messagePassWord", getMessagePassWord()) | ||
| 134 | + .append("isMessageAction", getIsMessageAction()) | ||
| 135 | + .toString(); | ||
| 136 | + } | ||
| 137 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/mapper/UserAccountInfoMapper.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserAccountInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户账户信息Mapper接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface UserAccountInfoMapper | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户账户信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户账户信息主键 | ||
| 18 | + * @return 用户账户信息 | ||
| 19 | + */ | ||
| 20 | + public UserAccountInfo selectUserAccountInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户账户信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userAccountInfo 用户账户信息 | ||
| 26 | + * @return 用户账户信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserAccountInfo> selectUserAccountInfoList(UserAccountInfo userAccountInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户账户信息 | ||
| 32 | + * | ||
| 33 | + * @param userAccountInfo 用户账户信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserAccountInfo(UserAccountInfo userAccountInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户账户信息 | ||
| 40 | + * | ||
| 41 | + * @param userAccountInfo 用户账户信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserAccountInfo(UserAccountInfo userAccountInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 删除用户账户信息 | ||
| 48 | + * | ||
| 49 | + * @param id 用户账户信息主键 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserAccountInfoById(Integer id); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 批量删除用户账户信息 | ||
| 56 | + * | ||
| 57 | + * @param ids 需要删除的数据主键集合 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserAccountInfoByIds(Integer[] ids); | ||
| 61 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/mapper/UserAddressInfoMapper.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserAddressInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户地理信息Mapper接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface UserAddressInfoMapper | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户地理信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户地理信息主键 | ||
| 18 | + * @return 用户地理信息 | ||
| 19 | + */ | ||
| 20 | + public UserAddressInfo selectUserAddressInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户地理信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userAddressInfo 用户地理信息 | ||
| 26 | + * @return 用户地理信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserAddressInfo> selectUserAddressInfoList(UserAddressInfo userAddressInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户地理信息 | ||
| 32 | + * | ||
| 33 | + * @param userAddressInfo 用户地理信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserAddressInfo(UserAddressInfo userAddressInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户地理信息 | ||
| 40 | + * | ||
| 41 | + * @param userAddressInfo 用户地理信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserAddressInfo(UserAddressInfo userAddressInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 删除用户地理信息 | ||
| 48 | + * | ||
| 49 | + * @param id 用户地理信息主键 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserAddressInfoById(Integer id); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 批量删除用户地理信息 | ||
| 56 | + * | ||
| 57 | + * @param ids 需要删除的数据主键集合 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserAddressInfoByIds(Integer[] ids); | ||
| 61 | +} |
| 1 | +package com.zhonglai.luhui.user.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserAuthInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户认证信息Mapper接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface UserAuthInfoMapper | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户认证信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户认证信息主键 | ||
| 18 | + * @return 用户认证信息 | ||
| 19 | + */ | ||
| 20 | + public UserAuthInfo selectUserAuthInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户认证信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userAuthInfo 用户认证信息 | ||
| 26 | + * @return 用户认证信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserAuthInfo> selectUserAuthInfoList(UserAuthInfo userAuthInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户认证信息 | ||
| 32 | + * | ||
| 33 | + * @param userAuthInfo 用户认证信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserAuthInfo(UserAuthInfo userAuthInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户认证信息 | ||
| 40 | + * | ||
| 41 | + * @param userAuthInfo 用户认证信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserAuthInfo(UserAuthInfo userAuthInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 删除用户认证信息 | ||
| 48 | + * | ||
| 49 | + * @param id 用户认证信息主键 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserAuthInfoById(Integer id); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 批量删除用户认证信息 | ||
| 56 | + * | ||
| 57 | + * @param ids 需要删除的数据主键集合 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserAuthInfoByIds(Integer[] ids); | ||
| 61 | +} |
| 1 | +package com.zhonglai.luhui.user.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserBaseInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 基础用户信息Mapper接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface UserBaseInfoMapper | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询基础用户信息 | ||
| 16 | + * | ||
| 17 | + * @param id 基础用户信息主键 | ||
| 18 | + * @return 基础用户信息 | ||
| 19 | + */ | ||
| 20 | + public UserBaseInfo selectUserBaseInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询基础用户信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userBaseInfo 基础用户信息 | ||
| 26 | + * @return 基础用户信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserBaseInfo> selectUserBaseInfoList(UserBaseInfo userBaseInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增基础用户信息 | ||
| 32 | + * | ||
| 33 | + * @param userBaseInfo 基础用户信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserBaseInfo(UserBaseInfo userBaseInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改基础用户信息 | ||
| 40 | + * | ||
| 41 | + * @param userBaseInfo 基础用户信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserBaseInfo(UserBaseInfo userBaseInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 删除基础用户信息 | ||
| 48 | + * | ||
| 49 | + * @param id 基础用户信息主键 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserBaseInfoById(Integer id); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 批量删除基础用户信息 | ||
| 56 | + * | ||
| 57 | + * @param ids 需要删除的数据主键集合 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserBaseInfoByIds(Integer[] ids); | ||
| 61 | +} |
| 1 | +package com.zhonglai.luhui.user.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserExtraInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户其他信息Mapper接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface UserExtraInfoMapper | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户其他信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户其他信息主键 | ||
| 18 | + * @return 用户其他信息 | ||
| 19 | + */ | ||
| 20 | + public UserExtraInfo selectUserExtraInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户其他信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userExtraInfo 用户其他信息 | ||
| 26 | + * @return 用户其他信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserExtraInfo> selectUserExtraInfoList(UserExtraInfo userExtraInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户其他信息 | ||
| 32 | + * | ||
| 33 | + * @param userExtraInfo 用户其他信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserExtraInfo(UserExtraInfo userExtraInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户其他信息 | ||
| 40 | + * | ||
| 41 | + * @param userExtraInfo 用户其他信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserExtraInfo(UserExtraInfo userExtraInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 删除用户其他信息 | ||
| 48 | + * | ||
| 49 | + * @param id 用户其他信息主键 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserExtraInfoById(Integer id); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 批量删除用户其他信息 | ||
| 56 | + * | ||
| 57 | + * @param ids 需要删除的数据主键集合 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserExtraInfoByIds(Integer[] ids); | ||
| 61 | +} |
| 1 | +package com.zhonglai.luhui.user.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserLoginInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户登录信息Mapper接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface UserLoginInfoMapper | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户登录信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户登录信息主键 | ||
| 18 | + * @return 用户登录信息 | ||
| 19 | + */ | ||
| 20 | + public UserLoginInfo selectUserLoginInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户登录信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userLoginInfo 用户登录信息 | ||
| 26 | + * @return 用户登录信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserLoginInfo> selectUserLoginInfoList(UserLoginInfo userLoginInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户登录信息 | ||
| 32 | + * | ||
| 33 | + * @param userLoginInfo 用户登录信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserLoginInfo(UserLoginInfo userLoginInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户登录信息 | ||
| 40 | + * | ||
| 41 | + * @param userLoginInfo 用户登录信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserLoginInfo(UserLoginInfo userLoginInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 删除用户登录信息 | ||
| 48 | + * | ||
| 49 | + * @param id 用户登录信息主键 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserLoginInfoById(Integer id); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 批量删除用户登录信息 | ||
| 56 | + * | ||
| 57 | + * @param ids 需要删除的数据主键集合 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserLoginInfoByIds(Integer[] ids); | ||
| 61 | +} |
| 1 | +package com.zhonglai.luhui.user.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserLogin; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户登录Mapper接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface UserLoginMapper | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户登录 | ||
| 16 | + * | ||
| 17 | + * @param id 用户登录主键 | ||
| 18 | + * @return 用户登录 | ||
| 19 | + */ | ||
| 20 | + public UserLogin selectUserLoginById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户登录列表 | ||
| 24 | + * | ||
| 25 | + * @param userLogin 用户登录 | ||
| 26 | + * @return 用户登录集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserLogin> selectUserLoginList(UserLogin userLogin); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户登录 | ||
| 32 | + * | ||
| 33 | + * @param userLogin 用户登录 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserLogin(UserLogin userLogin); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户登录 | ||
| 40 | + * | ||
| 41 | + * @param userLogin 用户登录 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserLogin(UserLogin userLogin); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 删除用户登录 | ||
| 48 | + * | ||
| 49 | + * @param id 用户登录主键 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserLoginById(Integer id); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 批量删除用户登录 | ||
| 56 | + * | ||
| 57 | + * @param ids 需要删除的数据主键集合 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserLoginByIds(Integer[] ids); | ||
| 61 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/mapper/UserOfficialInfoMapper.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserOfficialInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户官方及告警信息Mapper接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface UserOfficialInfoMapper | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户官方及告警信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户官方及告警信息主键 | ||
| 18 | + * @return 用户官方及告警信息 | ||
| 19 | + */ | ||
| 20 | + public UserOfficialInfo selectUserOfficialInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户官方及告警信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userOfficialInfo 用户官方及告警信息 | ||
| 26 | + * @return 用户官方及告警信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserOfficialInfo> selectUserOfficialInfoList(UserOfficialInfo userOfficialInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户官方及告警信息 | ||
| 32 | + * | ||
| 33 | + * @param userOfficialInfo 用户官方及告警信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserOfficialInfo(UserOfficialInfo userOfficialInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户官方及告警信息 | ||
| 40 | + * | ||
| 41 | + * @param userOfficialInfo 用户官方及告警信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserOfficialInfo(UserOfficialInfo userOfficialInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 删除用户官方及告警信息 | ||
| 48 | + * | ||
| 49 | + * @param id 用户官方及告警信息主键 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserOfficialInfoById(Integer id); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 批量删除用户官方及告警信息 | ||
| 56 | + * | ||
| 57 | + * @param ids 需要删除的数据主键集合 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserOfficialInfoByIds(Integer[] ids); | ||
| 61 | +} |
| 1 | +package com.zhonglai.luhui.user.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserSocialInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户社交信息Mapper接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface UserSocialInfoMapper | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户社交信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户社交信息主键 | ||
| 18 | + * @return 用户社交信息 | ||
| 19 | + */ | ||
| 20 | + public UserSocialInfo selectUserSocialInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户社交信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userSocialInfo 用户社交信息 | ||
| 26 | + * @return 用户社交信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserSocialInfo> selectUserSocialInfoList(UserSocialInfo userSocialInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户社交信息 | ||
| 32 | + * | ||
| 33 | + * @param userSocialInfo 用户社交信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserSocialInfo(UserSocialInfo userSocialInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户社交信息 | ||
| 40 | + * | ||
| 41 | + * @param userSocialInfo 用户社交信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserSocialInfo(UserSocialInfo userSocialInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 删除用户社交信息 | ||
| 48 | + * | ||
| 49 | + * @param id 用户社交信息主键 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserSocialInfoById(Integer id); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 批量删除用户社交信息 | ||
| 56 | + * | ||
| 57 | + * @param ids 需要删除的数据主键集合 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserSocialInfoByIds(Integer[] ids); | ||
| 61 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/IUserAccountInfoService.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserAccountInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户账户信息Service接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface IUserAccountInfoService | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户账户信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户账户信息主键 | ||
| 18 | + * @return 用户账户信息 | ||
| 19 | + */ | ||
| 20 | + public UserAccountInfo selectUserAccountInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户账户信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userAccountInfo 用户账户信息 | ||
| 26 | + * @return 用户账户信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserAccountInfo> selectUserAccountInfoList(UserAccountInfo userAccountInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户账户信息 | ||
| 32 | + * | ||
| 33 | + * @param userAccountInfo 用户账户信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserAccountInfo(UserAccountInfo userAccountInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户账户信息 | ||
| 40 | + * | ||
| 41 | + * @param userAccountInfo 用户账户信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserAccountInfo(UserAccountInfo userAccountInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 批量删除用户账户信息 | ||
| 48 | + * | ||
| 49 | + * @param ids 需要删除的用户账户信息主键集合 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserAccountInfoByIds(Integer[] ids); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 删除用户账户信息信息 | ||
| 56 | + * | ||
| 57 | + * @param id 用户账户信息主键 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserAccountInfoById(Integer id); | ||
| 61 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/IUserAddressInfoService.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserAddressInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户地理信息Service接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface IUserAddressInfoService | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户地理信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户地理信息主键 | ||
| 18 | + * @return 用户地理信息 | ||
| 19 | + */ | ||
| 20 | + public UserAddressInfo selectUserAddressInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户地理信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userAddressInfo 用户地理信息 | ||
| 26 | + * @return 用户地理信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserAddressInfo> selectUserAddressInfoList(UserAddressInfo userAddressInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户地理信息 | ||
| 32 | + * | ||
| 33 | + * @param userAddressInfo 用户地理信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserAddressInfo(UserAddressInfo userAddressInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户地理信息 | ||
| 40 | + * | ||
| 41 | + * @param userAddressInfo 用户地理信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserAddressInfo(UserAddressInfo userAddressInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 批量删除用户地理信息 | ||
| 48 | + * | ||
| 49 | + * @param ids 需要删除的用户地理信息主键集合 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserAddressInfoByIds(Integer[] ids); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 删除用户地理信息信息 | ||
| 56 | + * | ||
| 57 | + * @param id 用户地理信息主键 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserAddressInfoById(Integer id); | ||
| 61 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/IUserAuthInfoService.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserAuthInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户认证信息Service接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface IUserAuthInfoService | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户认证信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户认证信息主键 | ||
| 18 | + * @return 用户认证信息 | ||
| 19 | + */ | ||
| 20 | + public UserAuthInfo selectUserAuthInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户认证信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userAuthInfo 用户认证信息 | ||
| 26 | + * @return 用户认证信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserAuthInfo> selectUserAuthInfoList(UserAuthInfo userAuthInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户认证信息 | ||
| 32 | + * | ||
| 33 | + * @param userAuthInfo 用户认证信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserAuthInfo(UserAuthInfo userAuthInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户认证信息 | ||
| 40 | + * | ||
| 41 | + * @param userAuthInfo 用户认证信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserAuthInfo(UserAuthInfo userAuthInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 批量删除用户认证信息 | ||
| 48 | + * | ||
| 49 | + * @param ids 需要删除的用户认证信息主键集合 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserAuthInfoByIds(Integer[] ids); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 删除用户认证信息信息 | ||
| 56 | + * | ||
| 57 | + * @param id 用户认证信息主键 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserAuthInfoById(Integer id); | ||
| 61 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/IUserBaseInfoService.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserBaseInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 基础用户信息Service接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface IUserBaseInfoService | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询基础用户信息 | ||
| 16 | + * | ||
| 17 | + * @param id 基础用户信息主键 | ||
| 18 | + * @return 基础用户信息 | ||
| 19 | + */ | ||
| 20 | + public UserBaseInfo selectUserBaseInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询基础用户信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userBaseInfo 基础用户信息 | ||
| 26 | + * @return 基础用户信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserBaseInfo> selectUserBaseInfoList(UserBaseInfo userBaseInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增基础用户信息 | ||
| 32 | + * | ||
| 33 | + * @param userBaseInfo 基础用户信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserBaseInfo(UserBaseInfo userBaseInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改基础用户信息 | ||
| 40 | + * | ||
| 41 | + * @param userBaseInfo 基础用户信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserBaseInfo(UserBaseInfo userBaseInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 批量删除基础用户信息 | ||
| 48 | + * | ||
| 49 | + * @param ids 需要删除的基础用户信息主键集合 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserBaseInfoByIds(Integer[] ids); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 删除基础用户信息信息 | ||
| 56 | + * | ||
| 57 | + * @param id 基础用户信息主键 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserBaseInfoById(Integer id); | ||
| 61 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/IUserExtraInfoService.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserExtraInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户其他信息Service接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface IUserExtraInfoService | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户其他信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户其他信息主键 | ||
| 18 | + * @return 用户其他信息 | ||
| 19 | + */ | ||
| 20 | + public UserExtraInfo selectUserExtraInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户其他信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userExtraInfo 用户其他信息 | ||
| 26 | + * @return 用户其他信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserExtraInfo> selectUserExtraInfoList(UserExtraInfo userExtraInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户其他信息 | ||
| 32 | + * | ||
| 33 | + * @param userExtraInfo 用户其他信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserExtraInfo(UserExtraInfo userExtraInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户其他信息 | ||
| 40 | + * | ||
| 41 | + * @param userExtraInfo 用户其他信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserExtraInfo(UserExtraInfo userExtraInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 批量删除用户其他信息 | ||
| 48 | + * | ||
| 49 | + * @param ids 需要删除的用户其他信息主键集合 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserExtraInfoByIds(Integer[] ids); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 删除用户其他信息信息 | ||
| 56 | + * | ||
| 57 | + * @param id 用户其他信息主键 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserExtraInfoById(Integer id); | ||
| 61 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/IUserLoginInfoService.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserLoginInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户登录信息Service接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface IUserLoginInfoService | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户登录信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户登录信息主键 | ||
| 18 | + * @return 用户登录信息 | ||
| 19 | + */ | ||
| 20 | + public UserLoginInfo selectUserLoginInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户登录信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userLoginInfo 用户登录信息 | ||
| 26 | + * @return 用户登录信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserLoginInfo> selectUserLoginInfoList(UserLoginInfo userLoginInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户登录信息 | ||
| 32 | + * | ||
| 33 | + * @param userLoginInfo 用户登录信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserLoginInfo(UserLoginInfo userLoginInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户登录信息 | ||
| 40 | + * | ||
| 41 | + * @param userLoginInfo 用户登录信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserLoginInfo(UserLoginInfo userLoginInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 批量删除用户登录信息 | ||
| 48 | + * | ||
| 49 | + * @param ids 需要删除的用户登录信息主键集合 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserLoginInfoByIds(Integer[] ids); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 删除用户登录信息信息 | ||
| 56 | + * | ||
| 57 | + * @param id 用户登录信息主键 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserLoginInfoById(Integer id); | ||
| 61 | +} |
| 1 | +package com.zhonglai.luhui.user.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserLogin; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户登录Service接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface IUserLoginService | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户登录 | ||
| 16 | + * | ||
| 17 | + * @param id 用户登录主键 | ||
| 18 | + * @return 用户登录 | ||
| 19 | + */ | ||
| 20 | + public UserLogin selectUserLoginById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户登录列表 | ||
| 24 | + * | ||
| 25 | + * @param userLogin 用户登录 | ||
| 26 | + * @return 用户登录集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserLogin> selectUserLoginList(UserLogin userLogin); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户登录 | ||
| 32 | + * | ||
| 33 | + * @param userLogin 用户登录 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserLogin(UserLogin userLogin); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户登录 | ||
| 40 | + * | ||
| 41 | + * @param userLogin 用户登录 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserLogin(UserLogin userLogin); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 批量删除用户登录 | ||
| 48 | + * | ||
| 49 | + * @param ids 需要删除的用户登录主键集合 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserLoginByIds(Integer[] ids); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 删除用户登录信息 | ||
| 56 | + * | ||
| 57 | + * @param id 用户登录主键 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserLoginById(Integer id); | ||
| 61 | + | ||
| 62 | + String apiLoginByPass(String user, String pass); | ||
| 63 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/IUserOfficialInfoService.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserOfficialInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户官方及告警信息Service接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface IUserOfficialInfoService | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户官方及告警信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户官方及告警信息主键 | ||
| 18 | + * @return 用户官方及告警信息 | ||
| 19 | + */ | ||
| 20 | + public UserOfficialInfo selectUserOfficialInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户官方及告警信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userOfficialInfo 用户官方及告警信息 | ||
| 26 | + * @return 用户官方及告警信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserOfficialInfo> selectUserOfficialInfoList(UserOfficialInfo userOfficialInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户官方及告警信息 | ||
| 32 | + * | ||
| 33 | + * @param userOfficialInfo 用户官方及告警信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserOfficialInfo(UserOfficialInfo userOfficialInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户官方及告警信息 | ||
| 40 | + * | ||
| 41 | + * @param userOfficialInfo 用户官方及告警信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserOfficialInfo(UserOfficialInfo userOfficialInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 批量删除用户官方及告警信息 | ||
| 48 | + * | ||
| 49 | + * @param ids 需要删除的用户官方及告警信息主键集合 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserOfficialInfoByIds(Integer[] ids); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 删除用户官方及告警信息信息 | ||
| 56 | + * | ||
| 57 | + * @param id 用户官方及告警信息主键 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserOfficialInfoById(Integer id); | ||
| 61 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/IUserSocialInfoService.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.zhonglai.luhui.user.domain.UserSocialInfo; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * 用户社交信息Service接口 | ||
| 8 | + * | ||
| 9 | + * @author zhonglai | ||
| 10 | + * @date 2025-10-20 | ||
| 11 | + */ | ||
| 12 | +public interface IUserSocialInfoService | ||
| 13 | +{ | ||
| 14 | + /** | ||
| 15 | + * 查询用户社交信息 | ||
| 16 | + * | ||
| 17 | + * @param id 用户社交信息主键 | ||
| 18 | + * @return 用户社交信息 | ||
| 19 | + */ | ||
| 20 | + public UserSocialInfo selectUserSocialInfoById(Integer id); | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户社交信息列表 | ||
| 24 | + * | ||
| 25 | + * @param userSocialInfo 用户社交信息 | ||
| 26 | + * @return 用户社交信息集合 | ||
| 27 | + */ | ||
| 28 | + public List<UserSocialInfo> selectUserSocialInfoList(UserSocialInfo userSocialInfo); | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * 新增用户社交信息 | ||
| 32 | + * | ||
| 33 | + * @param userSocialInfo 用户社交信息 | ||
| 34 | + * @return 结果 | ||
| 35 | + */ | ||
| 36 | + public int insertUserSocialInfo(UserSocialInfo userSocialInfo); | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * 修改用户社交信息 | ||
| 40 | + * | ||
| 41 | + * @param userSocialInfo 用户社交信息 | ||
| 42 | + * @return 结果 | ||
| 43 | + */ | ||
| 44 | + public int updateUserSocialInfo(UserSocialInfo userSocialInfo); | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 批量删除用户社交信息 | ||
| 48 | + * | ||
| 49 | + * @param ids 需要删除的用户社交信息主键集合 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + public int deleteUserSocialInfoByIds(Integer[] ids); | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * 删除用户社交信息信息 | ||
| 56 | + * | ||
| 57 | + * @param id 用户社交信息主键 | ||
| 58 | + * @return 结果 | ||
| 59 | + */ | ||
| 60 | + public int deleteUserSocialInfoById(Integer id); | ||
| 61 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/impl/UserAccountInfoServiceImpl.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service.impl; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 5 | +import org.springframework.stereotype.Service; | ||
| 6 | +import com.zhonglai.luhui.user.mapper.UserAccountInfoMapper; | ||
| 7 | +import com.zhonglai.luhui.user.domain.UserAccountInfo; | ||
| 8 | +import com.zhonglai.luhui.user.service.IUserAccountInfoService; | ||
| 9 | + | ||
| 10 | +/** | ||
| 11 | + * 用户账户信息Service业务层处理 | ||
| 12 | + * | ||
| 13 | + * @author zhonglai | ||
| 14 | + * @date 2025-10-20 | ||
| 15 | + */ | ||
| 16 | +@Service | ||
| 17 | +public class UserAccountInfoServiceImpl implements IUserAccountInfoService | ||
| 18 | +{ | ||
| 19 | + @Autowired | ||
| 20 | + private UserAccountInfoMapper userAccountInfoMapper; | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户账户信息 | ||
| 24 | + * | ||
| 25 | + * @param id 用户账户信息主键 | ||
| 26 | + * @return 用户账户信息 | ||
| 27 | + */ | ||
| 28 | + @Override | ||
| 29 | + public UserAccountInfo selectUserAccountInfoById(Integer id) | ||
| 30 | + { | ||
| 31 | + return userAccountInfoMapper.selectUserAccountInfoById(id); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * 查询用户账户信息列表 | ||
| 36 | + * | ||
| 37 | + * @param userAccountInfo 用户账户信息 | ||
| 38 | + * @return 用户账户信息 | ||
| 39 | + */ | ||
| 40 | + @Override | ||
| 41 | + public List<UserAccountInfo> selectUserAccountInfoList(UserAccountInfo userAccountInfo) | ||
| 42 | + { | ||
| 43 | + return userAccountInfoMapper.selectUserAccountInfoList(userAccountInfo); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 新增用户账户信息 | ||
| 48 | + * | ||
| 49 | + * @param userAccountInfo 用户账户信息 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + @Override | ||
| 53 | + public int insertUserAccountInfo(UserAccountInfo userAccountInfo) | ||
| 54 | + { | ||
| 55 | + return userAccountInfoMapper.insertUserAccountInfo(userAccountInfo); | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + /** | ||
| 59 | + * 修改用户账户信息 | ||
| 60 | + * | ||
| 61 | + * @param userAccountInfo 用户账户信息 | ||
| 62 | + * @return 结果 | ||
| 63 | + */ | ||
| 64 | + @Override | ||
| 65 | + public int updateUserAccountInfo(UserAccountInfo userAccountInfo) | ||
| 66 | + { | ||
| 67 | + return userAccountInfoMapper.updateUserAccountInfo(userAccountInfo); | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * 批量删除用户账户信息 | ||
| 72 | + * | ||
| 73 | + * @param ids 需要删除的用户账户信息主键 | ||
| 74 | + * @return 结果 | ||
| 75 | + */ | ||
| 76 | + @Override | ||
| 77 | + public int deleteUserAccountInfoByIds(Integer[] ids) | ||
| 78 | + { | ||
| 79 | + return userAccountInfoMapper.deleteUserAccountInfoByIds(ids); | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + /** | ||
| 83 | + * 删除用户账户信息信息 | ||
| 84 | + * | ||
| 85 | + * @param id 用户账户信息主键 | ||
| 86 | + * @return 结果 | ||
| 87 | + */ | ||
| 88 | + @Override | ||
| 89 | + public int deleteUserAccountInfoById(Integer id) | ||
| 90 | + { | ||
| 91 | + return userAccountInfoMapper.deleteUserAccountInfoById(id); | ||
| 92 | + } | ||
| 93 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/impl/UserAddressInfoServiceImpl.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service.impl; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 5 | +import org.springframework.stereotype.Service; | ||
| 6 | +import com.zhonglai.luhui.user.mapper.UserAddressInfoMapper; | ||
| 7 | +import com.zhonglai.luhui.user.domain.UserAddressInfo; | ||
| 8 | +import com.zhonglai.luhui.user.service.IUserAddressInfoService; | ||
| 9 | + | ||
| 10 | +/** | ||
| 11 | + * 用户地理信息Service业务层处理 | ||
| 12 | + * | ||
| 13 | + * @author zhonglai | ||
| 14 | + * @date 2025-10-20 | ||
| 15 | + */ | ||
| 16 | +@Service | ||
| 17 | +public class UserAddressInfoServiceImpl implements IUserAddressInfoService | ||
| 18 | +{ | ||
| 19 | + @Autowired | ||
| 20 | + private UserAddressInfoMapper userAddressInfoMapper; | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户地理信息 | ||
| 24 | + * | ||
| 25 | + * @param id 用户地理信息主键 | ||
| 26 | + * @return 用户地理信息 | ||
| 27 | + */ | ||
| 28 | + @Override | ||
| 29 | + public UserAddressInfo selectUserAddressInfoById(Integer id) | ||
| 30 | + { | ||
| 31 | + return userAddressInfoMapper.selectUserAddressInfoById(id); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * 查询用户地理信息列表 | ||
| 36 | + * | ||
| 37 | + * @param userAddressInfo 用户地理信息 | ||
| 38 | + * @return 用户地理信息 | ||
| 39 | + */ | ||
| 40 | + @Override | ||
| 41 | + public List<UserAddressInfo> selectUserAddressInfoList(UserAddressInfo userAddressInfo) | ||
| 42 | + { | ||
| 43 | + return userAddressInfoMapper.selectUserAddressInfoList(userAddressInfo); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 新增用户地理信息 | ||
| 48 | + * | ||
| 49 | + * @param userAddressInfo 用户地理信息 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + @Override | ||
| 53 | + public int insertUserAddressInfo(UserAddressInfo userAddressInfo) | ||
| 54 | + { | ||
| 55 | + return userAddressInfoMapper.insertUserAddressInfo(userAddressInfo); | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + /** | ||
| 59 | + * 修改用户地理信息 | ||
| 60 | + * | ||
| 61 | + * @param userAddressInfo 用户地理信息 | ||
| 62 | + * @return 结果 | ||
| 63 | + */ | ||
| 64 | + @Override | ||
| 65 | + public int updateUserAddressInfo(UserAddressInfo userAddressInfo) | ||
| 66 | + { | ||
| 67 | + return userAddressInfoMapper.updateUserAddressInfo(userAddressInfo); | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * 批量删除用户地理信息 | ||
| 72 | + * | ||
| 73 | + * @param ids 需要删除的用户地理信息主键 | ||
| 74 | + * @return 结果 | ||
| 75 | + */ | ||
| 76 | + @Override | ||
| 77 | + public int deleteUserAddressInfoByIds(Integer[] ids) | ||
| 78 | + { | ||
| 79 | + return userAddressInfoMapper.deleteUserAddressInfoByIds(ids); | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + /** | ||
| 83 | + * 删除用户地理信息信息 | ||
| 84 | + * | ||
| 85 | + * @param id 用户地理信息主键 | ||
| 86 | + * @return 结果 | ||
| 87 | + */ | ||
| 88 | + @Override | ||
| 89 | + public int deleteUserAddressInfoById(Integer id) | ||
| 90 | + { | ||
| 91 | + return userAddressInfoMapper.deleteUserAddressInfoById(id); | ||
| 92 | + } | ||
| 93 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/impl/UserAuthInfoServiceImpl.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service.impl; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 5 | +import org.springframework.stereotype.Service; | ||
| 6 | +import com.zhonglai.luhui.user.mapper.UserAuthInfoMapper; | ||
| 7 | +import com.zhonglai.luhui.user.domain.UserAuthInfo; | ||
| 8 | +import com.zhonglai.luhui.user.service.IUserAuthInfoService; | ||
| 9 | + | ||
| 10 | +/** | ||
| 11 | + * 用户认证信息Service业务层处理 | ||
| 12 | + * | ||
| 13 | + * @author zhonglai | ||
| 14 | + * @date 2025-10-20 | ||
| 15 | + */ | ||
| 16 | +@Service | ||
| 17 | +public class UserAuthInfoServiceImpl implements IUserAuthInfoService | ||
| 18 | +{ | ||
| 19 | + @Autowired | ||
| 20 | + private UserAuthInfoMapper userAuthInfoMapper; | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户认证信息 | ||
| 24 | + * | ||
| 25 | + * @param id 用户认证信息主键 | ||
| 26 | + * @return 用户认证信息 | ||
| 27 | + */ | ||
| 28 | + @Override | ||
| 29 | + public UserAuthInfo selectUserAuthInfoById(Integer id) | ||
| 30 | + { | ||
| 31 | + return userAuthInfoMapper.selectUserAuthInfoById(id); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * 查询用户认证信息列表 | ||
| 36 | + * | ||
| 37 | + * @param userAuthInfo 用户认证信息 | ||
| 38 | + * @return 用户认证信息 | ||
| 39 | + */ | ||
| 40 | + @Override | ||
| 41 | + public List<UserAuthInfo> selectUserAuthInfoList(UserAuthInfo userAuthInfo) | ||
| 42 | + { | ||
| 43 | + return userAuthInfoMapper.selectUserAuthInfoList(userAuthInfo); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 新增用户认证信息 | ||
| 48 | + * | ||
| 49 | + * @param userAuthInfo 用户认证信息 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + @Override | ||
| 53 | + public int insertUserAuthInfo(UserAuthInfo userAuthInfo) | ||
| 54 | + { | ||
| 55 | + return userAuthInfoMapper.insertUserAuthInfo(userAuthInfo); | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + /** | ||
| 59 | + * 修改用户认证信息 | ||
| 60 | + * | ||
| 61 | + * @param userAuthInfo 用户认证信息 | ||
| 62 | + * @return 结果 | ||
| 63 | + */ | ||
| 64 | + @Override | ||
| 65 | + public int updateUserAuthInfo(UserAuthInfo userAuthInfo) | ||
| 66 | + { | ||
| 67 | + return userAuthInfoMapper.updateUserAuthInfo(userAuthInfo); | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * 批量删除用户认证信息 | ||
| 72 | + * | ||
| 73 | + * @param ids 需要删除的用户认证信息主键 | ||
| 74 | + * @return 结果 | ||
| 75 | + */ | ||
| 76 | + @Override | ||
| 77 | + public int deleteUserAuthInfoByIds(Integer[] ids) | ||
| 78 | + { | ||
| 79 | + return userAuthInfoMapper.deleteUserAuthInfoByIds(ids); | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + /** | ||
| 83 | + * 删除用户认证信息信息 | ||
| 84 | + * | ||
| 85 | + * @param id 用户认证信息主键 | ||
| 86 | + * @return 结果 | ||
| 87 | + */ | ||
| 88 | + @Override | ||
| 89 | + public int deleteUserAuthInfoById(Integer id) | ||
| 90 | + { | ||
| 91 | + return userAuthInfoMapper.deleteUserAuthInfoById(id); | ||
| 92 | + } | ||
| 93 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/impl/UserBaseInfoServiceImpl.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service.impl; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import com.ruoyi.common.utils.DateUtils; | ||
| 5 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 6 | +import org.springframework.stereotype.Service; | ||
| 7 | +import com.zhonglai.luhui.user.mapper.UserBaseInfoMapper; | ||
| 8 | +import com.zhonglai.luhui.user.domain.UserBaseInfo; | ||
| 9 | +import com.zhonglai.luhui.user.service.IUserBaseInfoService; | ||
| 10 | + | ||
| 11 | +/** | ||
| 12 | + * 基础用户信息Service业务层处理 | ||
| 13 | + * | ||
| 14 | + * @author zhonglai | ||
| 15 | + * @date 2025-10-20 | ||
| 16 | + */ | ||
| 17 | +@Service | ||
| 18 | +public class UserBaseInfoServiceImpl implements IUserBaseInfoService | ||
| 19 | +{ | ||
| 20 | + @Autowired | ||
| 21 | + private UserBaseInfoMapper userBaseInfoMapper; | ||
| 22 | + | ||
| 23 | + /** | ||
| 24 | + * 查询基础用户信息 | ||
| 25 | + * | ||
| 26 | + * @param id 基础用户信息主键 | ||
| 27 | + * @return 基础用户信息 | ||
| 28 | + */ | ||
| 29 | + @Override | ||
| 30 | + public UserBaseInfo selectUserBaseInfoById(Integer id) | ||
| 31 | + { | ||
| 32 | + return userBaseInfoMapper.selectUserBaseInfoById(id); | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + /** | ||
| 36 | + * 查询基础用户信息列表 | ||
| 37 | + * | ||
| 38 | + * @param userBaseInfo 基础用户信息 | ||
| 39 | + * @return 基础用户信息 | ||
| 40 | + */ | ||
| 41 | + @Override | ||
| 42 | + public List<UserBaseInfo> selectUserBaseInfoList(UserBaseInfo userBaseInfo) | ||
| 43 | + { | ||
| 44 | + return userBaseInfoMapper.selectUserBaseInfoList(userBaseInfo); | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + /** | ||
| 48 | + * 新增基础用户信息 | ||
| 49 | + * | ||
| 50 | + * @param userBaseInfo 基础用户信息 | ||
| 51 | + * @return 结果 | ||
| 52 | + */ | ||
| 53 | + @Override | ||
| 54 | + public int insertUserBaseInfo(UserBaseInfo userBaseInfo) | ||
| 55 | + { | ||
| 56 | + userBaseInfo.setCreateTime(DateUtils.getNowDate()); | ||
| 57 | + return userBaseInfoMapper.insertUserBaseInfo(userBaseInfo); | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + /** | ||
| 61 | + * 修改基础用户信息 | ||
| 62 | + * | ||
| 63 | + * @param userBaseInfo 基础用户信息 | ||
| 64 | + * @return 结果 | ||
| 65 | + */ | ||
| 66 | + @Override | ||
| 67 | + public int updateUserBaseInfo(UserBaseInfo userBaseInfo) | ||
| 68 | + { | ||
| 69 | + return userBaseInfoMapper.updateUserBaseInfo(userBaseInfo); | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + /** | ||
| 73 | + * 批量删除基础用户信息 | ||
| 74 | + * | ||
| 75 | + * @param ids 需要删除的基础用户信息主键 | ||
| 76 | + * @return 结果 | ||
| 77 | + */ | ||
| 78 | + @Override | ||
| 79 | + public int deleteUserBaseInfoByIds(Integer[] ids) | ||
| 80 | + { | ||
| 81 | + return userBaseInfoMapper.deleteUserBaseInfoByIds(ids); | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + /** | ||
| 85 | + * 删除基础用户信息信息 | ||
| 86 | + * | ||
| 87 | + * @param id 基础用户信息主键 | ||
| 88 | + * @return 结果 | ||
| 89 | + */ | ||
| 90 | + @Override | ||
| 91 | + public int deleteUserBaseInfoById(Integer id) | ||
| 92 | + { | ||
| 93 | + return userBaseInfoMapper.deleteUserBaseInfoById(id); | ||
| 94 | + } | ||
| 95 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/impl/UserExtraInfoServiceImpl.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service.impl; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 5 | +import org.springframework.stereotype.Service; | ||
| 6 | +import com.zhonglai.luhui.user.mapper.UserExtraInfoMapper; | ||
| 7 | +import com.zhonglai.luhui.user.domain.UserExtraInfo; | ||
| 8 | +import com.zhonglai.luhui.user.service.IUserExtraInfoService; | ||
| 9 | + | ||
| 10 | +/** | ||
| 11 | + * 用户其他信息Service业务层处理 | ||
| 12 | + * | ||
| 13 | + * @author zhonglai | ||
| 14 | + * @date 2025-10-20 | ||
| 15 | + */ | ||
| 16 | +@Service | ||
| 17 | +public class UserExtraInfoServiceImpl implements IUserExtraInfoService | ||
| 18 | +{ | ||
| 19 | + @Autowired | ||
| 20 | + private UserExtraInfoMapper userExtraInfoMapper; | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户其他信息 | ||
| 24 | + * | ||
| 25 | + * @param id 用户其他信息主键 | ||
| 26 | + * @return 用户其他信息 | ||
| 27 | + */ | ||
| 28 | + @Override | ||
| 29 | + public UserExtraInfo selectUserExtraInfoById(Integer id) | ||
| 30 | + { | ||
| 31 | + return userExtraInfoMapper.selectUserExtraInfoById(id); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * 查询用户其他信息列表 | ||
| 36 | + * | ||
| 37 | + * @param userExtraInfo 用户其他信息 | ||
| 38 | + * @return 用户其他信息 | ||
| 39 | + */ | ||
| 40 | + @Override | ||
| 41 | + public List<UserExtraInfo> selectUserExtraInfoList(UserExtraInfo userExtraInfo) | ||
| 42 | + { | ||
| 43 | + return userExtraInfoMapper.selectUserExtraInfoList(userExtraInfo); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 新增用户其他信息 | ||
| 48 | + * | ||
| 49 | + * @param userExtraInfo 用户其他信息 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + @Override | ||
| 53 | + public int insertUserExtraInfo(UserExtraInfo userExtraInfo) | ||
| 54 | + { | ||
| 55 | + return userExtraInfoMapper.insertUserExtraInfo(userExtraInfo); | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + /** | ||
| 59 | + * 修改用户其他信息 | ||
| 60 | + * | ||
| 61 | + * @param userExtraInfo 用户其他信息 | ||
| 62 | + * @return 结果 | ||
| 63 | + */ | ||
| 64 | + @Override | ||
| 65 | + public int updateUserExtraInfo(UserExtraInfo userExtraInfo) | ||
| 66 | + { | ||
| 67 | + return userExtraInfoMapper.updateUserExtraInfo(userExtraInfo); | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * 批量删除用户其他信息 | ||
| 72 | + * | ||
| 73 | + * @param ids 需要删除的用户其他信息主键 | ||
| 74 | + * @return 结果 | ||
| 75 | + */ | ||
| 76 | + @Override | ||
| 77 | + public int deleteUserExtraInfoByIds(Integer[] ids) | ||
| 78 | + { | ||
| 79 | + return userExtraInfoMapper.deleteUserExtraInfoByIds(ids); | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + /** | ||
| 83 | + * 删除用户其他信息信息 | ||
| 84 | + * | ||
| 85 | + * @param id 用户其他信息主键 | ||
| 86 | + * @return 结果 | ||
| 87 | + */ | ||
| 88 | + @Override | ||
| 89 | + public int deleteUserExtraInfoById(Integer id) | ||
| 90 | + { | ||
| 91 | + return userExtraInfoMapper.deleteUserExtraInfoById(id); | ||
| 92 | + } | ||
| 93 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/impl/UserLoginInfoServiceImpl.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service.impl; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 5 | +import org.springframework.stereotype.Service; | ||
| 6 | +import com.zhonglai.luhui.user.mapper.UserLoginInfoMapper; | ||
| 7 | +import com.zhonglai.luhui.user.domain.UserLoginInfo; | ||
| 8 | +import com.zhonglai.luhui.user.service.IUserLoginInfoService; | ||
| 9 | + | ||
| 10 | +/** | ||
| 11 | + * 用户登录信息Service业务层处理 | ||
| 12 | + * | ||
| 13 | + * @author zhonglai | ||
| 14 | + * @date 2025-10-20 | ||
| 15 | + */ | ||
| 16 | +@Service | ||
| 17 | +public class UserLoginInfoServiceImpl implements IUserLoginInfoService | ||
| 18 | +{ | ||
| 19 | + @Autowired | ||
| 20 | + private UserLoginInfoMapper userLoginInfoMapper; | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户登录信息 | ||
| 24 | + * | ||
| 25 | + * @param id 用户登录信息主键 | ||
| 26 | + * @return 用户登录信息 | ||
| 27 | + */ | ||
| 28 | + @Override | ||
| 29 | + public UserLoginInfo selectUserLoginInfoById(Integer id) | ||
| 30 | + { | ||
| 31 | + return userLoginInfoMapper.selectUserLoginInfoById(id); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * 查询用户登录信息列表 | ||
| 36 | + * | ||
| 37 | + * @param userLoginInfo 用户登录信息 | ||
| 38 | + * @return 用户登录信息 | ||
| 39 | + */ | ||
| 40 | + @Override | ||
| 41 | + public List<UserLoginInfo> selectUserLoginInfoList(UserLoginInfo userLoginInfo) | ||
| 42 | + { | ||
| 43 | + return userLoginInfoMapper.selectUserLoginInfoList(userLoginInfo); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 新增用户登录信息 | ||
| 48 | + * | ||
| 49 | + * @param userLoginInfo 用户登录信息 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + @Override | ||
| 53 | + public int insertUserLoginInfo(UserLoginInfo userLoginInfo) | ||
| 54 | + { | ||
| 55 | + return userLoginInfoMapper.insertUserLoginInfo(userLoginInfo); | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + /** | ||
| 59 | + * 修改用户登录信息 | ||
| 60 | + * | ||
| 61 | + * @param userLoginInfo 用户登录信息 | ||
| 62 | + * @return 结果 | ||
| 63 | + */ | ||
| 64 | + @Override | ||
| 65 | + public int updateUserLoginInfo(UserLoginInfo userLoginInfo) | ||
| 66 | + { | ||
| 67 | + return userLoginInfoMapper.updateUserLoginInfo(userLoginInfo); | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * 批量删除用户登录信息 | ||
| 72 | + * | ||
| 73 | + * @param ids 需要删除的用户登录信息主键 | ||
| 74 | + * @return 结果 | ||
| 75 | + */ | ||
| 76 | + @Override | ||
| 77 | + public int deleteUserLoginInfoByIds(Integer[] ids) | ||
| 78 | + { | ||
| 79 | + return userLoginInfoMapper.deleteUserLoginInfoByIds(ids); | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + /** | ||
| 83 | + * 删除用户登录信息信息 | ||
| 84 | + * | ||
| 85 | + * @param id 用户登录信息主键 | ||
| 86 | + * @return 结果 | ||
| 87 | + */ | ||
| 88 | + @Override | ||
| 89 | + public int deleteUserLoginInfoById(Integer id) | ||
| 90 | + { | ||
| 91 | + return userLoginInfoMapper.deleteUserLoginInfoById(id); | ||
| 92 | + } | ||
| 93 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/impl/UserLoginServiceImpl.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service.impl; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 5 | +import org.springframework.stereotype.Service; | ||
| 6 | +import com.zhonglai.luhui.user.mapper.UserLoginMapper; | ||
| 7 | +import com.zhonglai.luhui.user.domain.UserLogin; | ||
| 8 | +import com.zhonglai.luhui.user.service.IUserLoginService; | ||
| 9 | + | ||
| 10 | +/** | ||
| 11 | + * 用户登录Service业务层处理 | ||
| 12 | + * | ||
| 13 | + * @author zhonglai | ||
| 14 | + * @date 2025-10-20 | ||
| 15 | + */ | ||
| 16 | +@Service | ||
| 17 | +public class UserLoginServiceImpl implements IUserLoginService | ||
| 18 | +{ | ||
| 19 | + @Autowired | ||
| 20 | + private UserLoginMapper userLoginMapper; | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户登录 | ||
| 24 | + * | ||
| 25 | + * @param id 用户登录主键 | ||
| 26 | + * @return 用户登录 | ||
| 27 | + */ | ||
| 28 | + @Override | ||
| 29 | + public UserLogin selectUserLoginById(Integer id) | ||
| 30 | + { | ||
| 31 | + return userLoginMapper.selectUserLoginById(id); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * 查询用户登录列表 | ||
| 36 | + * | ||
| 37 | + * @param userLogin 用户登录 | ||
| 38 | + * @return 用户登录 | ||
| 39 | + */ | ||
| 40 | + @Override | ||
| 41 | + public List<UserLogin> selectUserLoginList(UserLogin userLogin) | ||
| 42 | + { | ||
| 43 | + return userLoginMapper.selectUserLoginList(userLogin); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 新增用户登录 | ||
| 48 | + * | ||
| 49 | + * @param userLogin 用户登录 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + @Override | ||
| 53 | + public int insertUserLogin(UserLogin userLogin) | ||
| 54 | + { | ||
| 55 | + return userLoginMapper.insertUserLogin(userLogin); | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + /** | ||
| 59 | + * 修改用户登录 | ||
| 60 | + * | ||
| 61 | + * @param userLogin 用户登录 | ||
| 62 | + * @return 结果 | ||
| 63 | + */ | ||
| 64 | + @Override | ||
| 65 | + public int updateUserLogin(UserLogin userLogin) | ||
| 66 | + { | ||
| 67 | + return userLoginMapper.updateUserLogin(userLogin); | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * 批量删除用户登录 | ||
| 72 | + * | ||
| 73 | + * @param ids 需要删除的用户登录主键 | ||
| 74 | + * @return 结果 | ||
| 75 | + */ | ||
| 76 | + @Override | ||
| 77 | + public int deleteUserLoginByIds(Integer[] ids) | ||
| 78 | + { | ||
| 79 | + return userLoginMapper.deleteUserLoginByIds(ids); | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + /** | ||
| 83 | + * 删除用户登录信息 | ||
| 84 | + * | ||
| 85 | + * @param id 用户登录主键 | ||
| 86 | + * @return 结果 | ||
| 87 | + */ | ||
| 88 | + @Override | ||
| 89 | + public int deleteUserLoginById(Integer id) | ||
| 90 | + { | ||
| 91 | + return userLoginMapper.deleteUserLoginById(id); | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + @Override | ||
| 95 | + public String apiLoginByPass(String user, String pass) { | ||
| 96 | + | ||
| 97 | + return null; | ||
| 98 | + } | ||
| 99 | +} |
| 1 | +package com.zhonglai.luhui.user.service.impl; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 5 | +import org.springframework.stereotype.Service; | ||
| 6 | +import com.zhonglai.luhui.user.mapper.UserOfficialInfoMapper; | ||
| 7 | +import com.zhonglai.luhui.user.domain.UserOfficialInfo; | ||
| 8 | +import com.zhonglai.luhui.user.service.IUserOfficialInfoService; | ||
| 9 | + | ||
| 10 | +/** | ||
| 11 | + * 用户官方及告警信息Service业务层处理 | ||
| 12 | + * | ||
| 13 | + * @author zhonglai | ||
| 14 | + * @date 2025-10-20 | ||
| 15 | + */ | ||
| 16 | +@Service | ||
| 17 | +public class UserOfficialInfoServiceImpl implements IUserOfficialInfoService | ||
| 18 | +{ | ||
| 19 | + @Autowired | ||
| 20 | + private UserOfficialInfoMapper userOfficialInfoMapper; | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户官方及告警信息 | ||
| 24 | + * | ||
| 25 | + * @param id 用户官方及告警信息主键 | ||
| 26 | + * @return 用户官方及告警信息 | ||
| 27 | + */ | ||
| 28 | + @Override | ||
| 29 | + public UserOfficialInfo selectUserOfficialInfoById(Integer id) | ||
| 30 | + { | ||
| 31 | + return userOfficialInfoMapper.selectUserOfficialInfoById(id); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * 查询用户官方及告警信息列表 | ||
| 36 | + * | ||
| 37 | + * @param userOfficialInfo 用户官方及告警信息 | ||
| 38 | + * @return 用户官方及告警信息 | ||
| 39 | + */ | ||
| 40 | + @Override | ||
| 41 | + public List<UserOfficialInfo> selectUserOfficialInfoList(UserOfficialInfo userOfficialInfo) | ||
| 42 | + { | ||
| 43 | + return userOfficialInfoMapper.selectUserOfficialInfoList(userOfficialInfo); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 新增用户官方及告警信息 | ||
| 48 | + * | ||
| 49 | + * @param userOfficialInfo 用户官方及告警信息 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + @Override | ||
| 53 | + public int insertUserOfficialInfo(UserOfficialInfo userOfficialInfo) | ||
| 54 | + { | ||
| 55 | + return userOfficialInfoMapper.insertUserOfficialInfo(userOfficialInfo); | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + /** | ||
| 59 | + * 修改用户官方及告警信息 | ||
| 60 | + * | ||
| 61 | + * @param userOfficialInfo 用户官方及告警信息 | ||
| 62 | + * @return 结果 | ||
| 63 | + */ | ||
| 64 | + @Override | ||
| 65 | + public int updateUserOfficialInfo(UserOfficialInfo userOfficialInfo) | ||
| 66 | + { | ||
| 67 | + return userOfficialInfoMapper.updateUserOfficialInfo(userOfficialInfo); | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * 批量删除用户官方及告警信息 | ||
| 72 | + * | ||
| 73 | + * @param ids 需要删除的用户官方及告警信息主键 | ||
| 74 | + * @return 结果 | ||
| 75 | + */ | ||
| 76 | + @Override | ||
| 77 | + public int deleteUserOfficialInfoByIds(Integer[] ids) | ||
| 78 | + { | ||
| 79 | + return userOfficialInfoMapper.deleteUserOfficialInfoByIds(ids); | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + /** | ||
| 83 | + * 删除用户官方及告警信息信息 | ||
| 84 | + * | ||
| 85 | + * @param id 用户官方及告警信息主键 | ||
| 86 | + * @return 结果 | ||
| 87 | + */ | ||
| 88 | + @Override | ||
| 89 | + public int deleteUserOfficialInfoById(Integer id) | ||
| 90 | + { | ||
| 91 | + return userOfficialInfoMapper.deleteUserOfficialInfoById(id); | ||
| 92 | + } | ||
| 93 | +} |
lh-common/lh-user/src/main/java/com/zhonglai/luhui/user/service/impl/UserSocialInfoServiceImpl.java
0 → 100644
| 1 | +package com.zhonglai.luhui.user.service.impl; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 5 | +import org.springframework.stereotype.Service; | ||
| 6 | +import com.zhonglai.luhui.user.mapper.UserSocialInfoMapper; | ||
| 7 | +import com.zhonglai.luhui.user.domain.UserSocialInfo; | ||
| 8 | +import com.zhonglai.luhui.user.service.IUserSocialInfoService; | ||
| 9 | + | ||
| 10 | +/** | ||
| 11 | + * 用户社交信息Service业务层处理 | ||
| 12 | + * | ||
| 13 | + * @author zhonglai | ||
| 14 | + * @date 2025-10-20 | ||
| 15 | + */ | ||
| 16 | +@Service | ||
| 17 | +public class UserSocialInfoServiceImpl implements IUserSocialInfoService | ||
| 18 | +{ | ||
| 19 | + @Autowired | ||
| 20 | + private UserSocialInfoMapper userSocialInfoMapper; | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 查询用户社交信息 | ||
| 24 | + * | ||
| 25 | + * @param id 用户社交信息主键 | ||
| 26 | + * @return 用户社交信息 | ||
| 27 | + */ | ||
| 28 | + @Override | ||
| 29 | + public UserSocialInfo selectUserSocialInfoById(Integer id) | ||
| 30 | + { | ||
| 31 | + return userSocialInfoMapper.selectUserSocialInfoById(id); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * 查询用户社交信息列表 | ||
| 36 | + * | ||
| 37 | + * @param userSocialInfo 用户社交信息 | ||
| 38 | + * @return 用户社交信息 | ||
| 39 | + */ | ||
| 40 | + @Override | ||
| 41 | + public List<UserSocialInfo> selectUserSocialInfoList(UserSocialInfo userSocialInfo) | ||
| 42 | + { | ||
| 43 | + return userSocialInfoMapper.selectUserSocialInfoList(userSocialInfo); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 新增用户社交信息 | ||
| 48 | + * | ||
| 49 | + * @param userSocialInfo 用户社交信息 | ||
| 50 | + * @return 结果 | ||
| 51 | + */ | ||
| 52 | + @Override | ||
| 53 | + public int insertUserSocialInfo(UserSocialInfo userSocialInfo) | ||
| 54 | + { | ||
| 55 | + return userSocialInfoMapper.insertUserSocialInfo(userSocialInfo); | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + /** | ||
| 59 | + * 修改用户社交信息 | ||
| 60 | + * | ||
| 61 | + * @param userSocialInfo 用户社交信息 | ||
| 62 | + * @return 结果 | ||
| 63 | + */ | ||
| 64 | + @Override | ||
| 65 | + public int updateUserSocialInfo(UserSocialInfo userSocialInfo) | ||
| 66 | + { | ||
| 67 | + return userSocialInfoMapper.updateUserSocialInfo(userSocialInfo); | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * 批量删除用户社交信息 | ||
| 72 | + * | ||
| 73 | + * @param ids 需要删除的用户社交信息主键 | ||
| 74 | + * @return 结果 | ||
| 75 | + */ | ||
| 76 | + @Override | ||
| 77 | + public int deleteUserSocialInfoByIds(Integer[] ids) | ||
| 78 | + { | ||
| 79 | + return userSocialInfoMapper.deleteUserSocialInfoByIds(ids); | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + /** | ||
| 83 | + * 删除用户社交信息信息 | ||
| 84 | + * | ||
| 85 | + * @param id 用户社交信息主键 | ||
| 86 | + * @return 结果 | ||
| 87 | + */ | ||
| 88 | + @Override | ||
| 89 | + public int deleteUserSocialInfoById(Integer id) | ||
| 90 | + { | ||
| 91 | + return userSocialInfoMapper.deleteUserSocialInfoById(id); | ||
| 92 | + } | ||
| 93 | +} |
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | +<!DOCTYPE mapper | ||
| 3 | +PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 4 | +"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
| 5 | +<mapper namespace="com.zhonglai.luhui.user.mapper.UserAccountInfoMapper"> | ||
| 6 | + | ||
| 7 | + <resultMap type="UserAccountInfo" id="UserAccountInfoResult"> | ||
| 8 | + <result property="id" column="id" /> | ||
| 9 | + <result property="integral" column="integral" /> | ||
| 10 | + <result property="balance" column="balance" /> | ||
| 11 | + <result property="level" column="level" /> | ||
| 12 | + <result property="currency" column="currency" /> | ||
| 13 | + <result property="experience" column="experience" /> | ||
| 14 | + <result property="annualServiceCharge" column="annual_service_charge" /> | ||
| 15 | + <result property="dianmiaoEndTime" column="dianmiao_end_time" /> | ||
| 16 | + </resultMap> | ||
| 17 | + | ||
| 18 | + <sql id="selectUserAccountInfoVo"> | ||
| 19 | + select id, integral, balance, level, currency, experience, annual_service_charge, dianmiao_end_time from user_account_info | ||
| 20 | + </sql> | ||
| 21 | + | ||
| 22 | + <select id="selectUserAccountInfoList" parameterType="UserAccountInfo" resultMap="UserAccountInfoResult"> | ||
| 23 | + <include refid="selectUserAccountInfoVo"/> | ||
| 24 | + <where> | ||
| 25 | + <if test="integral != null "> and integral = #{integral}</if> | ||
| 26 | + <if test="balance != null "> and balance = #{balance}</if> | ||
| 27 | + <if test="level != null "> and level = #{level}</if> | ||
| 28 | + <if test="currency != null "> and currency = #{currency}</if> | ||
| 29 | + <if test="experience != null "> and experience = #{experience}</if> | ||
| 30 | + <if test="annualServiceCharge != null "> and annual_service_charge = #{annualServiceCharge}</if> | ||
| 31 | + <if test="dianmiaoEndTime != null "> and dianmiao_end_time = #{dianmiaoEndTime}</if> | ||
| 32 | + </where> | ||
| 33 | + </select> | ||
| 34 | + | ||
| 35 | + <select id="selectUserAccountInfoById" parameterType="Integer" resultMap="UserAccountInfoResult"> | ||
| 36 | + <include refid="selectUserAccountInfoVo"/> | ||
| 37 | + where id = #{id} | ||
| 38 | + </select> | ||
| 39 | + | ||
| 40 | + <insert id="insertUserAccountInfo" parameterType="UserAccountInfo"> | ||
| 41 | + insert into user_account_info | ||
| 42 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
| 43 | + <if test="id != null">id,</if> | ||
| 44 | + <if test="integral != null">integral,</if> | ||
| 45 | + <if test="balance != null">balance,</if> | ||
| 46 | + <if test="level != null">level,</if> | ||
| 47 | + <if test="currency != null">currency,</if> | ||
| 48 | + <if test="experience != null">experience,</if> | ||
| 49 | + <if test="annualServiceCharge != null">annual_service_charge,</if> | ||
| 50 | + <if test="dianmiaoEndTime != null">dianmiao_end_time,</if> | ||
| 51 | + </trim> | ||
| 52 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
| 53 | + <if test="id != null">#{id},</if> | ||
| 54 | + <if test="integral != null">#{integral},</if> | ||
| 55 | + <if test="balance != null">#{balance},</if> | ||
| 56 | + <if test="level != null">#{level},</if> | ||
| 57 | + <if test="currency != null">#{currency},</if> | ||
| 58 | + <if test="experience != null">#{experience},</if> | ||
| 59 | + <if test="annualServiceCharge != null">#{annualServiceCharge},</if> | ||
| 60 | + <if test="dianmiaoEndTime != null">#{dianmiaoEndTime},</if> | ||
| 61 | + </trim> | ||
| 62 | + </insert> | ||
| 63 | + | ||
| 64 | + <update id="updateUserAccountInfo" parameterType="UserAccountInfo"> | ||
| 65 | + update user_account_info | ||
| 66 | + <trim prefix="SET" suffixOverrides=","> | ||
| 67 | + <if test="integral != null">integral = #{integral},</if> | ||
| 68 | + <if test="balance != null">balance = #{balance},</if> | ||
| 69 | + <if test="level != null">level = #{level},</if> | ||
| 70 | + <if test="currency != null">currency = #{currency},</if> | ||
| 71 | + <if test="experience != null">experience = #{experience},</if> | ||
| 72 | + <if test="annualServiceCharge != null">annual_service_charge = #{annualServiceCharge},</if> | ||
| 73 | + <if test="dianmiaoEndTime != null">dianmiao_end_time = #{dianmiaoEndTime},</if> | ||
| 74 | + </trim> | ||
| 75 | + where id = #{id} | ||
| 76 | + </update> | ||
| 77 | + | ||
| 78 | + <delete id="deleteUserAccountInfoById" parameterType="Integer"> | ||
| 79 | + delete from user_account_info where id = #{id} | ||
| 80 | + </delete> | ||
| 81 | + | ||
| 82 | + <delete id="deleteUserAccountInfoByIds" parameterType="String"> | ||
| 83 | + delete from user_account_info where id in | ||
| 84 | + <foreach item="id" collection="array" open="(" separator="," close=")"> | ||
| 85 | + #{id} | ||
| 86 | + </foreach> | ||
| 87 | + </delete> | ||
| 88 | +</mapper> |
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | +<!DOCTYPE mapper | ||
| 3 | +PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 4 | +"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
| 5 | +<mapper namespace="com.zhonglai.luhui.user.mapper.UserAddressInfoMapper"> | ||
| 6 | + | ||
| 7 | + <resultMap type="UserAddressInfo" id="UserAddressInfoResult"> | ||
| 8 | + <result property="id" column="id" /> | ||
| 9 | + <result property="provinceId" column="province_id" /> | ||
| 10 | + <result property="cityId" column="city_id" /> | ||
| 11 | + <result property="countyId" column="county_id" /> | ||
| 12 | + <result property="provinceName" column="province_name" /> | ||
| 13 | + <result property="cityName" column="city_name" /> | ||
| 14 | + <result property="countyName" column="county_name" /> | ||
| 15 | + <result property="address" column="address" /> | ||
| 16 | + <result property="search" column="search" /> | ||
| 17 | + </resultMap> | ||
| 18 | + | ||
| 19 | + <sql id="selectUserAddressInfoVo"> | ||
| 20 | + select id, province_id, city_id, county_id, province_name, city_name, county_name, address, search from user_address_info | ||
| 21 | + </sql> | ||
| 22 | + | ||
| 23 | + <select id="selectUserAddressInfoList" parameterType="UserAddressInfo" resultMap="UserAddressInfoResult"> | ||
| 24 | + <include refid="selectUserAddressInfoVo"/> | ||
| 25 | + <where> | ||
| 26 | + <if test="provinceId != null and provinceId != ''"> and province_id = #{provinceId}</if> | ||
| 27 | + <if test="cityId != null and cityId != ''"> and city_id = #{cityId}</if> | ||
| 28 | + <if test="countyId != null and countyId != ''"> and county_id = #{countyId}</if> | ||
| 29 | + <if test="provinceName != null and provinceName != ''"> and province_name = #{provinceName}</if> | ||
| 30 | + <if test="cityName != null and cityName != ''"> and city_name like concat('%', #{cityName}, '%')</if> | ||
| 31 | + <if test="countyName != null and countyName != ''"> and county_name like concat('%', #{countyName}, '%')</if> | ||
| 32 | + <if test="address != null and address != ''"> and address like concat('%', #{address}, '%')</if> | ||
| 33 | + <if test="search != null and search != ''"> and search = #{search}</if> | ||
| 34 | + </where> | ||
| 35 | + </select> | ||
| 36 | + | ||
| 37 | + <select id="selectUserAddressInfoById" parameterType="Integer" resultMap="UserAddressInfoResult"> | ||
| 38 | + <include refid="selectUserAddressInfoVo"/> | ||
| 39 | + where id = #{id} | ||
| 40 | + </select> | ||
| 41 | + | ||
| 42 | + <insert id="insertUserAddressInfo" parameterType="UserAddressInfo"> | ||
| 43 | + insert into user_address_info | ||
| 44 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
| 45 | + <if test="id != null">id,</if> | ||
| 46 | + <if test="provinceId != null">province_id,</if> | ||
| 47 | + <if test="cityId != null">city_id,</if> | ||
| 48 | + <if test="countyId != null">county_id,</if> | ||
| 49 | + <if test="provinceName != null">province_name,</if> | ||
| 50 | + <if test="cityName != null">city_name,</if> | ||
| 51 | + <if test="countyName != null">county_name,</if> | ||
| 52 | + <if test="address != null">address,</if> | ||
| 53 | + <if test="search != null">search,</if> | ||
| 54 | + </trim> | ||
| 55 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
| 56 | + <if test="id != null">#{id},</if> | ||
| 57 | + <if test="provinceId != null">#{provinceId},</if> | ||
| 58 | + <if test="cityId != null">#{cityId},</if> | ||
| 59 | + <if test="countyId != null">#{countyId},</if> | ||
| 60 | + <if test="provinceName != null">#{provinceName},</if> | ||
| 61 | + <if test="cityName != null">#{cityName},</if> | ||
| 62 | + <if test="countyName != null">#{countyName},</if> | ||
| 63 | + <if test="address != null">#{address},</if> | ||
| 64 | + <if test="search != null">#{search},</if> | ||
| 65 | + </trim> | ||
| 66 | + </insert> | ||
| 67 | + | ||
| 68 | + <update id="updateUserAddressInfo" parameterType="UserAddressInfo"> | ||
| 69 | + update user_address_info | ||
| 70 | + <trim prefix="SET" suffixOverrides=","> | ||
| 71 | + <if test="provinceId != null">province_id = #{provinceId},</if> | ||
| 72 | + <if test="cityId != null">city_id = #{cityId},</if> | ||
| 73 | + <if test="countyId != null">county_id = #{countyId},</if> | ||
| 74 | + <if test="provinceName != null">province_name = #{provinceName},</if> | ||
| 75 | + <if test="cityName != null">city_name = #{cityName},</if> | ||
| 76 | + <if test="countyName != null">county_name = #{countyName},</if> | ||
| 77 | + <if test="address != null">address = #{address},</if> | ||
| 78 | + <if test="search != null">search = #{search},</if> | ||
| 79 | + </trim> | ||
| 80 | + where id = #{id} | ||
| 81 | + </update> | ||
| 82 | + | ||
| 83 | + <delete id="deleteUserAddressInfoById" parameterType="Integer"> | ||
| 84 | + delete from user_address_info where id = #{id} | ||
| 85 | + </delete> | ||
| 86 | + | ||
| 87 | + <delete id="deleteUserAddressInfoByIds" parameterType="String"> | ||
| 88 | + delete from user_address_info where id in | ||
| 89 | + <foreach item="id" collection="array" open="(" separator="," close=")"> | ||
| 90 | + #{id} | ||
| 91 | + </foreach> | ||
| 92 | + </delete> | ||
| 93 | +</mapper> |
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | +<!DOCTYPE mapper | ||
| 3 | +PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 4 | +"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
| 5 | +<mapper namespace="com.zhonglai.luhui.user.mapper.UserAuthInfoMapper"> | ||
| 6 | + | ||
| 7 | + <resultMap type="UserAuthInfo" id="UserAuthInfoResult"> | ||
| 8 | + <result property="id" column="id" /> | ||
| 9 | + <result property="nameAuthentication" column="name_authentication" /> | ||
| 10 | + <result property="personalAuthenticationState" column="personal_authentication_state" /> | ||
| 11 | + <result property="enterpriseAuthenticationState" column="enterprise_authentication_state" /> | ||
| 12 | + <result property="personalAuthenticationDescribe" column="personal_authentication_describe" /> | ||
| 13 | + <result property="enterpriseAuthenticationDescribe" column="enterprise_authentication_describe" /> | ||
| 14 | + <result property="personalAuthenticationTime" column="personal_authentication_time" /> | ||
| 15 | + <result property="enterpriseAuthenticationTime" column="enterprise_authentication_time" /> | ||
| 16 | + <result property="identificationCard" column="identification_card" /> | ||
| 17 | + <result property="businessLicenseNo" column="business_license_no" /> | ||
| 18 | + <result property="enterpriseName" column="enterprise_name" /> | ||
| 19 | + <result property="businessLicenseUrl" column="business_license_url" /> | ||
| 20 | + </resultMap> | ||
| 21 | + | ||
| 22 | + <sql id="selectUserAuthInfoVo"> | ||
| 23 | + select id, name_authentication, personal_authentication_state, enterprise_authentication_state, personal_authentication_describe, enterprise_authentication_describe, personal_authentication_time, enterprise_authentication_time, identification_card, business_license_no, enterprise_name, business_license_url from user_auth_info | ||
| 24 | + </sql> | ||
| 25 | + | ||
| 26 | + <select id="selectUserAuthInfoList" parameterType="UserAuthInfo" resultMap="UserAuthInfoResult"> | ||
| 27 | + <include refid="selectUserAuthInfoVo"/> | ||
| 28 | + <where> | ||
| 29 | + <if test="nameAuthentication != null "> and name_authentication = #{nameAuthentication}</if> | ||
| 30 | + <if test="personalAuthenticationState != null "> and personal_authentication_state = #{personalAuthenticationState}</if> | ||
| 31 | + <if test="enterpriseAuthenticationState != null "> and enterprise_authentication_state = #{enterpriseAuthenticationState}</if> | ||
| 32 | + <if test="personalAuthenticationDescribe != null and personalAuthenticationDescribe != ''"> and personal_authentication_describe = #{personalAuthenticationDescribe}</if> | ||
| 33 | + <if test="enterpriseAuthenticationDescribe != null and enterpriseAuthenticationDescribe != ''"> and enterprise_authentication_describe = #{enterpriseAuthenticationDescribe}</if> | ||
| 34 | + <if test="personalAuthenticationTime != null "> and personal_authentication_time = #{personalAuthenticationTime}</if> | ||
| 35 | + <if test="enterpriseAuthenticationTime != null "> and enterprise_authentication_time = #{enterpriseAuthenticationTime}</if> | ||
| 36 | + <if test="identificationCard != null and identificationCard != ''"> and identification_card = #{identificationCard}</if> | ||
| 37 | + <if test="businessLicenseNo != null and businessLicenseNo != ''"> and business_license_no like concat('%', #{businessLicenseNo}, '%')</if> | ||
| 38 | + <if test="enterpriseName != null and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if> | ||
| 39 | + <if test="businessLicenseUrl != null and businessLicenseUrl != ''"> and business_license_url = #{businessLicenseUrl}</if> | ||
| 40 | + </where> | ||
| 41 | + </select> | ||
| 42 | + | ||
| 43 | + <select id="selectUserAuthInfoById" parameterType="Integer" resultMap="UserAuthInfoResult"> | ||
| 44 | + <include refid="selectUserAuthInfoVo"/> | ||
| 45 | + where id = #{id} | ||
| 46 | + </select> | ||
| 47 | + | ||
| 48 | + <insert id="insertUserAuthInfo" parameterType="UserAuthInfo"> | ||
| 49 | + insert into user_auth_info | ||
| 50 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
| 51 | + <if test="id != null">id,</if> | ||
| 52 | + <if test="nameAuthentication != null">name_authentication,</if> | ||
| 53 | + <if test="personalAuthenticationState != null">personal_authentication_state,</if> | ||
| 54 | + <if test="enterpriseAuthenticationState != null">enterprise_authentication_state,</if> | ||
| 55 | + <if test="personalAuthenticationDescribe != null">personal_authentication_describe,</if> | ||
| 56 | + <if test="enterpriseAuthenticationDescribe != null">enterprise_authentication_describe,</if> | ||
| 57 | + <if test="personalAuthenticationTime != null">personal_authentication_time,</if> | ||
| 58 | + <if test="enterpriseAuthenticationTime != null">enterprise_authentication_time,</if> | ||
| 59 | + <if test="identificationCard != null">identification_card,</if> | ||
| 60 | + <if test="businessLicenseNo != null">business_license_no,</if> | ||
| 61 | + <if test="enterpriseName != null">enterprise_name,</if> | ||
| 62 | + <if test="businessLicenseUrl != null">business_license_url,</if> | ||
| 63 | + </trim> | ||
| 64 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
| 65 | + <if test="id != null">#{id},</if> | ||
| 66 | + <if test="nameAuthentication != null">#{nameAuthentication},</if> | ||
| 67 | + <if test="personalAuthenticationState != null">#{personalAuthenticationState},</if> | ||
| 68 | + <if test="enterpriseAuthenticationState != null">#{enterpriseAuthenticationState},</if> | ||
| 69 | + <if test="personalAuthenticationDescribe != null">#{personalAuthenticationDescribe},</if> | ||
| 70 | + <if test="enterpriseAuthenticationDescribe != null">#{enterpriseAuthenticationDescribe},</if> | ||
| 71 | + <if test="personalAuthenticationTime != null">#{personalAuthenticationTime},</if> | ||
| 72 | + <if test="enterpriseAuthenticationTime != null">#{enterpriseAuthenticationTime},</if> | ||
| 73 | + <if test="identificationCard != null">#{identificationCard},</if> | ||
| 74 | + <if test="businessLicenseNo != null">#{businessLicenseNo},</if> | ||
| 75 | + <if test="enterpriseName != null">#{enterpriseName},</if> | ||
| 76 | + <if test="businessLicenseUrl != null">#{businessLicenseUrl},</if> | ||
| 77 | + </trim> | ||
| 78 | + </insert> | ||
| 79 | + | ||
| 80 | + <update id="updateUserAuthInfo" parameterType="UserAuthInfo"> | ||
| 81 | + update user_auth_info | ||
| 82 | + <trim prefix="SET" suffixOverrides=","> | ||
| 83 | + <if test="nameAuthentication != null">name_authentication = #{nameAuthentication},</if> | ||
| 84 | + <if test="personalAuthenticationState != null">personal_authentication_state = #{personalAuthenticationState},</if> | ||
| 85 | + <if test="enterpriseAuthenticationState != null">enterprise_authentication_state = #{enterpriseAuthenticationState},</if> | ||
| 86 | + <if test="personalAuthenticationDescribe != null">personal_authentication_describe = #{personalAuthenticationDescribe},</if> | ||
| 87 | + <if test="enterpriseAuthenticationDescribe != null">enterprise_authentication_describe = #{enterpriseAuthenticationDescribe},</if> | ||
| 88 | + <if test="personalAuthenticationTime != null">personal_authentication_time = #{personalAuthenticationTime},</if> | ||
| 89 | + <if test="enterpriseAuthenticationTime != null">enterprise_authentication_time = #{enterpriseAuthenticationTime},</if> | ||
| 90 | + <if test="identificationCard != null">identification_card = #{identificationCard},</if> | ||
| 91 | + <if test="businessLicenseNo != null">business_license_no = #{businessLicenseNo},</if> | ||
| 92 | + <if test="enterpriseName != null">enterprise_name = #{enterpriseName},</if> | ||
| 93 | + <if test="businessLicenseUrl != null">business_license_url = #{businessLicenseUrl},</if> | ||
| 94 | + </trim> | ||
| 95 | + where id = #{id} | ||
| 96 | + </update> | ||
| 97 | + | ||
| 98 | + <delete id="deleteUserAuthInfoById" parameterType="Integer"> | ||
| 99 | + delete from user_auth_info where id = #{id} | ||
| 100 | + </delete> | ||
| 101 | + | ||
| 102 | + <delete id="deleteUserAuthInfoByIds" parameterType="String"> | ||
| 103 | + delete from user_auth_info where id in | ||
| 104 | + <foreach item="id" collection="array" open="(" separator="," close=")"> | ||
| 105 | + #{id} | ||
| 106 | + </foreach> | ||
| 107 | + </delete> | ||
| 108 | +</mapper> |
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | +<!DOCTYPE mapper | ||
| 3 | +PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 4 | +"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
| 5 | +<mapper namespace="com.zhonglai.luhui.user.mapper.UserBaseInfoMapper"> | ||
| 6 | + | ||
| 7 | + <resultMap type="UserBaseInfo" id="UserBaseInfoResult"> | ||
| 8 | + <result property="id" column="id" /> | ||
| 9 | + <result property="loginName" column="login_name" /> | ||
| 10 | + <result property="name" column="name" /> | ||
| 11 | + <result property="nickname" column="nickname" /> | ||
| 12 | + <result property="gender" column="gender" /> | ||
| 13 | + <result property="phone" column="phone" /> | ||
| 14 | + <result property="email" column="email" /> | ||
| 15 | + <result property="imgUrl" column="img_url" /> | ||
| 16 | + <result property="createTime" column="create_time" /> | ||
| 17 | + </resultMap> | ||
| 18 | + | ||
| 19 | + <sql id="selectUserBaseInfoVo"> | ||
| 20 | + select id, login_name, name, nickname, gender, phone, email, img_url, create_time from user_base_info | ||
| 21 | + </sql> | ||
| 22 | + | ||
| 23 | + <select id="selectUserBaseInfoList" parameterType="UserBaseInfo" resultMap="UserBaseInfoResult"> | ||
| 24 | + <include refid="selectUserBaseInfoVo"/> | ||
| 25 | + <where> | ||
| 26 | + <if test="loginName != null and loginName != ''"> and login_name like concat('%', #{loginName}, '%')</if> | ||
| 27 | + <if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if> | ||
| 28 | + <if test="nickname != null and nickname != ''"> and nickname like concat('%', #{nickname}, '%')</if> | ||
| 29 | + <if test="gender != null "> and gender = #{gender}</if> | ||
| 30 | + <if test="phone != null and phone != ''"> and phone like concat('%', #{phone}, '%')</if> | ||
| 31 | + <if test="email != null and email != ''"> and email like concat('%', #{email}, '%')</if> | ||
| 32 | + <if test="imgUrl != null and imgUrl != ''"> and img_url = #{imgUrl}</if> | ||
| 33 | + </where> | ||
| 34 | + </select> | ||
| 35 | + | ||
| 36 | + <select id="selectUserBaseInfoById" parameterType="Integer" resultMap="UserBaseInfoResult"> | ||
| 37 | + <include refid="selectUserBaseInfoVo"/> | ||
| 38 | + where id = #{id} | ||
| 39 | + </select> | ||
| 40 | + | ||
| 41 | + <insert id="insertUserBaseInfo" parameterType="UserBaseInfo" useGeneratedKeys="true" keyProperty="id"> | ||
| 42 | + insert into user_base_info | ||
| 43 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
| 44 | + <if test="loginName != null and loginName != ''">login_name,</if> | ||
| 45 | + <if test="name != null">name,</if> | ||
| 46 | + <if test="nickname != null">nickname,</if> | ||
| 47 | + <if test="gender != null">gender,</if> | ||
| 48 | + <if test="phone != null">phone,</if> | ||
| 49 | + <if test="email != null">email,</if> | ||
| 50 | + <if test="imgUrl != null">img_url,</if> | ||
| 51 | + <if test="createTime != null">create_time,</if> | ||
| 52 | + </trim> | ||
| 53 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
| 54 | + <if test="loginName != null and loginName != ''">#{loginName},</if> | ||
| 55 | + <if test="name != null">#{name},</if> | ||
| 56 | + <if test="nickname != null">#{nickname},</if> | ||
| 57 | + <if test="gender != null">#{gender},</if> | ||
| 58 | + <if test="phone != null">#{phone},</if> | ||
| 59 | + <if test="email != null">#{email},</if> | ||
| 60 | + <if test="imgUrl != null">#{imgUrl},</if> | ||
| 61 | + <if test="createTime != null">#{createTime},</if> | ||
| 62 | + </trim> | ||
| 63 | + </insert> | ||
| 64 | + | ||
| 65 | + <update id="updateUserBaseInfo" parameterType="UserBaseInfo"> | ||
| 66 | + update user_base_info | ||
| 67 | + <trim prefix="SET" suffixOverrides=","> | ||
| 68 | + <if test="loginName != null and loginName != ''">login_name = #{loginName},</if> | ||
| 69 | + <if test="name != null">name = #{name},</if> | ||
| 70 | + <if test="nickname != null">nickname = #{nickname},</if> | ||
| 71 | + <if test="gender != null">gender = #{gender},</if> | ||
| 72 | + <if test="phone != null">phone = #{phone},</if> | ||
| 73 | + <if test="email != null">email = #{email},</if> | ||
| 74 | + <if test="imgUrl != null">img_url = #{imgUrl},</if> | ||
| 75 | + <if test="createTime != null">create_time = #{createTime},</if> | ||
| 76 | + </trim> | ||
| 77 | + where id = #{id} | ||
| 78 | + </update> | ||
| 79 | + | ||
| 80 | + <delete id="deleteUserBaseInfoById" parameterType="Integer"> | ||
| 81 | + delete from user_base_info where id = #{id} | ||
| 82 | + </delete> | ||
| 83 | + | ||
| 84 | + <delete id="deleteUserBaseInfoByIds" parameterType="String"> | ||
| 85 | + delete from user_base_info where id in | ||
| 86 | + <foreach item="id" collection="array" open="(" separator="," close=")"> | ||
| 87 | + #{id} | ||
| 88 | + </foreach> | ||
| 89 | + </delete> | ||
| 90 | +</mapper> |
-
请 注册 或 登录 后发表评论