【DAOP-1.0】服务商维护
【功能点】新增接口
Showing
14 changed files
with
605 additions
and
0 deletions
1 | package com.csbr.qingcloud.portal.controller; | ||
2 | |||
3 | import com.csbr.cloud.common.response.CommonRes; | ||
4 | import csbr.cloud.entity.annotation.SystemLog; | ||
5 | import csbr.cloud.entity.domain.base.vo.PageListVO; | ||
6 | import com.csbr.cloud.workflow.domain.dto.callback.BizCallbackDTO; | ||
7 | import com.csbr.qingcloud.portal.domain.vo.ServicerMaintainQueryVO; | ||
8 | import com.csbr.qingcloud.portal.domain.vo.ServicerMaintainRQVO; | ||
9 | import com.csbr.qingcloud.portal.domain.vo.ServicerMaintainRSVO; | ||
10 | import com.csbr.qingcloud.portal.service.ServicerMaintainService; | ||
11 | import io.swagger.v3.oas.annotations.Operation; | ||
12 | import io.swagger.v3.oas.annotations.Parameter; | ||
13 | import io.swagger.v3.oas.annotations.tags.Tag; | ||
14 | import jakarta.annotation.Resource; | ||
15 | import jakarta.validation.Valid; | ||
16 | import org.springframework.web.bind.annotation.*; | ||
17 | |||
18 | import java.util.List; | ||
19 | |||
20 | /** | ||
21 | * @program: D:/git/ms-data-circulation-portal-service | ||
22 | * @description: 服务商维护-控制器 | ||
23 | * @author: xcq | ||
24 | * @create: 2024-12-31 18:49 | ||
25 | **/ | ||
26 | @RestController | ||
27 | @RequestMapping("/servicer-maintain") | ||
28 | @Tag(name = "服务商维护-控制器") | ||
29 | public class ServicerMaintainController { | ||
30 | |||
31 | @Resource | ||
32 | private ServicerMaintainService servicerMaintainService; | ||
33 | |||
34 | //region 基本操作 | ||
35 | |||
36 | @PostMapping("/save") | ||
37 | @SystemLog(value = "服务商维护-新增") | ||
38 | @Operation(summary = "服务商维护-新增") | ||
39 | public CommonRes<Boolean> saveServicerMaintain(@RequestBody @Valid ServicerMaintainRQVO vo) { | ||
40 | servicerMaintainService.saveServicerMaintain(vo); | ||
41 | return CommonRes.success(true); | ||
42 | } | ||
43 | |||
44 | @PutMapping("/update") | ||
45 | @SystemLog(value = "服务商维护-修改") | ||
46 | @Operation(summary = "服务商维护-修改") | ||
47 | public CommonRes<Boolean> updateServicerMaintain(@RequestBody @Valid ServicerMaintainRQVO vo) { | ||
48 | servicerMaintainService.updateServicerMaintain(vo); | ||
49 | return CommonRes.success(true); | ||
50 | } | ||
51 | |||
52 | @DeleteMapping("/delete") | ||
53 | @SystemLog(value = "服务商维护-批量删除") | ||
54 | @Operation(summary = "服务商维护-批量删除") | ||
55 | public CommonRes<Boolean> removeByGuids(@RequestBody List<String> guids) { | ||
56 | servicerMaintainService.removeByGuids(guids); | ||
57 | return CommonRes.success(true); | ||
58 | } | ||
59 | |||
60 | @PostMapping("/page-list") | ||
61 | @SystemLog(value = "服务商维护-分页") | ||
62 | @Operation(summary = "服务商维护-分页") | ||
63 | public CommonRes<PageListVO<ServicerMaintainRSVO>> pageList(@RequestBody @Valid ServicerMaintainQueryVO queryVO) { | ||
64 | PageListVO<ServicerMaintainRSVO> pageVO = servicerMaintainService.pageList(queryVO); | ||
65 | return CommonRes.success(pageVO); | ||
66 | } | ||
67 | |||
68 | @GetMapping("/detail") | ||
69 | @SystemLog(value = "服务商维护-详情") | ||
70 | @Operation( | ||
71 | summary = "服务商维护-详情", | ||
72 | parameters = { | ||
73 | @Parameter(name = "guid", description = "服务商维护唯一标识", required = true)} | ||
74 | ) | ||
75 | public CommonRes<ServicerMaintainRSVO> getServicerMaintainDetail(@RequestParam String guid) { | ||
76 | ServicerMaintainRSVO vo = servicerMaintainService.getServicerMaintainDetail(guid); | ||
77 | return CommonRes.success(vo); | ||
78 | } | ||
79 | |||
80 | @PostMapping("/flow-call-back") | ||
81 | @SystemLog(value = "服务商维护-流程结束后进行业务回调") | ||
82 | @Operation(summary = "服务商维护-流程结束后进行业务回调", hidden = true) | ||
83 | public CommonRes<Boolean> flowCallBack(@RequestBody @Valid BizCallbackDTO dto) { | ||
84 | servicerMaintainService.flowCallBack(dto); | ||
85 | return CommonRes.success(true); | ||
86 | } | ||
87 | |||
88 | //endregion | ||
89 | |||
90 | } |
1 | package com.csbr.qingcloud.portal.domain.vo; | ||
2 | |||
3 | import com.csbr.cloud.workflow.domain.dto.appove.FlowBizGuidQueryDTO; | ||
4 | import io.swagger.v3.oas.annotations.media.Schema; | ||
5 | import lombok.EqualsAndHashCode; | ||
6 | import lombok.Data; | ||
7 | import java.util.Date; | ||
8 | import java.util.List; | ||
9 | |||
10 | /** | ||
11 | * @program: D:/git/ms-data-circulation-portal-service | ||
12 | * @description: 服务商维护查询参数 | ||
13 | * @author: xcq | ||
14 | * @create: 2024-12-31 18:49 | ||
15 | **/ | ||
16 | @EqualsAndHashCode(callSuper = true) | ||
17 | @Data | ||
18 | @Schema(title = "服务商维护查询参数") | ||
19 | public class ServicerMaintainQueryVO extends FlowBizGuidQueryDTO { | ||
20 | |||
21 | /** | ||
22 | * 业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃】 | ||
23 | */ | ||
24 | @Schema(description = "业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃】") | ||
25 | private String bizApproveState; | ||
26 | |||
27 | /******** 自定义扩展 *****/ | ||
28 | |||
29 | /** | ||
30 | * 数据唯一标识【List集合】 | ||
31 | */ | ||
32 | @Schema(description = "数据唯一标识", hidden = true) | ||
33 | private List<String> guidList; | ||
34 | |||
35 | /** | ||
36 | * 是否调用查询的判断 | ||
37 | */ | ||
38 | @Schema(description = "是否调用查询的判断", hidden = true) | ||
39 | private Boolean isNeedQuery; | ||
40 | |||
41 | } |
1 | package com.csbr.qingcloud.portal.domain.vo; | ||
2 | |||
3 | import com.csbr.cloud.workflow.domain.vo.appove.FlowRQBaseVO; | ||
4 | import io.swagger.v3.oas.annotations.media.Schema; | ||
5 | import com.fasterxml.jackson.annotation.JsonFormat; | ||
6 | import lombok.Data; | ||
7 | import java.util.Date; | ||
8 | |||
9 | /** | ||
10 | * @program: D:/git/ms-data-circulation-portal-service | ||
11 | * @description: 服务商维护新增、修改参数 | ||
12 | * @author: xcq | ||
13 | * @create: 2024-12-31 18:49 | ||
14 | **/ | ||
15 | @Data | ||
16 | @Schema(title = "服务商维护新增、修改参数") | ||
17 | public class ServicerMaintainRQVO extends FlowRQBaseVO { | ||
18 | |||
19 | /** | ||
20 | * 企业唯一标识 | ||
21 | */ | ||
22 | @Schema(description = "企业唯一标识") | ||
23 | private String tenantGuid; | ||
24 | |||
25 | /** | ||
26 | * 公司名称 | ||
27 | */ | ||
28 | @Schema(description = "公司名称") | ||
29 | private String tenantName; | ||
30 | |||
31 | /** | ||
32 | * 企业类型【选择平台字典【公司类型】的选项】 | ||
33 | */ | ||
34 | @Schema(description = "企业类型【选择平台字典【公司类型】的选项】") | ||
35 | private String tenantType; | ||
36 | |||
37 | /** | ||
38 | * 提交时间 | ||
39 | */ | ||
40 | @Schema(description = "提交时间") | ||
41 | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | ||
42 | private Date submitTime; | ||
43 | |||
44 | /** | ||
45 | * 联系人 | ||
46 | */ | ||
47 | @Schema(description = "联系人") | ||
48 | private String contacts; | ||
49 | |||
50 | /** | ||
51 | * 联系人电话 | ||
52 | */ | ||
53 | @Schema(description = "联系人电话") | ||
54 | private String contactTel; | ||
55 | |||
56 | /** | ||
57 | * 业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】 | ||
58 | */ | ||
59 | @Schema(description = "业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】") | ||
60 | private String bizApproveState; | ||
61 | |||
62 | /** | ||
63 | * 能否继续合作【Y 能;N 不能;】 | ||
64 | */ | ||
65 | @Schema(description = "能否继续合作【Y 能;N 不能;】") | ||
66 | private String canContinueCollaborate; | ||
67 | |||
68 | /** | ||
69 | * 维护信息 | ||
70 | */ | ||
71 | @Schema(description = "维护信息") | ||
72 | private String maintainJson; | ||
73 | |||
74 | /******** 库表存储属性 需处理 *****/ | ||
75 | |||
76 | /******** 自定义扩展 *****/ | ||
77 | |||
78 | /******** 子对象 *****/ | ||
79 | |||
80 | } |
1 | package com.csbr.qingcloud.portal.domain.vo; | ||
2 | |||
3 | import io.swagger.v3.oas.annotations.media.Schema; | ||
4 | import com.fasterxml.jackson.annotation.JsonFormat; | ||
5 | import lombok.Data; | ||
6 | import com.csbr.cloud.workflow.domain.vo.appove.BizApproveVO; | ||
7 | import java.util.Date; | ||
8 | |||
9 | /** | ||
10 | * @program: D:/git/ms-data-circulation-portal-service | ||
11 | * @description: 服务商维护返回参数 | ||
12 | * @author: xcq | ||
13 | * @create: 2024-12-31 18:49 | ||
14 | **/ | ||
15 | @Data | ||
16 | @Schema(title = "服务商维护返回参数") | ||
17 | public class ServicerMaintainRSVO { | ||
18 | |||
19 | /** | ||
20 | * 系统唯一标识 | ||
21 | */ | ||
22 | @Schema(description = "系统唯一标识") | ||
23 | private String guid; | ||
24 | |||
25 | /** | ||
26 | * 企业唯一标识 | ||
27 | */ | ||
28 | @Schema(description = "企业唯一标识") | ||
29 | private String tenantGuid; | ||
30 | |||
31 | /** | ||
32 | * 公司名称 | ||
33 | */ | ||
34 | @Schema(description = "公司名称") | ||
35 | private String tenantName; | ||
36 | |||
37 | /** | ||
38 | * 企业类型【选择平台字典【公司类型】的选项】 | ||
39 | */ | ||
40 | @Schema(description = "企业类型【选择平台字典【公司类型】的选项】") | ||
41 | private String tenantType; | ||
42 | |||
43 | /** | ||
44 | * 提交时间 | ||
45 | */ | ||
46 | @Schema(description = "提交时间") | ||
47 | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | ||
48 | private Date submitTime; | ||
49 | |||
50 | /** | ||
51 | * 联系人 | ||
52 | */ | ||
53 | @Schema(description = "联系人") | ||
54 | private String contacts; | ||
55 | |||
56 | /** | ||
57 | * 联系人电话 | ||
58 | */ | ||
59 | @Schema(description = "联系人电话") | ||
60 | private String contactTel; | ||
61 | |||
62 | /** | ||
63 | * 业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】 | ||
64 | */ | ||
65 | @Schema(description = "业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】") | ||
66 | private String bizApproveState; | ||
67 | |||
68 | /** | ||
69 | * 能否继续合作【Y 能;N 不能;】 | ||
70 | */ | ||
71 | @Schema(description = "能否继续合作【Y 能;N 不能;】") | ||
72 | private String canContinueCollaborate; | ||
73 | |||
74 | /** | ||
75 | * 维护信息 | ||
76 | */ | ||
77 | @Schema(description = "维护信息") | ||
78 | private String maintainJson; | ||
79 | |||
80 | /******** 库表存储属性 需处理 *****/ | ||
81 | |||
82 | /******** 自定义扩展 *****/ | ||
83 | |||
84 | /** | ||
85 | * 审批信息 | ||
86 | */ | ||
87 | @Schema(description = "审批信息") | ||
88 | private BizApproveVO approveVO; | ||
89 | |||
90 | /******** 子对象 *****/ | ||
91 | |||
92 | } |
1 | package com.csbr.qingcloud.portal.mybatis.entity; | ||
2 | |||
3 | import com.baomidou.mybatisplus.annotation.FieldStrategy; | ||
4 | import com.baomidou.mybatisplus.annotation.TableField; | ||
5 | import csbr.cloud.entity.domain.base.dao.BaseDO; | ||
6 | import jdk.jfr.Name; | ||
7 | import lombok.Data; | ||
8 | import lombok.EqualsAndHashCode; | ||
9 | import lombok.experimental.Accessors; | ||
10 | import java.util.Date; | ||
11 | |||
12 | /** | ||
13 | * @program: D:/git/ms-data-circulation-portal-service | ||
14 | * @description: 服务商维护实体 | ||
15 | * @author: xcq | ||
16 | * @create: 2024-12-31 18:49 | ||
17 | **/ | ||
18 | @Data | ||
19 | @EqualsAndHashCode(callSuper = true) | ||
20 | @Accessors(chain = true) | ||
21 | @Name("服务商维护") | ||
22 | public class MfServicerMaintain extends BaseDO { | ||
23 | |||
24 | /** | ||
25 | * 企业唯一标识 | ||
26 | */ | ||
27 | @Name("企业唯一标识") | ||
28 | private String tenantGuid; | ||
29 | |||
30 | /** | ||
31 | * 公司名称 | ||
32 | */ | ||
33 | @Name("公司名称") | ||
34 | private String tenantName; | ||
35 | |||
36 | /** | ||
37 | * 企业类型【选择平台字典【公司类型】的选项】 | ||
38 | */ | ||
39 | @Name("企业类型【选择平台字典【公司类型】的选项】") | ||
40 | private String tenantType; | ||
41 | |||
42 | /** | ||
43 | * 提交时间 | ||
44 | */ | ||
45 | @Name("提交时间") | ||
46 | private Date submitTime; | ||
47 | |||
48 | /** | ||
49 | * 联系人 | ||
50 | */ | ||
51 | @Name("联系人") | ||
52 | private String contacts; | ||
53 | |||
54 | /** | ||
55 | * 联系人电话 | ||
56 | */ | ||
57 | @Name("联系人电话") | ||
58 | private String contactTel; | ||
59 | |||
60 | /** | ||
61 | * 业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】 | ||
62 | */ | ||
63 | @Name("业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】") | ||
64 | private String bizApproveState; | ||
65 | |||
66 | /** | ||
67 | * 能否继续合作【Y 能;N 不能;】 | ||
68 | */ | ||
69 | @Name("能否继续合作【Y 能;N 不能;】") | ||
70 | private String canContinueCollaborate; | ||
71 | |||
72 | /** | ||
73 | * 维护信息 | ||
74 | */ | ||
75 | @Name("维护信息") | ||
76 | @TableField(updateStrategy = FieldStrategy.ALWAYS) | ||
77 | private String maintainJson; | ||
78 | |||
79 | } |
1 | package com.csbr.qingcloud.portal.mybatis.entity; | ||
2 | |||
3 | import csbr.cloud.entity.domain.base.dao.BaseDO; | ||
4 | import jdk.jfr.Name; | ||
5 | import lombok.Data; | ||
6 | import lombok.EqualsAndHashCode; | ||
7 | import lombok.experimental.Accessors; | ||
8 | import java.util.Date; | ||
9 | |||
10 | /** | ||
11 | * @program: D:/git/ms-data-circulation-portal-service | ||
12 | * @description: 服务商维护明细实体 | ||
13 | * @author: xcq | ||
14 | * @create: 2024-12-31 18:52 | ||
15 | **/ | ||
16 | @Data | ||
17 | @EqualsAndHashCode(callSuper = true) | ||
18 | @Accessors(chain = true) | ||
19 | @Name("服务商维护明细") | ||
20 | public class MfServicerMaintainDetail extends BaseDO { | ||
21 | |||
22 | /** | ||
23 | * 企业唯一标识 | ||
24 | */ | ||
25 | @Name("企业唯一标识") | ||
26 | private String tenantGuid; | ||
27 | |||
28 | /** | ||
29 | * 父唯一标识 | ||
30 | */ | ||
31 | @Name("父唯一标识") | ||
32 | private String parentGuid; | ||
33 | |||
34 | /** | ||
35 | * 字典唯一标识 | ||
36 | */ | ||
37 | @Name("字典唯一标识") | ||
38 | private String dicGuid; | ||
39 | |||
40 | /** | ||
41 | * 字典值 | ||
42 | */ | ||
43 | @Name("字典值") | ||
44 | private String dicValue; | ||
45 | |||
46 | } |
src/main/java/com/csbr/qingcloud/portal/mybatis/mapper/MfServicerMaintainDetailMapper.java
0 → 100644
1 | package com.csbr.qingcloud.portal.mybatis.mapper; | ||
2 | |||
3 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||
4 | import org.apache.ibatis.annotations.Mapper; | ||
5 | import com.csbr.qingcloud.portal.mybatis.entity.MfServicerMaintainDetail; | ||
6 | |||
7 | /** | ||
8 | * @program: D:/git/ms-data-circulation-portal-service | ||
9 | * @description: 服务商维护明细 Mapper 接口 | ||
10 | * @author: xcq | ||
11 | * @create: 2024-12-31 18:52 | ||
12 | **/ | ||
13 | @Mapper | ||
14 | public interface MfServicerMaintainDetailMapper extends BaseMapper<MfServicerMaintainDetail> { | ||
15 | |||
16 | } |
1 | package com.csbr.qingcloud.portal.mybatis.mapper; | ||
2 | |||
3 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||
4 | import org.apache.ibatis.annotations.Mapper; | ||
5 | import com.csbr.qingcloud.portal.mybatis.entity.MfServicerMaintain; | ||
6 | |||
7 | /** | ||
8 | * @program: D:/git/ms-data-circulation-portal-service | ||
9 | * @description: 服务商维护 Mapper 接口 | ||
10 | * @author: xcq | ||
11 | * @create: 2024-12-31 18:49 | ||
12 | **/ | ||
13 | @Mapper | ||
14 | public interface MfServicerMaintainMapper extends BaseMapper<MfServicerMaintain> { | ||
15 | |||
16 | } |
src/main/java/com/csbr/qingcloud/portal/mybatis/service/MfServicerMaintainDetailService.java
0 → 100644
1 | package com.csbr.qingcloud.portal.mybatis.service; | ||
2 | |||
3 | import com.csbr.cloud.base.service.CsbrService; | ||
4 | import com.csbr.qingcloud.portal.mybatis.entity.MfServicerMaintainDetail; | ||
5 | |||
6 | /** | ||
7 | * @program: D:/git/ms-data-circulation-portal-service | ||
8 | * @description: 服务商维护明细逻辑层接口 | ||
9 | * @author: xcq | ||
10 | * @create: 2024-12-31 18:52 | ||
11 | **/ | ||
12 | public interface MfServicerMaintainDetailService extends CsbrService<MfServicerMaintainDetail> { | ||
13 | |||
14 | } |
1 | package com.csbr.qingcloud.portal.mybatis.service; | ||
2 | |||
3 | import com.csbr.cloud.base.service.CsbrService; | ||
4 | import com.csbr.qingcloud.portal.mybatis.entity.MfServicerMaintain; | ||
5 | |||
6 | /** | ||
7 | * @program: D:/git/ms-data-circulation-portal-service | ||
8 | * @description: 服务商维护逻辑层接口 | ||
9 | * @author: xcq | ||
10 | * @create: 2024-12-31 18:49 | ||
11 | **/ | ||
12 | public interface MfServicerMaintainService extends CsbrService<MfServicerMaintain> { | ||
13 | |||
14 | } |
1 | package com.csbr.qingcloud.portal.mybatis.service.impl; | ||
2 | |||
3 | import com.csbr.cloud.mybatis.service.impl.CsbrServiceImpl; | ||
4 | import com.csbr.qingcloud.portal.mybatis.mapper.MfServicerMaintainDetailMapper; | ||
5 | import com.csbr.qingcloud.portal.mybatis.entity.MfServicerMaintainDetail; | ||
6 | import com.csbr.qingcloud.portal.mybatis.service.MfServicerMaintainDetailService; | ||
7 | import jakarta.annotation.Resource; | ||
8 | import org.springframework.stereotype.Service; | ||
9 | |||
10 | /** | ||
11 | * @program: D:/git/ms-data-circulation-portal-service | ||
12 | * @description: 服务商维护明细逻辑层接口实现 | ||
13 | * @author: xcq | ||
14 | * @create: 2024-12-31 18:52 | ||
15 | **/ | ||
16 | @Service | ||
17 | public class MfServicerMaintainDetailServiceImpl extends CsbrServiceImpl<MfServicerMaintainDetailMapper, MfServicerMaintainDetail> implements MfServicerMaintainDetailService { | ||
18 | |||
19 | @Resource | ||
20 | private MfServicerMaintainDetailMapper mfServicerMaintainDetailMapper; | ||
21 | |||
22 | } |
src/main/java/com/csbr/qingcloud/portal/mybatis/service/impl/MfServicerMaintainServiceImpl.java
0 → 100644
1 | package com.csbr.qingcloud.portal.mybatis.service.impl; | ||
2 | |||
3 | import com.csbr.cloud.mybatis.service.impl.CsbrServiceImpl; | ||
4 | import com.csbr.qingcloud.portal.mybatis.mapper.MfServicerMaintainMapper; | ||
5 | import com.csbr.qingcloud.portal.mybatis.entity.MfServicerMaintain; | ||
6 | import com.csbr.qingcloud.portal.mybatis.service.MfServicerMaintainService; | ||
7 | import jakarta.annotation.Resource; | ||
8 | import org.springframework.stereotype.Service; | ||
9 | |||
10 | /** | ||
11 | * @program: D:/git/ms-data-circulation-portal-service | ||
12 | * @description: 服务商维护逻辑层接口实现 | ||
13 | * @author: xcq | ||
14 | * @create: 2024-12-31 18:49 | ||
15 | **/ | ||
16 | @Service | ||
17 | public class MfServicerMaintainServiceImpl extends CsbrServiceImpl<MfServicerMaintainMapper, MfServicerMaintain> implements MfServicerMaintainService { | ||
18 | |||
19 | @Resource | ||
20 | private MfServicerMaintainMapper mfServicerMaintainMapper; | ||
21 | |||
22 | } |
1 | package com.csbr.qingcloud.portal.service; | ||
2 | |||
3 | import csbr.cloud.entity.domain.base.vo.PageListVO; | ||
4 | import com.csbr.cloud.workflow.domain.dto.callback.BizCallbackDTO; | ||
5 | import com.csbr.cloud.workflow.domain.vo.appove.FlowRQBaseVO; | ||
6 | import com.csbr.qingcloud.portal.domain.vo.ServicerMaintainQueryVO; | ||
7 | import com.csbr.qingcloud.portal.domain.vo.ServicerMaintainRSVO; | ||
8 | |||
9 | import java.util.List; | ||
10 | |||
11 | /** | ||
12 | * @program: D:/git/ms-data-circulation-portal-service | ||
13 | * @description: 服务商维护业务逻辑接口 | ||
14 | * @author: xcq | ||
15 | * @create: 2024-12-31 18:49 | ||
16 | **/ | ||
17 | public interface ServicerMaintainService { | ||
18 | |||
19 | /** | ||
20 | * 服务商维护分页查询 | ||
21 | * @author xcq | ||
22 | * @date 2024-12-31 18:49 | ||
23 | * @param queryVO | ||
24 | * @return com.csbr.cloud.mybatis.entity.PageListVO<com.csbr.qingcloud.portal.domain.vo.ServicerMaintainRSVO> | ||
25 | */ | ||
26 | PageListVO<ServicerMaintainRSVO> pageList(ServicerMaintainQueryVO queryVO); | ||
27 | |||
28 | /** | ||
29 | * 服务商维护获取详情数据 | ||
30 | * @author xcq | ||
31 | * @date 2024-12-31 18:49 | ||
32 | * @param guid | ||
33 | * @return com.csbr.qingcloud.portal.domain.vo.ServicerMaintainRSVO | ||
34 | */ | ||
35 | ServicerMaintainRSVO getServicerMaintainDetail(String guid); | ||
36 | |||
37 | /** | ||
38 | * 服务商维护数据新增 | ||
39 | * @author xcq | ||
40 | * @date 2024-12-31 18:49 | ||
41 | * @param flowBaseVO | ||
42 | * @return void | ||
43 | */ | ||
44 | void saveServicerMaintain(FlowRQBaseVO flowBaseVO); | ||
45 | |||
46 | /** | ||
47 | * 服务商维护数据修改 | ||
48 | * @author xcq | ||
49 | * @date 2024-12-31 18:49 | ||
50 | * @param flowBaseVO | ||
51 | * @return void | ||
52 | */ | ||
53 | void updateServicerMaintain(FlowRQBaseVO flowBaseVO); | ||
54 | |||
55 | /** | ||
56 | * 服务商维护数据删除、并有相关的处理操作 | ||
57 | * @author xcq | ||
58 | * @date 2024-12-31 18:49 | ||
59 | * @param guids | ||
60 | * @return void | ||
61 | */ | ||
62 | void removeByGuids(List<String> guids); | ||
63 | |||
64 | /** | ||
65 | * 流程结束后进行业务回调 | ||
66 | * @author xcq | ||
67 | * @date 2024-12-31 18:49 | ||
68 | * @param dto | ||
69 | * @return void | ||
70 | */ | ||
71 | void flowCallBack(BizCallbackDTO dto); | ||
72 | |||
73 | } |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment