客商协同账号
This commit is contained in:
@@ -13,5 +13,8 @@ public interface ErrorCodeConstants {
|
|||||||
|
|
||||||
// ========== 示例模块 1-001-000-000 ==========
|
// ========== 示例模块 1-001-000-000 ==========
|
||||||
ErrorCode EXAMPLE_NOT_EXISTS = new ErrorCode(1_001_000_001, "示例不存在");
|
ErrorCode EXAMPLE_NOT_EXISTS = new ErrorCode(1_001_000_001, "示例不存在");
|
||||||
|
ErrorCode CUSTOMER_NOT_EXISTS = new ErrorCode(1_001_000_101, "客商协同账号不存在");
|
||||||
|
|
||||||
|
ErrorCode CARRIER_ACCOUNT_NOT_EXISTS = new ErrorCode(1_001_000_102, "物流服务商协同账号不存在");
|
||||||
|
ErrorCode DRIVING_ACCOUNT_NOT_EXISTS = new ErrorCode(1_001_000_103, "司机协同账号不存在");
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,76 @@
|
|||||||
|
package cn.iocoder.yudao.module.backendlogistics.controller.admin.backendlogistics.bseMngt.acct.vo;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||||
|
|
||||||
|
@Schema(description = "管理后台 - 物流服务商协同账号分页 Request VO")
|
||||||
|
@Data
|
||||||
|
public class CarrierAccountPageReqVO extends PageParam {
|
||||||
|
|
||||||
|
@Schema(description = "备注")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
|
private LocalDateTime[] createTime;
|
||||||
|
|
||||||
|
@Schema(description = "状态", example = "2")
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
@Schema(description = "是否启用")
|
||||||
|
private String isEnable;
|
||||||
|
|
||||||
|
@Schema(description = "登录账号", example = "27315")
|
||||||
|
private String loginAccount;
|
||||||
|
|
||||||
|
@Schema(description = "登录手机号")
|
||||||
|
private String loginTel;
|
||||||
|
|
||||||
|
@Schema(description = "公司名称", example = "李四")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Schema(description = "社会统一信用代码")
|
||||||
|
private String creditCode;
|
||||||
|
|
||||||
|
@Schema(description = "法人姓名", example = "王五")
|
||||||
|
private String agentName;
|
||||||
|
|
||||||
|
@Schema(description = "法人身份证")
|
||||||
|
private String identityNumber;
|
||||||
|
|
||||||
|
@Schema(description = "经营范围")
|
||||||
|
private String operateScope;
|
||||||
|
|
||||||
|
@Schema(description = "地址")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
@Schema(description = "成立日期")
|
||||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
|
private LocalDateTime[] establishDate;
|
||||||
|
|
||||||
|
@Schema(description = "注册资本")
|
||||||
|
private BigDecimal registrationAmount;
|
||||||
|
|
||||||
|
@Schema(description = "营业期限开始")
|
||||||
|
private LocalDateTime businessCycleStart;
|
||||||
|
|
||||||
|
@Schema(description = "营业期限结束")
|
||||||
|
private LocalDateTime businessCycleEnd;
|
||||||
|
|
||||||
|
@Schema(description = "是否长期")
|
||||||
|
private Integer isPermanently;
|
||||||
|
|
||||||
|
@Schema(description = "开户行", example = "15940")
|
||||||
|
private String bankAccount;
|
||||||
|
|
||||||
|
@Schema(description = "登记机关")
|
||||||
|
private String registrationAgency;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,96 @@
|
|||||||
|
package cn.iocoder.yudao.module.backendlogistics.controller.admin.backendlogistics.bseMngt.acct.vo;
|
||||||
|
|
||||||
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||||
|
import com.alibaba.excel.annotation.ExcelProperty;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
@Schema(description = "管理后台 - 物流服务商协同账号 Response VO")
|
||||||
|
@Data
|
||||||
|
@ExcelIgnoreUnannotated
|
||||||
|
public class CarrierAccountRespVO {
|
||||||
|
|
||||||
|
@Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9531")
|
||||||
|
@ExcelProperty("主键ID")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
@Schema(description = "备注")
|
||||||
|
@ExcelProperty("备注")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
@ExcelProperty("创建时间")
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
|
||||||
|
@Schema(description = "状态", example = "2")
|
||||||
|
@ExcelProperty("状态")
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
@Schema(description = "是否启用")
|
||||||
|
@ExcelProperty("是否启用")
|
||||||
|
private String isEnable;
|
||||||
|
|
||||||
|
@Schema(description = "登录账号", example = "27315")
|
||||||
|
@ExcelProperty("登录账号")
|
||||||
|
private String loginAccount;
|
||||||
|
|
||||||
|
@Schema(description = "登录手机号", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
@ExcelProperty("登录手机号")
|
||||||
|
private String loginTel;
|
||||||
|
|
||||||
|
@Schema(description = "公司名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
|
||||||
|
@ExcelProperty("公司名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Schema(description = "社会统一信用代码")
|
||||||
|
@ExcelProperty("社会统一信用代码")
|
||||||
|
private String creditCode;
|
||||||
|
|
||||||
|
@Schema(description = "法人姓名", example = "王五")
|
||||||
|
@ExcelProperty("法人姓名")
|
||||||
|
private String agentName;
|
||||||
|
|
||||||
|
@Schema(description = "法人身份证")
|
||||||
|
@ExcelProperty("法人身份证")
|
||||||
|
private String identityNumber;
|
||||||
|
|
||||||
|
@Schema(description = "经营范围")
|
||||||
|
@ExcelProperty("经营范围")
|
||||||
|
private String operateScope;
|
||||||
|
|
||||||
|
@Schema(description = "地址")
|
||||||
|
@ExcelProperty("地址")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
@Schema(description = "成立日期")
|
||||||
|
@ExcelProperty("成立日期")
|
||||||
|
private LocalDateTime establishDate;
|
||||||
|
|
||||||
|
@Schema(description = "注册资本")
|
||||||
|
@ExcelProperty("注册资本")
|
||||||
|
private BigDecimal registrationAmount;
|
||||||
|
|
||||||
|
@Schema(description = "营业期限开始")
|
||||||
|
@ExcelProperty("营业期限开始")
|
||||||
|
private LocalDateTime businessCycleStart;
|
||||||
|
|
||||||
|
@Schema(description = "营业期限结束")
|
||||||
|
@ExcelProperty("营业期限结束")
|
||||||
|
private LocalDateTime businessCycleEnd;
|
||||||
|
|
||||||
|
@Schema(description = "是否长期")
|
||||||
|
@ExcelProperty("是否长期")
|
||||||
|
private Integer isPermanently;
|
||||||
|
|
||||||
|
@Schema(description = "开户行", example = "15940")
|
||||||
|
@ExcelProperty("开户行")
|
||||||
|
private String bankAccount;
|
||||||
|
|
||||||
|
@Schema(description = "登记机关")
|
||||||
|
@ExcelProperty("登记机关")
|
||||||
|
private String registrationAgency;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
package cn.iocoder.yudao.module.backendlogistics.controller.admin.backendlogistics.bseMngt.acct.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import jakarta.validation.constraints.NotEmpty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
@Schema(description = "管理后台 - 物流服务商协同账号新增/修改 Request VO")
|
||||||
|
@Data
|
||||||
|
public class CarrierAccountSaveReqVO {
|
||||||
|
|
||||||
|
@Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9531")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
@Schema(description = "备注")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
@Schema(description = "状态", example = "2")
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
@Schema(description = "是否启用")
|
||||||
|
private String isEnable;
|
||||||
|
|
||||||
|
@Schema(description = "登录账号", example = "27315")
|
||||||
|
private String loginAccount;
|
||||||
|
|
||||||
|
@Schema(description = "登录手机号", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
@NotEmpty(message = "登录手机号不能为空")
|
||||||
|
private String loginTel;
|
||||||
|
|
||||||
|
@Schema(description = "公司名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
|
||||||
|
@NotEmpty(message = "公司名称不能为空")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Schema(description = "社会统一信用代码")
|
||||||
|
private String creditCode;
|
||||||
|
|
||||||
|
@Schema(description = "法人姓名", example = "王五")
|
||||||
|
private String agentName;
|
||||||
|
|
||||||
|
@Schema(description = "法人身份证")
|
||||||
|
private String identityNumber;
|
||||||
|
|
||||||
|
@Schema(description = "经营范围")
|
||||||
|
private String operateScope;
|
||||||
|
|
||||||
|
@Schema(description = "地址")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
@Schema(description = "成立日期")
|
||||||
|
private LocalDateTime establishDate;
|
||||||
|
|
||||||
|
@Schema(description = "注册资本")
|
||||||
|
private BigDecimal registrationAmount;
|
||||||
|
|
||||||
|
@Schema(description = "营业期限开始")
|
||||||
|
private LocalDateTime businessCycleStart;
|
||||||
|
|
||||||
|
@Schema(description = "营业期限结束")
|
||||||
|
private LocalDateTime businessCycleEnd;
|
||||||
|
|
||||||
|
@Schema(description = "是否长期")
|
||||||
|
private Integer isPermanently;
|
||||||
|
|
||||||
|
@Schema(description = "开户行", example = "15940")
|
||||||
|
private String bankAccount;
|
||||||
|
|
||||||
|
@Schema(description = "登记机关")
|
||||||
|
private String registrationAgency;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
package cn.iocoder.yudao.module.backendlogistics.controller.admin.backendlogistics.bseMngt.acct.vo;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
import java.util.*;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||||
|
|
||||||
|
@Schema(description = "管理后台 - 客商协同账号分页 Request VO")
|
||||||
|
@Data
|
||||||
|
public class CustomerPageReqVO extends PageParam {
|
||||||
|
|
||||||
|
@Schema(description = "备注")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
|
private LocalDateTime[] createTime;
|
||||||
|
|
||||||
|
@Schema(description = "登录账号", example = "6036")
|
||||||
|
private String loginAccount;
|
||||||
|
|
||||||
|
@Schema(description = "登录手机号")
|
||||||
|
private String loginTel;
|
||||||
|
|
||||||
|
@Schema(description = "公司名称", example = "赵六")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Schema(description = "社会统一信用代码")
|
||||||
|
private String creditCode;
|
||||||
|
|
||||||
|
@Schema(description = "法人姓名", example = "王五")
|
||||||
|
private String agentName;
|
||||||
|
|
||||||
|
@Schema(description = "法人身份证")
|
||||||
|
private String identityNumber;
|
||||||
|
|
||||||
|
@Schema(description = "联系人")
|
||||||
|
private String contact;
|
||||||
|
|
||||||
|
@Schema(description = "联系人电话")
|
||||||
|
private String contactTel;
|
||||||
|
|
||||||
|
@Schema(description = "SPA编码")
|
||||||
|
private String sapCode;
|
||||||
|
|
||||||
|
@Schema(description = "MDM编码")
|
||||||
|
private String mDMCode;
|
||||||
|
|
||||||
|
@Schema(description = "是否有附件")
|
||||||
|
private String isFile;
|
||||||
|
|
||||||
|
@Schema(description = "状态", example = "2")
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
@Schema(description = "是否启用")
|
||||||
|
private String isEnable;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,79 @@
|
|||||||
|
package cn.iocoder.yudao.module.backendlogistics.controller.admin.backendlogistics.bseMngt.acct.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.*;
|
||||||
|
import java.util.*;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import com.alibaba.excel.annotation.*;
|
||||||
|
|
||||||
|
@Schema(description = "管理后台 - 客商协同账号 Response VO")
|
||||||
|
@Data
|
||||||
|
@ExcelIgnoreUnannotated
|
||||||
|
public class CustomerRespVO {
|
||||||
|
|
||||||
|
@Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8593")
|
||||||
|
@ExcelProperty("主键ID")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
@Schema(description = "备注")
|
||||||
|
@ExcelProperty("备注")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
@ExcelProperty("创建时间")
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
|
||||||
|
@Schema(description = "登录账号", example = "6036")
|
||||||
|
@ExcelProperty("登录账号")
|
||||||
|
private String loginAccount;
|
||||||
|
|
||||||
|
@Schema(description = "登录手机号", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
@ExcelProperty("登录手机号")
|
||||||
|
private String loginTel;
|
||||||
|
|
||||||
|
@Schema(description = "公司名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
|
||||||
|
@ExcelProperty("公司名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Schema(description = "社会统一信用代码")
|
||||||
|
@ExcelProperty("社会统一信用代码")
|
||||||
|
private String creditCode;
|
||||||
|
|
||||||
|
@Schema(description = "法人姓名", example = "王五")
|
||||||
|
@ExcelProperty("法人姓名")
|
||||||
|
private String agentName;
|
||||||
|
|
||||||
|
@Schema(description = "法人身份证")
|
||||||
|
@ExcelProperty("法人身份证")
|
||||||
|
private String identityNumber;
|
||||||
|
|
||||||
|
@Schema(description = "联系人")
|
||||||
|
@ExcelProperty("联系人")
|
||||||
|
private String contact;
|
||||||
|
|
||||||
|
@Schema(description = "联系人电话")
|
||||||
|
@ExcelProperty("联系人电话")
|
||||||
|
private String contactTel;
|
||||||
|
|
||||||
|
@Schema(description = "SPA编码")
|
||||||
|
@ExcelProperty("SPA编码")
|
||||||
|
private String sapCode;
|
||||||
|
|
||||||
|
@Schema(description = "MDM编码")
|
||||||
|
@ExcelProperty("MDM编码")
|
||||||
|
private String mDMCode;
|
||||||
|
|
||||||
|
@Schema(description = "是否有附件")
|
||||||
|
@ExcelProperty("是否有附件")
|
||||||
|
private String isFile;
|
||||||
|
|
||||||
|
@Schema(description = "状态", example = "2")
|
||||||
|
@ExcelProperty("状态")
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
@Schema(description = "是否启用")
|
||||||
|
@ExcelProperty("是否启用")
|
||||||
|
private String isEnable;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
package cn.iocoder.yudao.module.backendlogistics.controller.admin.backendlogistics.bseMngt.acct.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.*;
|
||||||
|
import java.util.*;
|
||||||
|
import jakarta.validation.constraints.*;
|
||||||
|
|
||||||
|
@Schema(description = "管理后台 - 客商协同账号新增/修改 Request VO")
|
||||||
|
@Data
|
||||||
|
public class CustomerSaveReqVO {
|
||||||
|
|
||||||
|
@Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8593")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
@Schema(description = "备注")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
@Schema(description = "登录账号", example = "6036")
|
||||||
|
private String loginAccount;
|
||||||
|
|
||||||
|
@Schema(description = "登录手机号", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
@NotEmpty(message = "登录手机号不能为空")
|
||||||
|
private String loginTel;
|
||||||
|
|
||||||
|
@Schema(description = "公司名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
|
||||||
|
@NotEmpty(message = "公司名称不能为空")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Schema(description = "社会统一信用代码")
|
||||||
|
private String creditCode;
|
||||||
|
|
||||||
|
@Schema(description = "法人姓名", example = "王五")
|
||||||
|
private String agentName;
|
||||||
|
|
||||||
|
@Schema(description = "法人身份证")
|
||||||
|
private String identityNumber;
|
||||||
|
|
||||||
|
@Schema(description = "联系人")
|
||||||
|
private String contact;
|
||||||
|
|
||||||
|
@Schema(description = "联系人电话")
|
||||||
|
private String contactTel;
|
||||||
|
|
||||||
|
@Schema(description = "SPA编码")
|
||||||
|
private String sapCode;
|
||||||
|
|
||||||
|
@Schema(description = "MDM编码")
|
||||||
|
private String mDMCode;
|
||||||
|
|
||||||
|
@Schema(description = "是否有附件")
|
||||||
|
private String isFile;
|
||||||
|
|
||||||
|
@Schema(description = "状态", example = "2")
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
@Schema(description = "是否启用")
|
||||||
|
private String isEnable;
|
||||||
|
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user