Pārlūkot izejas kodu

iaw app 领取,审核

master
chenchaod pirms 3 nedēļām
vecāks
revīzija
f31477ec21

+ 2
- 1
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/ias/order/OrderAuditRequest.java Parādīt failu

@Getter @Getter
@Setter @Setter
@Accessors(chain = true) @Accessors(chain = true)
public class OrderAuditRequest extends AbstractSignTypeRequest<AbstractIssueResponse> {
public class OrderAuditRequest extends AbstractSignTypeRequest<OrderAuditResponse> {


public OrderAuditRequest() { public OrderAuditRequest() {
super(OrderServiceCmd.ORDERAUDIT); super(OrderServiceCmd.ORDERAUDIT);
private Boolean auditStatus; private Boolean auditStatus;
private String reason; private String reason;


@NotBlank
private String staffId; private String staffId;
public void relatedValid(ErrorMsgBuilder builder) { public void relatedValid(ErrorMsgBuilder builder) {
if (auditStatus!=null && !auditStatus) { if (auditStatus!=null && !auditStatus) {

+ 25
- 0
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/ias/order/OrderAuditResponse.java Parādīt failu

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
}

+ 27
- 0
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/ias/order/OrderReceiveRequest.java Parādīt failu

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;//员工编号
}

+ 24
- 0
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/ias/order/OrderReceiveResponse.java Parādīt failu

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

}

+ 1
- 0
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/ias/order/OrderServiceCmd.java Parādīt failu

CHANGEGOODS("换货申请", ChangeGoodsRequest.class), CHANGEGOODS("换货申请", ChangeGoodsRequest.class),
RETURNGOODS("退货申请", ReturnGoodsRequest.class), RETURNGOODS("退货申请", ReturnGoodsRequest.class),
RETURNEXAMINE("退货审核", ReturnExamineRequest.class), RETURNEXAMINE("退货审核", ReturnExamineRequest.class),
ORDERRECEIVE("订单领取", OrderReceiveRequest.class),
ORDERAUDIT("订单审核", OrderAuditRequest.class),// ORDERAUDIT("订单审核", OrderAuditRequest.class),//
PUSHAGREEMENT("协议提交接口", PushAgreementRequest.class), PUSHAGREEMENT("协议提交接口", PushAgreementRequest.class),
; ;

Notiek ielāde…
Atcelt
Saglabāt