Commit d9ecd7ca by zhu.zewen

新增交接班相关接口

parent 14f65804
package com.jmai.physic.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* 交接单取消配置
*/
@Data
@Component
@ConfigurationProperties(prefix = "handover.cancel")
public class HandoverCancelProperties {
/**
* 是否允许交班人取消(默认false)
*/
private Boolean allowTransferor = false;
/**
* 是否允许接班人取消(默认false)
*/
private Boolean allowReceiver = false;
/**
* 允许取消的天数限制(默认3天,从0时开始,含当天)
*/
private Integer dayLimit = 3;
/**
* 是否允许取消已完成的交接班(默认false)
*/
private Boolean allowCancelCompleted = false;
}
package com.jmai.physic.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(description = "药品专账-取消交接单请求")
public class PhysicBillHandoverCancelReq {
@ApiModelProperty(value = "交接单ID", required = true)
private Long handoverId;
@ApiModelProperty(value = "取消原因")
private String reason;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment