@@ -12,7 +12,7 @@ import javax.validation.constraints.NotNull; | |||
@Getter | |||
@Setter | |||
@Accessors(chain = true) | |||
public class OrderAuditRequest extends AbstractSignTypeRequest<AbstractIssueResponse> { | |||
public class OrderAuditRequest extends AbstractSignTypeRequest<OrderAuditResponse> { | |||
public OrderAuditRequest() { | |||
super(OrderServiceCmd.ORDERAUDIT); | |||
@@ -24,6 +24,7 @@ public class OrderAuditRequest extends AbstractSignTypeRequest<AbstractIssueResp | |||
private Boolean auditStatus; | |||
private String reason; | |||
@NotBlank | |||
private String staffId; | |||
public void relatedValid(ErrorMsgBuilder builder) { | |||
if (auditStatus!=null && !auditStatus) { |
@@ -0,0 +1,25 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ias.order; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import java.time.LocalDateTime; | |||
import java.time.format.DateTimeFormatter; | |||
/** | |||
* @Author:ChenChao | |||
* @Date:2025/8/4 14:19 | |||
* @Filename:OrderAuditResponse | |||
* @description: | |||
*/ | |||
@Getter | |||
@Setter | |||
public class OrderAuditResponse extends AbstractSignTypeResponse { | |||
// private String staffOpenId;//员工OpenId,记录操作日志用 | |||
private String info = "成功."; | |||
private String receiveTime = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss")); // 接受时间 | |||
private String id;//订单主键id | |||
} |
@@ -0,0 +1,27 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ias.order; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import javax.validation.constraints.NotBlank; | |||
/** | |||
* @Author:ChenChao | |||
* @Date:2025/8/4 14:26 | |||
* @Filename:OrderReceiveRequest | |||
* @description: | |||
*/ | |||
@Getter | |||
@Setter | |||
public class OrderReceiveRequest extends AbstractSignTypeRequest<OrderReceiveResponse> { | |||
public OrderReceiveRequest() { | |||
super(OrderServiceCmd.ORDERRECEIVE); | |||
} | |||
@NotBlank | |||
private String orderNo;//订单编号 | |||
@NotBlank | |||
private String staffId;//员工编号 | |||
} |
@@ -0,0 +1,24 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ias.order; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import java.time.LocalDateTime; | |||
import java.time.format.DateTimeFormatter; | |||
/** | |||
* @Author:ChenChao | |||
* @Date:2025/8/4 14:27 | |||
* @Filename:OrderReceiveResponse | |||
* @description: | |||
*/ | |||
@Getter | |||
@Setter | |||
public class OrderReceiveResponse extends AbstractSignTypeResponse { | |||
// private String staffOpenId;//员工OpenId,记录操作日志用 | |||
private String info = "成功."; | |||
private String receiveTime = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss")); // 接受时间 | |||
private String id;//订单id | |||
} |
@@ -23,6 +23,7 @@ public enum OrderServiceCmd implements SignServiceCommand { | |||
CHANGEGOODS("换货申请", ChangeGoodsRequest.class), | |||
RETURNGOODS("退货申请", ReturnGoodsRequest.class), | |||
RETURNEXAMINE("退货审核", ReturnExamineRequest.class), | |||
ORDERRECEIVE("订单领取", OrderReceiveRequest.class), | |||
ORDERAUDIT("订单审核", OrderAuditRequest.class),// | |||
PUSHAGREEMENT("协议提交接口", PushAgreementRequest.class), | |||
; |