This commit is contained in:
shuhongfan
2023-09-04 16:40:17 +08:00
commit cf5ac25c14
8267 changed files with 1305066 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
.idea
target/
*.iml

View File

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.sl-express</groupId>
<artifactId>sl-express-parent</artifactId>
<version>1.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.sl-express.ms.search</groupId>
<artifactId>sl-express-ms-search-domain</artifactId>
<version>1.1-SNAPSHOT</version>
<description>搜索微服务-实体</description>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,70 @@
package com.sl.ms.search.domain.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;
@Data
@ApiModel("快递员任务")
public class CourierTaskDTO {
@ApiModelProperty(value = "取派件任务id")
private Long id;
@ApiModelProperty(value = "订单id")
private Long orderId;
@ApiModelProperty(value = "运单id")
private String transportOrderId;
@ApiModelProperty(value = "电话")
private String phone;
@ApiModelProperty(value = "姓名")
private String name;
@ApiModelProperty(value = "任务类型1-取件2-派件")
private Integer taskType;
@ApiModelProperty(value = "任务状态1-新任务2-已完成3-已取消")
private Integer status;
@ApiModelProperty(value = "快递员id")
private Long courierId;
@ApiModelProperty(value = "机构id")
private Long agencyId;
@ApiModelProperty(value = "地址")
private String address;
@ApiModelProperty(value = "预计开始时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime estimatedStartTime;
@ApiModelProperty(value = "实际开始时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime actualStartTime;
@ApiModelProperty(value = "预计结束时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime estimatedEndTime;
@ApiModelProperty(value = "实际结束时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime actualEndTime;
@ApiModelProperty(value = "是否删除,0-否1-是")
private Integer isDeleted;
@ApiModelProperty(value = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime created;
@ApiModelProperty(value = "更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime updated;
}

View File

@@ -0,0 +1,30 @@
package com.sl.ms.search.domain.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
@Data
@ApiModel("快递员任务分页查询")
public class CourierTaskPageQueryDTO {
@ApiModelProperty(value = "页码", example = "1", required = true)
private Integer page = 1;
@ApiModelProperty(value = "页面大小", example = "10", required = true)
private Integer pgeSize = 10;
@ApiModelProperty(value = "关键词;可以是运单号、手机号、姓名、地址等字段", required = true)
@NotBlank
private String keyword;
@ApiModelProperty(value = "任务类型1-取件2-派件")
private Integer taskType;
@ApiModelProperty(value = "任务状态1-新任务2-已完成3-已取消")
private Integer status;
@ApiModelProperty(value = "快递员id", required = true)
private Long courierId;
}