fix
This commit is contained in:
@@ -18,6 +18,8 @@ import java.util.Date;
|
||||
@Data
|
||||
public class BuildInformationResponse {
|
||||
|
||||
private String username;
|
||||
|
||||
private Long shopId;
|
||||
|
||||
@ApiModelProperty("门店名称")
|
||||
|
||||
@@ -17,6 +17,8 @@ import java.util.Objects;
|
||||
@Data
|
||||
public class SubmitLicenseResponse {
|
||||
|
||||
@ApiModelProperty("加盟商name")
|
||||
private String username;
|
||||
@ApiModelProperty("法人身份证信息是否和加盟商一致,false否,true是")
|
||||
private Boolean legalIsSamePartner;
|
||||
|
||||
@@ -222,7 +224,7 @@ public class SubmitLicenseResponse {
|
||||
|
||||
public static SubmitLicenseResponse from(LicenseTransactDO licenseTransactDO) {
|
||||
if (Objects.isNull(licenseTransactDO)) {
|
||||
return null;
|
||||
return new SubmitLicenseResponse();
|
||||
}
|
||||
SubmitLicenseResponse submitLicenseResponse = new SubmitLicenseResponse();
|
||||
submitLicenseResponse.setLegalIsSamePartner(licenseTransactDO.getLegalIsSamePartner());
|
||||
|
||||
Reference in New Issue
Block a user