Commit db9c5d2796398c8a37bb980b46d2fd89ac950d45

Authored by youxiw2000
2 parents 1d38768e 14d341fb

Merge branch 'dev' of http://61.169.120.202:8888/youxiw20000/trash into dev

trash-garbage/src/main/java/com/trash/garbage/service/impl/GarUserServiceImpl.java
@@ -222,6 +222,7 @@ public class GarUserServiceImpl extends ServiceImpl<GarUserMapper, GarUser> @@ -222,6 +222,7 @@ public class GarUserServiceImpl extends ServiceImpl<GarUserMapper, GarUser>
222 loginUser.setToken(token); 222 loginUser.setToken(token);
223 tokenService.refreshToken(loginUser); 223 tokenService.refreshToken(loginUser);
224 vo.setToken(token); 224 vo.setToken(token);
  225 + vo.setName(nUser.getGarUserName());
225 226
226 227
227 GarUserReq userReq = reqGarUser(loginDto.getTel()); 228 GarUserReq userReq = reqGarUser(loginDto.getTel());
trash-unit/src/main/java/com/trash/enterprise/domain/TransportationEnterprise.java
1 package com.trash.enterprise.domain; 1 package com.trash.enterprise.domain;
2 2
  3 +import com.baomidou.mybatisplus.annotation.TableField;
3 import com.fasterxml.jackson.annotation.JsonFormat; 4 import com.fasterxml.jackson.annotation.JsonFormat;
4 import com.trash.common.annotation.Excel; 5 import com.trash.common.annotation.Excel;
5 import com.trash.common.core.domain.BaseEntity; 6 import com.trash.common.core.domain.BaseEntity;
@@ -8,6 +9,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; @@ -8,6 +9,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
8 9
9 import java.math.BigDecimal; 10 import java.math.BigDecimal;
10 import java.util.Date; 11 import java.util.Date;
  12 +import java.util.List;
11 13
12 /** 14 /**
13 * 运输企业管理对象 transportation_enterprise 15 * 运输企业管理对象 transportation_enterprise
@@ -145,6 +147,18 @@ public class TransportationEnterprise extends BaseEntity @@ -145,6 +147,18 @@ public class TransportationEnterprise extends BaseEntity
145 147
146 private String userType; 148 private String userType;
147 149
  150 + @TableField(exist = false)
  151 + private String corporation;
  152 +
  153 + @TableField(exist = false)
  154 + private String safetyOfficer;
  155 +
  156 + @TableField(exist = false)
  157 + private String entryTime;
  158 +
  159 + @TableField(exist = false)
  160 + private List<String> licensePlateNos;
  161 +
148 162
149 public String getCompanyLogo() { 163 public String getCompanyLogo() {
150 return companyLogo; 164 return companyLogo;
@@ -486,4 +500,36 @@ public class TransportationEnterprise extends BaseEntity @@ -486,4 +500,36 @@ public class TransportationEnterprise extends BaseEntity
486 .append("qrCode", getQrCode()) 500 .append("qrCode", getQrCode())
487 .toString(); 501 .toString();
488 } 502 }
  503 +
  504 + public String getCorporation() {
  505 + return corporation;
  506 + }
  507 +
  508 + public void setCorporation(String corporation) {
  509 + this.corporation = corporation;
  510 + }
  511 +
  512 + public String getSafetyOfficer() {
  513 + return safetyOfficer;
  514 + }
  515 +
  516 + public void setSafetyOfficer(String safetyOfficer) {
  517 + this.safetyOfficer = safetyOfficer;
  518 + }
  519 +
  520 + public String getEntryTime() {
  521 + return entryTime;
  522 + }
  523 +
  524 + public void setEntryTime(String entryTime) {
  525 + this.entryTime = entryTime;
  526 + }
  527 +
  528 + public List<String> getLicensePlateNos() {
  529 + return licensePlateNos;
  530 + }
  531 +
  532 + public void setLicensePlateNos(List<String> licensePlateNos) {
  533 + this.licensePlateNos = licensePlateNos;
  534 + }
489 } 535 }