This commit is contained in:
shuo.wang
2024-10-30 14:46:15 +08:00
parent 7e95ee0b5c
commit 5425f73338
3 changed files with 10 additions and 10 deletions

View File

@@ -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();

View File

@@ -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;
}

View File

@@ -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);
}
}