【DAOP-1.0】企业认证
【功能点】新增接口
Showing
10 changed files
with
805 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.EnterpriseQueryVO; | ||
8 | import com.csbr.qingcloud.portal.domain.vo.EnterpriseRQVO; | ||
9 | import com.csbr.qingcloud.portal.domain.vo.EnterpriseRSVO; | ||
10 | import com.csbr.qingcloud.portal.service.EnterpriseService; | ||
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-26 16:18 | ||
25 | **/ | ||
26 | @RestController | ||
27 | @RequestMapping("/enterprise") | ||
28 | @Tag(name = "企业信息-控制器") | ||
29 | public class EnterpriseController { | ||
30 | |||
31 | @Resource | ||
32 | private EnterpriseService enterpriseService; | ||
33 | |||
34 | //region 基本操作 | ||
35 | |||
36 | @PostMapping("/save") | ||
37 | @SystemLog(value = "企业信息-新增") | ||
38 | @Operation(summary = "企业信息-新增") | ||
39 | public CommonRes<Boolean> saveEnterprise(@RequestBody @Valid EnterpriseRQVO vo) { | ||
40 | enterpriseService.saveEnterprise(vo); | ||
41 | return CommonRes.success(true); | ||
42 | } | ||
43 | |||
44 | @PutMapping("/update") | ||
45 | @SystemLog(value = "企业信息-修改") | ||
46 | @Operation(summary = "企业信息-修改") | ||
47 | public CommonRes<Boolean> updateEnterprise(@RequestBody @Valid EnterpriseRQVO vo) { | ||
48 | enterpriseService.updateEnterprise(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 | enterpriseService.removeByGuids(guids); | ||
57 | return CommonRes.success(true); | ||
58 | } | ||
59 | |||
60 | @PostMapping("/page-list") | ||
61 | @SystemLog(value = "企业信息-分页") | ||
62 | @Operation(summary = "企业信息-分页") | ||
63 | public CommonRes<PageListVO<EnterpriseRSVO>> pageList(@RequestBody @Valid EnterpriseQueryVO queryVO) { | ||
64 | PageListVO<EnterpriseRSVO> pageVO = enterpriseService.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<EnterpriseRSVO> getEnterpriseDetail(@RequestParam String guid) { | ||
76 | EnterpriseRSVO vo = enterpriseService.getEnterpriseDetail(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 | enterpriseService.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.math.BigDecimal; | ||
8 | import java.util.Date; | ||
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-26 16:18 | ||
16 | **/ | ||
17 | @EqualsAndHashCode(callSuper = true) | ||
18 | @Data | ||
19 | @Schema(title = "企业信息查询参数") | ||
20 | public class EnterpriseQueryVO extends FlowBizGuidQueryDTO { | ||
21 | |||
22 | /** | ||
23 | * 业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃】 | ||
24 | */ | ||
25 | @Schema(description = "业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃】") | ||
26 | private String bizApproveState; | ||
27 | |||
28 | /******** 自定义扩展 *****/ | ||
29 | |||
30 | /** | ||
31 | * 数据唯一标识【List集合】 | ||
32 | */ | ||
33 | @Schema(description = "数据唯一标识", hidden = true) | ||
34 | private List<String> guidList; | ||
35 | |||
36 | /** | ||
37 | * 是否调用查询的判断 | ||
38 | */ | ||
39 | @Schema(description = "是否调用查询的判断", hidden = true) | ||
40 | private Boolean isNeedQuery; | ||
41 | |||
42 | } |
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.math.BigDecimal; | ||
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-26 16:18 | ||
15 | **/ | ||
16 | @Data | ||
17 | @Schema(title = "企业信息新增、修改参数") | ||
18 | public class EnterpriseRQVO extends FlowRQBaseVO { | ||
19 | |||
20 | /** | ||
21 | * 公司名称 | ||
22 | */ | ||
23 | @Schema(description = "公司名称") | ||
24 | private String tenantName; | ||
25 | |||
26 | /** | ||
27 | * 统一社会信用代码 | ||
28 | */ | ||
29 | @Schema(description = "统一社会信用代码") | ||
30 | private String socialCreditCode; | ||
31 | |||
32 | /** | ||
33 | * 企业类型【选择平台字典【公司类型】的选项】 | ||
34 | */ | ||
35 | @Schema(description = "企业类型【选择平台字典【公司类型】的选项】") | ||
36 | private String tenantType; | ||
37 | |||
38 | /** | ||
39 | * 注册日期 | ||
40 | */ | ||
41 | @Schema(description = "注册日期") | ||
42 | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | ||
43 | private Date registrationDate; | ||
44 | |||
45 | /** | ||
46 | * 注册资本【(万元)】 | ||
47 | */ | ||
48 | @Schema(description = "注册资本【(万元)】") | ||
49 | private BigDecimal registeredCapital; | ||
50 | |||
51 | /** | ||
52 | * 税号 | ||
53 | */ | ||
54 | @Schema(description = "税号") | ||
55 | private String bankTaxNo; | ||
56 | |||
57 | /** | ||
58 | * 省 | ||
59 | */ | ||
60 | @Schema(description = "省") | ||
61 | private String province; | ||
62 | |||
63 | /** | ||
64 | * 市 | ||
65 | */ | ||
66 | @Schema(description = "市") | ||
67 | private String city; | ||
68 | |||
69 | /** | ||
70 | * 区 | ||
71 | */ | ||
72 | @Schema(description = "区") | ||
73 | private String district; | ||
74 | |||
75 | /** | ||
76 | * 营业期限【1 长期有效;2 自定义】 | ||
77 | */ | ||
78 | @Schema(description = "营业期限【1 长期有效;2 自定义】") | ||
79 | private String businessLicenseTerm; | ||
80 | |||
81 | /** | ||
82 | * 营业开始日期 | ||
83 | */ | ||
84 | @Schema(description = "营业开始日期") | ||
85 | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | ||
86 | private Date businessLicenseStartDate; | ||
87 | |||
88 | /** | ||
89 | * 营业结束日期 | ||
90 | */ | ||
91 | @Schema(description = "营业结束日期") | ||
92 | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | ||
93 | private Date businessLicenseEndDate; | ||
94 | |||
95 | /** | ||
96 | * 营业执照 | ||
97 | */ | ||
98 | @Schema(description = "营业执照") | ||
99 | private String businessLicenseJson; | ||
100 | |||
101 | /** | ||
102 | * 营业执照经营范围 | ||
103 | */ | ||
104 | @Schema(description = "营业执照经营范围") | ||
105 | private String businessLicenseScope; | ||
106 | |||
107 | /** | ||
108 | * 公司法人 | ||
109 | */ | ||
110 | @Schema(description = "公司法人") | ||
111 | private String juridicalPerson; | ||
112 | |||
113 | /** | ||
114 | * 法人证件类型 | ||
115 | */ | ||
116 | @Schema(description = "法人证件类型") | ||
117 | private String juridicalPersonIdType; | ||
118 | |||
119 | /** | ||
120 | * 法人证件号 | ||
121 | */ | ||
122 | @Schema(description = "法人证件号") | ||
123 | private String juridicalPersonId; | ||
124 | |||
125 | /** | ||
126 | * 法人证件照 | ||
127 | */ | ||
128 | @Schema(description = "法人证件照") | ||
129 | private String juridicalPersonIdPhotoJson; | ||
130 | |||
131 | /** | ||
132 | * 登录账号 | ||
133 | */ | ||
134 | @Schema(description = "登录账号") | ||
135 | private String logonUser; | ||
136 | |||
137 | /** | ||
138 | * 联系人 | ||
139 | */ | ||
140 | @Schema(description = "联系人") | ||
141 | private String contacts; | ||
142 | |||
143 | /** | ||
144 | * 联系人电话 | ||
145 | */ | ||
146 | @Schema(description = "联系人电话") | ||
147 | private String contactTel; | ||
148 | |||
149 | /** | ||
150 | * 管理员证件号 | ||
151 | */ | ||
152 | @Schema(description = "管理员证件号") | ||
153 | private String managerPersonId; | ||
154 | |||
155 | /** | ||
156 | * 管理员证件照 | ||
157 | */ | ||
158 | @Schema(description = "管理员证件照") | ||
159 | private String managerPersonIdPhotoJson; | ||
160 | |||
161 | /** | ||
162 | * 授权委托书 | ||
163 | */ | ||
164 | @Schema(description = "授权委托书") | ||
165 | private String authorizationLetter; | ||
166 | |||
167 | /** | ||
168 | * 业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】 | ||
169 | */ | ||
170 | @Schema(description = "业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】") | ||
171 | private String bizApproveState; | ||
172 | |||
173 | /******** 库表存储属性 需处理 *****/ | ||
174 | |||
175 | /******** 自定义扩展 *****/ | ||
176 | |||
177 | /******** 子对象 *****/ | ||
178 | |||
179 | } |
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.math.BigDecimal; | ||
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-26 16:18 | ||
15 | **/ | ||
16 | @Data | ||
17 | @Schema(title = "企业信息返回参数") | ||
18 | public class EnterpriseRSVO { | ||
19 | |||
20 | /** | ||
21 | * 系统唯一标识 | ||
22 | */ | ||
23 | @Schema(description = "系统唯一标识") | ||
24 | private String guid; | ||
25 | |||
26 | /** | ||
27 | * 公司名称 | ||
28 | */ | ||
29 | @Schema(description = "公司名称") | ||
30 | private String tenantName; | ||
31 | |||
32 | /** | ||
33 | * 统一社会信用代码 | ||
34 | */ | ||
35 | @Schema(description = "统一社会信用代码") | ||
36 | private String socialCreditCode; | ||
37 | |||
38 | /** | ||
39 | * 企业类型【选择平台字典【公司类型】的选项】 | ||
40 | */ | ||
41 | @Schema(description = "企业类型【选择平台字典【公司类型】的选项】") | ||
42 | private String tenantType; | ||
43 | |||
44 | /** | ||
45 | * 注册日期 | ||
46 | */ | ||
47 | @Schema(description = "注册日期") | ||
48 | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | ||
49 | private Date registrationDate; | ||
50 | |||
51 | /** | ||
52 | * 注册资本【(万元)】 | ||
53 | */ | ||
54 | @Schema(description = "注册资本【(万元)】") | ||
55 | private BigDecimal registeredCapital; | ||
56 | |||
57 | /** | ||
58 | * 税号 | ||
59 | */ | ||
60 | @Schema(description = "税号") | ||
61 | private String bankTaxNo; | ||
62 | |||
63 | /** | ||
64 | * 省 | ||
65 | */ | ||
66 | @Schema(description = "省") | ||
67 | private String province; | ||
68 | |||
69 | /** | ||
70 | * 市 | ||
71 | */ | ||
72 | @Schema(description = "市") | ||
73 | private String city; | ||
74 | |||
75 | /** | ||
76 | * 区 | ||
77 | */ | ||
78 | @Schema(description = "区") | ||
79 | private String district; | ||
80 | |||
81 | /** | ||
82 | * 营业期限【1 长期有效;2 自定义】 | ||
83 | */ | ||
84 | @Schema(description = "营业期限【1 长期有效;2 自定义】") | ||
85 | private String businessLicenseTerm; | ||
86 | |||
87 | /** | ||
88 | * 营业开始日期 | ||
89 | */ | ||
90 | @Schema(description = "营业开始日期") | ||
91 | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | ||
92 | private Date businessLicenseStartDate; | ||
93 | |||
94 | /** | ||
95 | * 营业结束日期 | ||
96 | */ | ||
97 | @Schema(description = "营业结束日期") | ||
98 | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | ||
99 | private Date businessLicenseEndDate; | ||
100 | |||
101 | /** | ||
102 | * 营业执照 | ||
103 | */ | ||
104 | @Schema(description = "营业执照") | ||
105 | private String businessLicenseJson; | ||
106 | |||
107 | /** | ||
108 | * 营业执照经营范围 | ||
109 | */ | ||
110 | @Schema(description = "营业执照经营范围") | ||
111 | private String businessLicenseScope; | ||
112 | |||
113 | /** | ||
114 | * 公司法人 | ||
115 | */ | ||
116 | @Schema(description = "公司法人") | ||
117 | private String juridicalPerson; | ||
118 | |||
119 | /** | ||
120 | * 法人证件类型 | ||
121 | */ | ||
122 | @Schema(description = "法人证件类型") | ||
123 | private String juridicalPersonIdType; | ||
124 | |||
125 | /** | ||
126 | * 法人证件号 | ||
127 | */ | ||
128 | @Schema(description = "法人证件号") | ||
129 | private String juridicalPersonId; | ||
130 | |||
131 | /** | ||
132 | * 法人证件照 | ||
133 | */ | ||
134 | @Schema(description = "法人证件照") | ||
135 | private String juridicalPersonIdPhotoJson; | ||
136 | |||
137 | /** | ||
138 | * 登录账号 | ||
139 | */ | ||
140 | @Schema(description = "登录账号") | ||
141 | private String logonUser; | ||
142 | |||
143 | /** | ||
144 | * 联系人 | ||
145 | */ | ||
146 | @Schema(description = "联系人") | ||
147 | private String contacts; | ||
148 | |||
149 | /** | ||
150 | * 联系人电话 | ||
151 | */ | ||
152 | @Schema(description = "联系人电话") | ||
153 | private String contactTel; | ||
154 | |||
155 | /** | ||
156 | * 管理员证件号 | ||
157 | */ | ||
158 | @Schema(description = "管理员证件号") | ||
159 | private String managerPersonId; | ||
160 | |||
161 | /** | ||
162 | * 管理员证件照 | ||
163 | */ | ||
164 | @Schema(description = "管理员证件照") | ||
165 | private String managerPersonIdPhotoJson; | ||
166 | |||
167 | /** | ||
168 | * 授权委托书 | ||
169 | */ | ||
170 | @Schema(description = "授权委托书") | ||
171 | private String authorizationLetter; | ||
172 | |||
173 | /** | ||
174 | * 业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】 | ||
175 | */ | ||
176 | @Schema(description = "业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】") | ||
177 | private String bizApproveState; | ||
178 | |||
179 | /******** 库表存储属性 需处理 *****/ | ||
180 | |||
181 | /******** 自定义扩展 *****/ | ||
182 | |||
183 | /** | ||
184 | * 审批信息 | ||
185 | */ | ||
186 | @Schema(description = "审批信息") | ||
187 | private BizApproveVO approveVO; | ||
188 | |||
189 | /******** 子对象 *****/ | ||
190 | |||
191 | } |
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.math.BigDecimal; | ||
11 | import java.util.Date; | ||
12 | |||
13 | /** | ||
14 | * @program: D:/git/ms-data-circulation-portal-service | ||
15 | * @description: 企业信息实体 | ||
16 | * @author: xcq | ||
17 | * @create: 2024-12-26 16:18 | ||
18 | **/ | ||
19 | @Data | ||
20 | @EqualsAndHashCode(callSuper = true) | ||
21 | @Accessors(chain = true) | ||
22 | @Name("企业信息") | ||
23 | public class MfEnterprise extends BaseDO { | ||
24 | |||
25 | /** | ||
26 | * 公司名称 | ||
27 | */ | ||
28 | @Name("公司名称") | ||
29 | private String tenantName; | ||
30 | |||
31 | /** | ||
32 | * 统一社会信用代码 | ||
33 | */ | ||
34 | @Name("统一社会信用代码") | ||
35 | private String socialCreditCode; | ||
36 | |||
37 | /** | ||
38 | * 企业类型【选择平台字典【公司类型】的选项】 | ||
39 | */ | ||
40 | @Name("企业类型【选择平台字典【公司类型】的选项】") | ||
41 | private String tenantType; | ||
42 | |||
43 | /** | ||
44 | * 注册日期 | ||
45 | */ | ||
46 | @Name("注册日期") | ||
47 | private Date registrationDate; | ||
48 | |||
49 | /** | ||
50 | * 注册资本【(万元)】 | ||
51 | */ | ||
52 | @Name("注册资本【(万元)】") | ||
53 | private BigDecimal registeredCapital; | ||
54 | |||
55 | /** | ||
56 | * 税号 | ||
57 | */ | ||
58 | @Name("税号") | ||
59 | private String bankTaxNo; | ||
60 | |||
61 | /** | ||
62 | * 省 | ||
63 | */ | ||
64 | @Name("省") | ||
65 | private String province; | ||
66 | |||
67 | /** | ||
68 | * 市 | ||
69 | */ | ||
70 | @Name("市") | ||
71 | private String city; | ||
72 | |||
73 | /** | ||
74 | * 区 | ||
75 | */ | ||
76 | @Name("区") | ||
77 | private String district; | ||
78 | |||
79 | /** | ||
80 | * 营业期限【1 长期有效;2 自定义】 | ||
81 | */ | ||
82 | @Name("营业期限【1 长期有效;2 自定义】") | ||
83 | private String businessLicenseTerm; | ||
84 | |||
85 | /** | ||
86 | * 营业开始日期 | ||
87 | */ | ||
88 | @Name("营业开始日期") | ||
89 | private Date businessLicenseStartDate; | ||
90 | |||
91 | /** | ||
92 | * 营业结束日期 | ||
93 | */ | ||
94 | @Name("营业结束日期") | ||
95 | private Date businessLicenseEndDate; | ||
96 | |||
97 | /** | ||
98 | * 营业执照 | ||
99 | */ | ||
100 | @Name("营业执照") | ||
101 | @TableField(updateStrategy = FieldStrategy.ALWAYS) | ||
102 | private String businessLicenseJson; | ||
103 | |||
104 | /** | ||
105 | * 营业执照经营范围 | ||
106 | */ | ||
107 | @Name("营业执照经营范围") | ||
108 | private String businessLicenseScope; | ||
109 | |||
110 | /** | ||
111 | * 公司法人 | ||
112 | */ | ||
113 | @Name("公司法人") | ||
114 | private String juridicalPerson; | ||
115 | |||
116 | /** | ||
117 | * 法人证件类型 | ||
118 | */ | ||
119 | @Name("法人证件类型") | ||
120 | private String juridicalPersonIdType; | ||
121 | |||
122 | /** | ||
123 | * 法人证件号 | ||
124 | */ | ||
125 | @Name("法人证件号") | ||
126 | private String juridicalPersonId; | ||
127 | |||
128 | /** | ||
129 | * 法人证件照 | ||
130 | */ | ||
131 | @Name("法人证件照") | ||
132 | @TableField(updateStrategy = FieldStrategy.ALWAYS) | ||
133 | private String juridicalPersonIdPhotoJson; | ||
134 | |||
135 | /** | ||
136 | * 登录账号 | ||
137 | */ | ||
138 | @Name("登录账号") | ||
139 | private String logonUser; | ||
140 | |||
141 | /** | ||
142 | * 联系人 | ||
143 | */ | ||
144 | @Name("联系人") | ||
145 | private String contacts; | ||
146 | |||
147 | /** | ||
148 | * 联系人电话 | ||
149 | */ | ||
150 | @Name("联系人电话") | ||
151 | private String contactTel; | ||
152 | |||
153 | /** | ||
154 | * 管理员证件号 | ||
155 | */ | ||
156 | @Name("管理员证件号") | ||
157 | private String managerPersonId; | ||
158 | |||
159 | /** | ||
160 | * 管理员证件照 | ||
161 | */ | ||
162 | @Name("管理员证件照") | ||
163 | @TableField(updateStrategy = FieldStrategy.ALWAYS) | ||
164 | private String managerPersonIdPhotoJson; | ||
165 | |||
166 | /** | ||
167 | * 授权委托书 | ||
168 | */ | ||
169 | @Name("授权委托书") | ||
170 | private String authorizationLetter; | ||
171 | |||
172 | /** | ||
173 | * 业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】 | ||
174 | */ | ||
175 | @Name("业务审批状态【N 草稿中,A 审批中,Y 已通过,R 驳回,C 已撤销,D 已废弃; 默认 N】") | ||
176 | private String bizApproveState; | ||
177 | |||
178 | } |
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.MfEnterprise; | ||
6 | |||
7 | /** | ||
8 | * @program: D:/git/ms-data-circulation-portal-service | ||
9 | * @description: 企业信息 Mapper 接口 | ||
10 | * @author: xcq | ||
11 | * @create: 2024-12-26 16:18 | ||
12 | **/ | ||
13 | @Mapper | ||
14 | public interface MfEnterpriseMapper extends BaseMapper<MfEnterprise> { | ||
15 | |||
16 | } |
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.MfEnterprise; | ||
5 | |||
6 | /** | ||
7 | * @program: D:/git/ms-data-circulation-portal-service | ||
8 | * @description: 企业信息逻辑层接口 | ||
9 | * @author: xcq | ||
10 | * @create: 2024-12-26 16:18 | ||
11 | **/ | ||
12 | public interface MfEnterpriseService extends CsbrService<MfEnterprise> { | ||
13 | |||
14 | } |
src/main/java/com/csbr/qingcloud/portal/mybatis/service/impl/MfEnterpriseServiceImpl.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.MfEnterpriseMapper; | ||
5 | import com.csbr.qingcloud.portal.mybatis.entity.MfEnterprise; | ||
6 | import com.csbr.qingcloud.portal.mybatis.service.MfEnterpriseService; | ||
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-26 16:18 | ||
15 | **/ | ||
16 | @Service | ||
17 | public class MfEnterpriseServiceImpl extends CsbrServiceImpl<MfEnterpriseMapper, MfEnterprise> implements MfEnterpriseService { | ||
18 | |||
19 | @Resource | ||
20 | private MfEnterpriseMapper mfEnterpriseMapper; | ||
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.EnterpriseQueryVO; | ||
7 | import com.csbr.qingcloud.portal.domain.vo.EnterpriseRSVO; | ||
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-26 16:18 | ||
16 | **/ | ||
17 | public interface EnterpriseService { | ||
18 | |||
19 | /** | ||
20 | * 企业信息分页查询 | ||
21 | * @author xcq | ||
22 | * @date 2024-12-26 16:18 | ||
23 | * @param queryVO | ||
24 | * @return com.csbr.cloud.mybatis.entity.PageListVO<com.csbr.qingcloud.portal.domain.vo.EnterpriseRSVO> | ||
25 | */ | ||
26 | PageListVO<EnterpriseRSVO> pageList(EnterpriseQueryVO queryVO); | ||
27 | |||
28 | /** | ||
29 | * 企业信息获取详情数据 | ||
30 | * @author xcq | ||
31 | * @date 2024-12-26 16:18 | ||
32 | * @param guid | ||
33 | * @return com.csbr.qingcloud.portal.domain.vo.EnterpriseRSVO | ||
34 | */ | ||
35 | EnterpriseRSVO getEnterpriseDetail(String guid); | ||
36 | |||
37 | /** | ||
38 | * 企业信息数据新增 | ||
39 | * @author xcq | ||
40 | * @date 2024-12-26 16:18 | ||
41 | * @param flowBaseVO | ||
42 | * @return void | ||
43 | */ | ||
44 | void saveEnterprise(FlowRQBaseVO flowBaseVO); | ||
45 | |||
46 | /** | ||
47 | * 企业信息数据修改 | ||
48 | * @author xcq | ||
49 | * @date 2024-12-26 16:18 | ||
50 | * @param flowBaseVO | ||
51 | * @return void | ||
52 | */ | ||
53 | void updateEnterprise(FlowRQBaseVO flowBaseVO); | ||
54 | |||
55 | /** | ||
56 | * 企业信息数据删除、并有相关的处理操作 | ||
57 | * @author xcq | ||
58 | * @date 2024-12-26 16:18 | ||
59 | * @param guids | ||
60 | * @return void | ||
61 | */ | ||
62 | void removeByGuids(List<String> guids); | ||
63 | |||
64 | /** | ||
65 | * 流程结束后进行业务回调 | ||
66 | * @author xcq | ||
67 | * @date 2024-12-26 16:18 | ||
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