Commit ec9ab275 by 林冲

feat:修改创建离职交接

1 parent dd38e478
......@@ -38,7 +38,4 @@ public class HandoverAssetItemDTO implements Serializable {
@Schema(description = "是否已签署代保管协议")
private Boolean signCustodyStatus;
@Schema(description = "是否需要实物交接(前端据此判断是否上传凭证)")
private Boolean needsPhysicalHandover;
}
......@@ -284,4 +284,18 @@ public class DeliveryOrder implements Serializable {
@TableLogic(value = "N", delval = "D")
private String deletedFlag;
/**
* 最近一次交接批次号
*/
@Schema(description = "最近一次交接批次号")
@TableField(value = "last_handover_batch_no")
private String lastHandoverBatchNo;
/**
* 被交接次数
*/
@Schema(description = "被交接次数")
@TableField(value = "handover_count")
private Integer handoverCount;
}
......@@ -344,4 +344,18 @@ public class EvalOrder implements Serializable {
@Schema(description = "删除标识:N未删除,D已删除")
private String deletedFlag;
/**
* 最近一次交接批次号
*/
@TableField(value = "last_handover_batch_no")
@Schema(description = "最近一次交接批次号")
private String lastHandoverBatchNo;
/**
* 被交接次数
*/
@TableField(value = "handover_count")
@Schema(description = "被交接次数")
private Integer handoverCount;
}
......@@ -4,6 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.io.Serializable;
......@@ -38,7 +39,7 @@ public class CreateStaffHandoverReq implements Serializable {
/**
* 原责任人商户ID
*/
@NotBlank(message = "原责任人姓名不能为空")
@NotNull(message = "原责任人姓名不能为空")
@Schema(description = "原责任人商户ID")
private Integer originalMerchantId;
......@@ -66,7 +67,7 @@ public class CreateStaffHandoverReq implements Serializable {
/**
* 新接收人商户ID
*/
@NotBlank(message = "原责任人姓名不能为空")
@NotNull(message = "原责任人姓名不能为空")
@Schema(description = "新接收人商户ID")
private Integer newMerchantId;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!