fix
This commit is contained in:
@@ -42,6 +42,14 @@ public class PlatformBuildAuditRequest {
|
||||
@Length(max = 250, message = "平台密码 长度不能超过250")
|
||||
@ApiModelProperty("平台密码)")
|
||||
private String password;
|
||||
@ApiModelProperty( "poi")
|
||||
@Length(max = 250, message = "poi 长度不能超过250")
|
||||
private String poi;
|
||||
|
||||
@ApiModelProperty( "门店ID")
|
||||
@Length(max = 250, message = "门店ID 长度不能超过250")
|
||||
private String storeId;
|
||||
|
||||
|
||||
public static ShopAuditInfoDO convert(PlatformBuildAuditRequest request, AuditTypeEnum auditType) {
|
||||
ShopAuditInfoDO result = new ShopAuditInfoDO();
|
||||
|
||||
@@ -72,14 +72,6 @@ public class PlatformBuildRequest {
|
||||
@Length(max = 250, message = "快手平台账号 长度不能超过250")
|
||||
private String ksAccount;
|
||||
|
||||
@ApiModelProperty( "poi")
|
||||
@Length(max = 250, message = "poi 长度不能超过250")
|
||||
private String poi;
|
||||
|
||||
@ApiModelProperty( "门店ID")
|
||||
@Length(max = 250, message = "门店ID 长度不能超过250")
|
||||
private String storeId;
|
||||
|
||||
|
||||
public PlatformBuildDO toDO() {
|
||||
PlatformBuildDO platformBuildDO = new PlatformBuildDO();
|
||||
@@ -94,8 +86,6 @@ public class PlatformBuildRequest {
|
||||
platformBuildDO.setSettlerBankName(this.settlerBankName);
|
||||
platformBuildDO.setStorePositioningUrl(this.storePositioningUrl);
|
||||
platformBuildDO.setAuthorizationUrl(this.authorizationUrl);
|
||||
platformBuildDO.setPoi(this.poi);
|
||||
platformBuildDO.setStoreId(this.storeId);
|
||||
return platformBuildDO;
|
||||
|
||||
}
|
||||
|
||||
@@ -426,6 +426,8 @@ private Integer doThing(PlatformBuildDO platformBuildDO, PlatformBuildAuditReque
|
||||
platformBuildDO.setPassword(request.getPassword());
|
||||
platformBuildDO.setUpdateTime(new Date());
|
||||
platformBuildDO.setUpdateUser(request.getOperateUserId());
|
||||
platformBuildDO.setPoi(request.getPoi());
|
||||
platformBuildDO.setStoreId(request.getStoreId());
|
||||
return platformBuildDAO.updateByShopIdAndTypeSelective(platformBuildDO);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user