Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gsc
/
gsc-vcp-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dd38e478
authored
Dec 16, 2025
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:离职交接代码生成
1 parent
95f95a24
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
821 additions
and
0 deletions
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/CreateStaffHandoverResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/HandoverAssetItemDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/HandoverDetailItemDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/QueryHandoverAssetsResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/StaffHandoverDetailResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/StaffHandoverPageResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/StaffUserOptionResDTO.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/evalorder/EvalCarBase.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/handover/VcpStaffHandover.java
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/handover/VcpStaffHandoverDetail.java
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/web/staffhandover/StaffHandoverRemote.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/CreateStaffHandoverReq.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/HandoverAssetReq.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/QueryHandoverAssetsReq.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/StaffHandoverDetailReq.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/StaffHandoverPageReq.java
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/StaffUserQueryReq.java
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/CreateStaffHandoverResDTO.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
/**
* 创建离职交接响应
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"创建离职交接响应"
)
public
class
CreateStaffHandoverResDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Schema
(
description
=
"交接批次号"
)
private
String
handoverBatchNo
;
@Schema
(
description
=
"成功交接数量"
)
private
Integer
successCount
;
@Schema
(
description
=
"失败数量"
)
private
Integer
failedCount
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/HandoverAssetItemDTO.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
/**
* 待交接资产项
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"待交接资产项"
)
public
class
HandoverAssetItemDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Schema
(
description
=
"评估单编号"
)
private
String
evalOrderNo
;
@Schema
(
description
=
"车牌号"
)
private
String
licensePlate
;
@Schema
(
description
=
"车型(品牌+车系+车型)"
)
private
String
carModel
;
@Schema
(
description
=
"评估单状态码"
)
private
Integer
status
;
@Schema
(
description
=
"评估单状态描述"
)
private
String
statusDesc
;
@Schema
(
description
=
"是否已签署代保管协议"
)
private
Boolean
signCustodyStatus
;
@Schema
(
description
=
"是否需要实物交接(前端据此判断是否上传凭证)"
)
private
Boolean
needsPhysicalHandover
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/HandoverDetailItemDTO.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
/**
* 交接明细项
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"交接明细项"
)
public
class
HandoverDetailItemDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Schema
(
description
=
"评估单编号"
)
private
String
evalOrderNo
;
@Schema
(
description
=
"车型(品牌+车系+车型)"
)
private
String
carModel
;
@Schema
(
description
=
"车牌号"
)
private
String
licensePlate
;
@Schema
(
description
=
"交接时车辆状态码"
)
private
Integer
carStatusAtHandover
;
@Schema
(
description
=
"交接时车辆状态名称"
)
private
String
carStatusAtHandoverName
;
@Schema
(
description
=
"交接凭证URL列表"
)
private
java
.
util
.
List
<
String
>
proofUrls
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/QueryHandoverAssetsResDTO.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.List
;
/**
* 查询待交接资产响应
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"查询待交接资产响应"
)
public
class
QueryHandoverAssetsResDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Schema
(
description
=
"待交接评估单列表"
)
private
List
<
HandoverAssetItemDTO
>
evalOrders
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/StaffHandoverDetailResDTO.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.List
;
/**
* 离职交接详情响应
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"离职交接详情响应"
)
public
class
StaffHandoverDetailResDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Schema
(
description
=
"交接记录主键"
)
private
Long
id
;
@Schema
(
description
=
"交接批次号"
)
private
String
handoverBatchNo
;
@Schema
(
description
=
"交接时间,格式:yyyy-MM-dd HH:mm:ss"
)
private
String
handoverTime
;
@Schema
(
description
=
"交接类型:1-普通交接 2-实物交接"
)
private
Integer
handoverType
;
@Schema
(
description
=
"创建人"
)
private
String
createdBy
;
@Schema
(
description
=
"原责任人姓名(含职位、离职状态)"
)
private
String
originalUserName
;
@Schema
(
description
=
"新接收人姓名(含职位)"
)
private
String
newUserName
;
@Schema
(
description
=
"交接资产数量"
)
private
Integer
assetCount
;
@Schema
(
description
=
"交接明细列表"
)
private
List
<
HandoverDetailItemDTO
>
details
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/StaffHandoverPageResDTO.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
/**
* 离职交接分页列表响应
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"离职交接分页列表响应"
)
public
class
StaffHandoverPageResDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Schema
(
description
=
"交接记录主键"
)
private
Long
id
;
@Schema
(
description
=
"交接批次号"
)
private
String
handoverBatchNo
;
@Schema
(
description
=
"交接时间,格式:yyyy-MM-dd HH:mm:ss"
)
private
String
handoverTime
;
@Schema
(
description
=
"交接类型:1-普通交接 2-实物交接"
)
private
Integer
handoverType
;
@Schema
(
description
=
"交接类型描述"
)
private
String
handoverTypeDesc
;
@Schema
(
description
=
"原责任人姓名(含工号)"
)
private
String
originalUserName
;
@Schema
(
description
=
"新接收人姓名(含工号)"
)
private
String
newUserName
;
@Schema
(
description
=
"交接资产数量"
)
private
Integer
assetCount
;
@Schema
(
description
=
"操作人"
)
private
String
operator
;
@Schema
(
description
=
"创建时间,格式:yyyy-MM-dd HH:mm:ss"
)
private
String
createdDate
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/dto/web/resdto/staffhandover/StaffUserOptionResDTO.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
dto
.
web
.
resdto
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
/**
* 用户选项响应(用于下拉列表)
*
* @author system
* @date 2025-12-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"用户选项响应"
)
public
class
StaffUserOptionResDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Schema
(
description
=
"用户ID"
)
private
String
userId
;
@Schema
(
description
=
"用户姓名"
)
private
String
userName
;
@Schema
(
description
=
"商户名称"
)
private
String
merchantName
;
@Schema
(
description
=
"商户号"
)
private
String
merchantNo
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/evalorder/EvalCarBase.java
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
entity
.
evalorder
;
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
entity
.
evalorder
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.media.Schema
;
...
@@ -356,4 +357,29 @@ public class EvalCarBase implements Serializable {
...
@@ -356,4 +357,29 @@ public class EvalCarBase implements Serializable {
@Schema
(
description
=
"删除标识:N未删除,D已删除"
)
@Schema
(
description
=
"删除标识:N未删除,D已删除"
)
private
String
deletedFlag
;
private
String
deletedFlag
;
/**
* 通常是1,3,4级拼接组成车型
* @return 车型名称
*/
public
String
normalModelName
()
{
StringBuilder
result
=
new
StringBuilder
();
if
(
StrUtil
.
isNotEmpty
(
this
.
carBrand
))
{
result
.
append
(
this
.
carBrand
);
}
if
(
StrUtil
.
isNotEmpty
(
this
.
carSeriesName
))
{
if
(
result
.
length
()
>
0
)
{
result
.
append
(
" "
);
}
result
.
append
(
this
.
carSeriesName
);
}
if
(
StrUtil
.
isNotEmpty
(
this
.
carTypeName
))
{
if
(
result
.
length
()
>
0
)
{
result
.
append
(
" "
);
}
result
.
append
(
this
.
carTypeName
);
}
return
result
.
toString
();
}
}
}
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/handover/VcpStaffHandover.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
entity
.
handover
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 离职交接记录表
*
* @author system
* @date 2025-12-16
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName
(
"vcp_staff_handover"
)
@Schema
(
description
=
"离职交接记录表"
)
public
class
VcpStaffHandover
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
@Schema
(
description
=
"主键ID"
)
private
Long
id
;
@TableField
(
value
=
"handover_batch_no"
)
@Schema
(
description
=
"交接批次号,格式: HO-YYYYMMDD-NNN"
)
private
String
handoverBatchNo
;
@TableField
(
value
=
"handover_time"
)
@Schema
(
description
=
"交接时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
handoverTime
;
@TableField
(
value
=
"handover_type"
)
@Schema
(
description
=
"交接类型:1-普通交接 2-实物交接(含车辆实物)"
)
private
Integer
handoverType
;
@TableField
(
value
=
"asset_count"
)
@Schema
(
description
=
"交接资产数"
)
private
Integer
assetCount
;
@TableField
(
value
=
"original_user_id"
)
@Schema
(
description
=
"原责任人ID(离职人员)"
)
private
String
originalUserId
;
@TableField
(
value
=
"original_user_name"
)
@Schema
(
description
=
"原责任人姓名(离职)"
)
private
String
originalUserName
;
@TableField
(
value
=
"original_merchant_id"
)
@Schema
(
description
=
"原责任人商户ID"
)
private
Integer
originalMerchantId
;
@TableField
(
value
=
"original_merchant_name"
)
@Schema
(
description
=
"原责任人商户名称"
)
private
String
originalMerchantName
;
@TableField
(
value
=
"new_user_id"
)
@Schema
(
description
=
"新接收人ID(接手人员)"
)
private
String
newUserId
;
@TableField
(
value
=
"new_user_name"
)
@Schema
(
description
=
"新接收人姓名"
)
private
String
newUserName
;
@TableField
(
value
=
"new_merchant_id"
)
@Schema
(
description
=
"新接收人商户ID"
)
private
Integer
newMerchantId
;
@TableField
(
value
=
"new_merchant_name"
)
@Schema
(
description
=
"新接收人商户名称"
)
private
String
newMerchantName
;
@TableField
(
value
=
"remark"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
@TableField
(
value
=
"created_by"
)
@Schema
(
description
=
"创建人"
)
private
String
createdBy
;
@TableField
(
value
=
"created_date"
)
@Schema
(
description
=
"创建时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
createdDate
;
@TableField
(
value
=
"updated_by"
)
@Schema
(
description
=
"修改人"
)
private
String
updatedBy
;
@TableField
(
value
=
"updated_date"
)
@Schema
(
description
=
"修改时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
updatedDate
;
@TableField
(
value
=
"deleted_flag"
)
@Schema
(
description
=
"删除标识:N未删除,D已删除"
)
private
String
deletedFlag
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/entity/handover/VcpStaffHandoverDetail.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
entity
.
handover
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 离职交接明细表
*
* @author system
* @date 2025-12-16
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName
(
"vcp_staff_handover_detail"
)
@Schema
(
description
=
"离职交接明细表"
)
public
class
VcpStaffHandoverDetail
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
AUTO
)
@Schema
(
description
=
"主键ID"
)
private
Long
id
;
@TableField
(
value
=
"handover_batch_no"
)
@Schema
(
description
=
"交接批次号"
)
private
String
handoverBatchNo
;
@TableField
(
value
=
"eval_order_no"
)
@Schema
(
description
=
"评估单编号"
)
private
String
evalOrderNo
;
@TableField
(
value
=
"license_plate"
)
@Schema
(
description
=
"车牌号"
)
private
String
licensePlate
;
@TableField
(
value
=
"car_model"
)
@Schema
(
description
=
"车型(品牌+车系+车型)"
)
private
String
carModel
;
@TableField
(
value
=
"eval_status_at_handover"
)
@Schema
(
description
=
"交接时评估单状态"
)
private
Integer
evalStatusAtHandover
;
@TableField
(
value
=
"car_status_at_handover"
)
@Schema
(
description
=
"交接时车辆状态"
)
private
Integer
carStatusAtHandover
;
@TableField
(
value
=
"sign_custody_status"
)
@Schema
(
description
=
"代保管协议签署状态 1-未签署,2-已签署"
)
private
Integer
signCustodyStatus
;
@TableField
(
value
=
"proof_urls"
)
@Schema
(
description
=
"交接凭证URL列表,多个用逗号拼接"
)
private
String
proofUrls
;
@TableField
(
value
=
"created_by"
)
@Schema
(
description
=
"创建人"
)
private
String
createdBy
;
@TableField
(
value
=
"created_date"
)
@Schema
(
description
=
"创建时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
createdDate
;
@TableField
(
value
=
"updated_by"
)
@Schema
(
description
=
"修改人"
)
private
String
updatedBy
;
@TableField
(
value
=
"updated_date"
)
@Schema
(
description
=
"修改时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
updatedDate
;
@TableField
(
value
=
"deleted_flag"
)
@Schema
(
description
=
"删除标识:N未删除,D已删除"
)
private
String
deletedFlag
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/feign/web/staffhandover/StaffHandoverRemote.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
feign
.
web
.
staffhandover
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.gsc4cloud.gsc.common.core.constant.ServiceNameConstants
;
import
com.gsc4cloud.gsc.common.core.util.R
;
import
com.gsc4cloud.gsc.vpc.api.dto.web.resdto.staffhandover.*
;
import
com.gsc4cloud.gsc.vpc.api.req.PageRequest
;
import
com.gsc4cloud.gsc.vpc.api.req.web.staffhandover.*
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
java.util.List
;
/**
* 离职交接远程调用接口
*
* @author system
* @date 2025-12-16
*/
@FeignClient
(
contextId
=
"com.gsc4cloud.gsc.vpc.api.feign.web.staffhandover.StaffHandoverRemote"
,
value
=
ServiceNameConstants
.
GSC_VCP_BIZ
)
public
interface
StaffHandoverRemote
{
/**
* 离职交接分页列表查询
*/
@PostMapping
(
"/staffHandover/page"
)
R
<
Page
<
StaffHandoverPageResDTO
>>
page
(
@RequestBody
PageRequest
<
StaffHandoverPageReq
>
request
);
/**
* 离职交接详情查询
*/
@PostMapping
(
"/staffHandover/detail"
)
R
<
StaffHandoverDetailResDTO
>
detail
(
@RequestBody
StaffHandoverDetailReq
request
);
/**
* 查询待交接资产列表
*/
@PostMapping
(
"/staffHandover/queryAssets"
)
R
<
QueryHandoverAssetsResDTO
>
queryAssets
(
@RequestBody
QueryHandoverAssetsReq
request
);
/**
* 创建离职交接记录
*/
@PostMapping
(
"/staffHandover/create"
)
R
<
CreateStaffHandoverResDTO
>
create
(
@RequestBody
CreateStaffHandoverReq
request
);
/**
* 查询原责任人/新接收人下拉列表
*/
@PostMapping
(
"/staffHandover/userList"
)
R
<
List
<
StaffUserOptionResDTO
>>
userList
(
@RequestBody
StaffUserQueryReq
request
);
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/CreateStaffHandoverReq.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.Valid
;
import
jakarta.validation.constraints.NotBlank
;
import
jakarta.validation.constraints.NotEmpty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.List
;
/**
* 创建离职交接请求
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema
(
description
=
"创建离职交接请求"
)
public
class
CreateStaffHandoverReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 原责任人ID
*/
@NotBlank
(
message
=
"原责任人ID不能为空"
)
@Schema
(
description
=
"原责任人ID"
,
required
=
true
)
private
String
originalUserId
;
/**
* 原责任人姓名
*/
@NotBlank
(
message
=
"原责任人姓名不能为空"
)
@Schema
(
description
=
"原责任人姓名"
,
required
=
true
)
private
String
originalUserName
;
/**
* 原责任人商户ID
*/
@NotBlank
(
message
=
"原责任人姓名不能为空"
)
@Schema
(
description
=
"原责任人商户ID"
)
private
Integer
originalMerchantId
;
/**
* 原责任人商户名称
*/
@NotBlank
(
message
=
"原责任人姓名不能为空"
)
@Schema
(
description
=
"原责任人商户名称"
)
private
String
originalMerchantName
;
/**
* 新接收人ID
*/
@NotBlank
(
message
=
"新接收人ID不能为空"
)
@Schema
(
description
=
"新接收人ID"
,
required
=
true
)
private
String
newUserId
;
/**
* 新接收人姓名
*/
@NotBlank
(
message
=
"新接收人姓名不能为空"
)
@Schema
(
description
=
"新接收人姓名"
,
required
=
true
)
private
String
newUserName
;
/**
* 新接收人商户ID
*/
@NotBlank
(
message
=
"原责任人姓名不能为空"
)
@Schema
(
description
=
"新接收人商户ID"
)
private
Integer
newMerchantId
;
/**
* 新接收人商户名称
*/
@NotBlank
(
message
=
"原责任人姓名不能为空"
)
@Schema
(
description
=
"新接收人商户名称"
)
private
String
newMerchantName
;
/**
* 待交接资产列表
*/
@NotEmpty
(
message
=
"待交接资产列表不能为空"
)
@Valid
@Schema
(
description
=
"待交接资产列表"
,
required
=
true
)
private
List
<
HandoverAssetReq
>
assets
;
/**
* 备注
*/
@Schema
(
description
=
"备注"
)
private
String
remark
;
/**
* 操作人(后端自动赋值)
*/
@Schema
(
description
=
"操作人"
,
hidden
=
true
)
private
String
operator
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/HandoverAssetReq.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotBlank
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.List
;
/**
* 交接资产项
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema
(
description
=
"交接资产项"
)
public
class
HandoverAssetReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 评估单编号
*/
@NotBlank
(
message
=
"评估单编号不能为空"
)
@Schema
(
description
=
"评估单编号"
,
required
=
true
)
private
String
evalOrderNo
;
/**
* 交接凭证URL列表
*/
@Schema
(
description
=
"交接凭证URL列表"
)
private
List
<
String
>
proofUrls
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/QueryHandoverAssetsReq.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotBlank
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 查询待交接资产请求
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema
(
description
=
"查询待交接资产请求"
)
public
class
QueryHandoverAssetsReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 原责任人ID
*/
@NotBlank
(
message
=
"原责任人ID不能为空"
)
@Schema
(
description
=
"原责任人ID"
,
required
=
true
)
private
String
originalUserId
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/StaffHandoverDetailReq.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
jakarta.validation.constraints.NotNull
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 离职交接详情查询请求
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema
(
description
=
"离职交接详情查询请求"
)
public
class
StaffHandoverDetailReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 交接记录主键ID
*/
@NotNull
(
message
=
"交接记录ID不能为空"
)
@Schema
(
description
=
"交接记录主键ID"
,
required
=
true
)
private
Long
id
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/StaffHandoverPageReq.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 离职交接分页查询请求
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema
(
description
=
"离职交接分页查询请求"
)
public
class
StaffHandoverPageReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 姓名,模糊匹配原责任人或新接收人
*/
@Schema
(
description
=
"姓名,模糊匹配原责任人或新接收人"
)
private
String
name
;
/**
* 交接开始时间
*/
@Schema
(
description
=
"交接开始时间,格式:yyyy-MM-dd HH:mm:ss"
)
private
String
startTime
;
/**
* 交接结束时间
*/
@Schema
(
description
=
"交接结束时间,格式:yyyy-MM-dd HH:mm:ss"
)
private
String
endTime
;
/**
* 交接类型:1-普通交接 2-实物交接
*/
@Schema
(
description
=
"交接类型:1-普通交接 2-实物交接"
)
private
Integer
handoverType
;
/**
* 交接批次号,精确匹配
*/
@Schema
(
description
=
"交接批次号,精确匹配"
)
private
String
handoverBatchNo
;
}
src/main/java/com/gsc4cloud/gsc/vpc/api/req/web/staffhandover/StaffUserQueryReq.java
0 → 100644
View file @
dd38e47
package
com
.
gsc4cloud
.
gsc
.
vpc
.
api
.
req
.
web
.
staffhandover
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 用户列表查询请求
*
* @author system
* @date 2025-12-16
*/
@Data
@Schema
(
description
=
"用户列表查询请求"
)
public
class
StaffUserQueryReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 商户号,根据原责任人的商户号查询新接收人,查询原责任人时不传
*/
@Schema
(
description
=
"商户号,查询新接收人时传入"
)
private
String
merchantNo
;
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment