Revert "backend-api update meta поправил поле в ChangeRefundDateActionNew.java в соответствии с метой"
This reverts commit e053ff652d.
This commit is contained in:
parent
3c22c99e51
commit
f5831500c8
2 changed files with 0 additions and 26 deletions
|
|
@ -5,7 +5,6 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
|||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import ru.spcex.clearing.backendapi.domain.actions.IAction;
|
||||
import ru.spcex.clearing.backendapi.errors.BackEndError;
|
||||
import ru.spcex.clearing.platform.messaging.domain.ActionType;
|
||||
|
|
@ -23,8 +22,6 @@ public class ChangeRefundDateActionNew implements IAction<RegistryChangeRefundDa
|
|||
|
||||
@JsonIgnore
|
||||
public Long groupId;
|
||||
@JsonIgnore
|
||||
public String contract;
|
||||
@JsonProperty
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
|
|
@ -34,7 +31,6 @@ public class ChangeRefundDateActionNew implements IAction<RegistryChangeRefundDa
|
|||
public RegistryChangeRefundDateRequest toRequest() {
|
||||
var req = new RegistryChangeRefundDateRequest();
|
||||
req.setGroupId(groupId);
|
||||
req.setContract(contract);
|
||||
req.setRefundDate(refundDate);
|
||||
return req;
|
||||
}
|
||||
|
|
@ -45,9 +41,6 @@ public class ChangeRefundDateActionNew implements IAction<RegistryChangeRefundDa
|
|||
if (groupId == null) {
|
||||
errors.add(new EnumMessage(BackEndError.ValidationError, "url parameter 'groupId'"));
|
||||
}
|
||||
if (StringUtils.isEmpty(contract)) {
|
||||
errors.add(new EnumMessage(BackEndError.ValidationError, "contract"));
|
||||
}
|
||||
if (refundDate == null) {
|
||||
errors.add(new EnumMessage(BackEndError.ValidationError, "refundDate"));
|
||||
}
|
||||
|
|
@ -68,14 +61,6 @@ public class ChangeRefundDateActionNew implements IAction<RegistryChangeRefundDa
|
|||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public String getContract() {
|
||||
return contract;
|
||||
}
|
||||
|
||||
public void setContract(String contract) {
|
||||
this.contract = contract;
|
||||
}
|
||||
|
||||
public LocalDate getRefundDate() {
|
||||
return refundDate;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package ru.spcex.clearing.platform.messaging.domain.cud.registry;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
|
|
@ -12,8 +11,6 @@ import java.time.LocalDate;
|
|||
public class RegistryChangeRefundDateRequest {
|
||||
@JsonProperty
|
||||
private Long groupId;
|
||||
@JsonIgnore
|
||||
public String contract;
|
||||
@JsonProperty
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
|
|
@ -27,14 +24,6 @@ public class RegistryChangeRefundDateRequest {
|
|||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public String getContract() {
|
||||
return contract;
|
||||
}
|
||||
|
||||
public void setContract(String contract) {
|
||||
this.contract = contract;
|
||||
}
|
||||
|
||||
public LocalDate getRefundDate() {
|
||||
return refundDate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue