Commit c7c19fe2fdbc117c0b8c039427b239f7da843343

Authored by 曾国涛
1 parent 70550778

feat(Order): 新增重新开票功能

- 在订单列表页面添加重新开票按钮
- 在开票抽屉表单中增加重开发票相关字段和逻辑
- 优化开票申请流程,支持重开原因和重开发票选择
src/pages/Order/OrderList/InvoicingDrawerForm.tsx
... ... @@ -188,6 +188,7 @@ export default ({
188 188 subOrderIds: dataListCopy.map((item) => {
189 189 return item.id;
190 190 }),
  191 + applyType: type,
191 192 },
192 193 });
193 194 onClose();
... ... @@ -213,23 +214,6 @@ export default ({
213 214 </ProFormGroup>
214 215 </ProFormList>
215 216 <ProFormSelect
216   - name="invoices"
217   - label="invoices"
218   - request={async () => {
219   - let reissueIds = dataListCopy.map((item) => {
220   - return item.id;
221   - });
222   - let res = await postServiceInvoiceWaitReissueInvoices({
223   - data: reissueIds,
224   - });
225   - return enum2ReverseSelect(res.data);
226   - }}
227   - fieldProps={{
228   - mode: 'multiple',
229   - }}
230   - placeholder="请选择要重开的发票"
231   - />
232   - <ProFormSelect
233 217 name="ReissueInvoiceRecordIds"
234 218 label="重开的发票"
235 219 fieldProps={{
... ... @@ -245,7 +229,21 @@ export default ({
245 229 });
246 230 return enum2ReverseSelect(res.data);
247 231 }}
  232 + rules={
  233 + type === 'reissue'
  234 + ? [{ required: true, message: '重开发票必填' }]
  235 + : []
  236 + }
248 237 />
  238 + {type === 'reissue' && (
  239 + <ProFormTextArea
  240 + name="reissueNotes"
  241 + label="重开原因"
  242 + rules={[{ required: true, message: '重开原因必填' }]}
  243 + placeholder="请输入重新开票的原因"
  244 + />
  245 + )}
  246 +
249 247 <ProFormSelect
250 248 key="key"
251 249 label="购方名称"
... ...
src/pages/Order/OrderList/OrderList.tsx
... ... @@ -157,6 +157,7 @@ const OrderList = ({ paramsNew, searchShow, toolbarShow }) =&gt; {
157 157 useState<boolean>(false);
158 158 const [historyModalVisible, setHistoryModalVisible] =
159 159 useState<boolean>(false);
  160 + const [invoicingType, setInvoicingType] = useState<string>('');
160 161 const [isRePrintOrder, setIsRePrintOrder] = useState<boolean>(false);
161 162 const [isSendProduct, setIsSendProduct] = useState<boolean>(false);
162 163 const [isMainOrder, setIsMainOrder] = useState<boolean>(false);
... ... @@ -1846,6 +1847,7 @@ const OrderList = ({ paramsNew, searchShow, toolbarShow }) =&gt; {
1846 1847 className="p-0"
1847 1848 type="link"
1848 1849 onClick={() => {
  1850 + setInvoicingType('applyInvoicing');
1849 1851 setInvoicingDrawerFormVisible(true);
1850 1852 createOptObject(optRecord.id, record.id);
1851 1853 setIsEdit(false);
... ... @@ -3476,6 +3478,7 @@ const OrderList = ({ paramsNew, searchShow, toolbarShow }) =&gt; {
3476 3478 }
3477 3479  
3478 3480 createOptObject(null, record.id);
  3481 + setInvoicingType('applyInvoicing');
3479 3482 setInvoicingDrawerFormVisible(true);
3480 3483 setIsEdit(false);
3481 3484 setIsMainOrder(false);
... ... @@ -3517,7 +3520,6 @@ const OrderList = ({ paramsNew, searchShow, toolbarShow }) =&gt; {
3517 3520 ) {
3518 3521 //是审核通过及之后的订单
3519 3522 if (
3520   - orderStatus !== 'UNAUDITED' &&
3521 3523 orderStatus !== 'AUDIT_FAILED' &&
3522 3524 orderStatus !== 'LEADER_PROCESS' &&
3523 3525 orderStatus !== 'SALES_CONFIRM' &&
... ... @@ -4467,6 +4469,7 @@ const OrderList = ({ paramsNew, searchShow, toolbarShow }) =&gt; {
4467 4469 onClick={() => {
4468 4470 setIsEdit(false);
4469 4471 setIsMainOrder(true);
  4472 + setInvoicingType('applyInvoicing');
4470 4473 setInvoicingDrawerFormVisible(true);
4471 4474 }}
4472 4475 disabled={selectedSubOrderKeys?.length === 0}
... ... @@ -4530,6 +4533,7 @@ const OrderList = ({ paramsNew, searchShow, toolbarShow }) =&gt; {
4530 4533 return;
4531 4534 }
4532 4535 });
  4536 + setInvoicingType('applyInvoicing');
4533 4537 //遍历afterInvoicingStatusList
4534 4538 setInvoicingDrawerFormVisible(true);
4535 4539 }}
... ... @@ -4537,6 +4541,19 @@ const OrderList = ({ paramsNew, searchShow, toolbarShow }) =&gt; {
4537 4541 >
4538 4542 申请开票
4539 4543 </Button>,
  4544 + <Button
  4545 + type="primary"
  4546 + key="inv"
  4547 + onClick={() => {
  4548 + setIsMainOrder(true);
  4549 + setInvoicingType('reissue');
  4550 + //遍历afterInvoicingStatusList
  4551 + setInvoicingDrawerFormVisible(true);
  4552 + }}
  4553 + disabled={selectedSubOrderKeys?.length === 0}
  4554 + >
  4555 + 重新开票
  4556 + </Button>,
4540 4557 );
4541 4558  
4542 4559 if (rolePath?.includes('addOrder')) {
... ... @@ -5211,6 +5228,7 @@ const OrderList = ({ paramsNew, searchShow, toolbarShow }) =&gt; {
5211 5228 ? [...subOrderSelectedMap.values()].flat()
5212 5229 : buildSubOrders()
5213 5230 }
  5231 + type={invoicingType}
5214 5232 setVisible={(val: boolean) => {
5215 5233 setInvoicingDrawerFormVisible(val);
5216 5234 if (!val) {
... ...
src/services/definition.ts
... ... @@ -99,6 +99,11 @@ export interface AdminClientDto {
99 99 address?: string;
100 100 /**
101 101 * @description
  102 + * 关联销售
  103 + */
  104 + affiliateSales?: Array<any>;
  105 + /**
  106 + * @description
102 107 * 市
103 108 */
104 109 city?: string;
... ... @@ -561,6 +566,16 @@ export interface ApiCreateOrderRequest {
561 566 institutionContactName?: string;
562 567 /**
563 568 * @description
  569 + * 发票备注
  570 + */
  571 + invoiceIdentificationNumber?: string;
  572 + /**
  573 + * @description
  574 + * 发票状态
  575 + */
  576 + invoicingStatus?: string;
  577 + /**
  578 + * @description
564 579 * 商品列表
565 580 */
566 581 list?: Array<ApiCreateProductRequest>;
... ... @@ -584,6 +599,8 @@ export interface ApiCreateOrderRequest {
584 599 * 支付方式
585 600 */
586 601 paymentMethod?: string;
  602 + /** @format int64 */
  603 + researchGroupId?: number;
587 604 /**
588 605 * @description
589 606 * 销售代表
... ... @@ -1079,6 +1096,13 @@ export interface CaptchaMessageVO {
1079 1096 type?: string;
1080 1097 }
1081 1098  
  1099 +export interface ClaimPointsDto {
  1100 + orderIds?: Array<number>;
  1101 + /** @format int32 */
  1102 + uid?: number;
  1103 + userPhone?: string;
  1104 +}
  1105 +
1082 1106 export interface CommonAuditRequest {
1083 1107 extend?: any;
1084 1108 /**
... ... @@ -2172,6 +2196,21 @@ export interface MeasureUnitListResRow {
2172 2196 precision?: string;
2173 2197 }
2174 2198  
  2199 +export interface MergeIntegralDto {
  2200 + createByName?: string;
  2201 + /** @format date-time */
  2202 + createTime?: string;
  2203 + /** @format int64 */
  2204 + groupId?: number;
  2205 + logicDelete?: boolean;
  2206 + paths?: Array<string>;
  2207 + /** @format int32 */
  2208 + uid?: number;
  2209 + updateByName?: string;
  2210 + /** @format date-time */
  2211 + updateTime?: string;
  2212 +}
  2213 +
2175 2214 export interface MessageQueryDTO {
2176 2215 createByName?: string;
2177 2216 /** @format int32 */
... ... @@ -2976,6 +3015,28 @@ export interface QueryCustomerInformationDto {
2976 3015 name?: string;
2977 3016 }
2978 3017  
  3018 +export interface QueryGroupIntegralRecordDto {
  3019 + createByName?: string;
  3020 + /** @format date-time */
  3021 + createTimeGe?: string;
  3022 + /** @format date-time */
  3023 + createTimeLe?: string;
  3024 + /** @format int32 */
  3025 + current?: number;
  3026 + detalGe?: number;
  3027 + /** @format int32 */
  3028 + end?: number;
  3029 + /** @format int64 */
  3030 + groupId?: number;
  3031 + /** @format int32 */
  3032 + pageSize?: number;
  3033 + /** @format int32 */
  3034 + start?: number;
  3035 + /** @format int32 */
  3036 + total?: number;
  3037 + type?: string;
  3038 +}
  3039 +
2979 3040 export interface QueryHistoryRecordDto {
2980 3041 /**
2981 3042 * @description
... ... @@ -3240,6 +3301,16 @@ export interface QueryProcureReturnBillDto {
3240 3301 total?: number;
3241 3302 }
3242 3303  
  3304 +export interface QueryRelatedProducts {
  3305 + productName?: string;
  3306 + userPhone?: string;
  3307 +}
  3308 +
  3309 +export interface QueryRelatedSchools {
  3310 + productNames?: Array<string>;
  3311 + userPhone?: string;
  3312 +}
  3313 +
3243 3314 export interface QueryReportFormsDto {
3244 3315 /**
3245 3316 * @description
... ... @@ -3290,8 +3361,24 @@ export interface QueryUseOldInvoicingDto {
3290 3361 total?: number;
3291 3362 }
3292 3363  
  3364 +export interface QueryUserIntegralRecordDto {
  3365 + createByName?: string;
  3366 + /** @format int32 */
  3367 + current?: number;
  3368 + /** @format int32 */
  3369 + end?: number;
  3370 + /** @format int32 */
  3371 + pageSize?: number;
  3372 + /** @format int32 */
  3373 + start?: number;
  3374 + /** @format int32 */
  3375 + total?: number;
  3376 + uid?: string;
  3377 +}
  3378 +
3293 3379 export interface QueryWarningOrderStatistics {
3294 3380 excludeWhiteList?: boolean;
  3381 + querySelf?: boolean;
3295 3382 salesCode?: string;
3296 3383 /** @format date-time */
3297 3384 waitConfirmInvoiceStatusDateTimeLe?: string;
... ... @@ -3303,6 +3390,8 @@ export interface QueryWarningOrderStatistics {
3303 3390 waitConfirmReiceptStatusDateTimeLe?: string;
3304 3391 /** @format date-time */
3305 3392 waitFeedbackStatusDateTimeLe?: string;
  3393 + /** @format date-time */
  3394 + waitInvoicingStatusDateTimeLe?: string;
3306 3395 }
3307 3396  
3308 3397 export interface QueryWarningOrderWhiteListDto {
... ... @@ -3359,55 +3448,6 @@ export interface ReissueInvoiceDto {
3359 3448 purchaser?: string;
3360 3449 }
3361 3450  
3362   -export interface ResearchGroupAddRequest {
3363   - accounts?: Array<ResearchGroupAccounts>;
3364   - /**
3365   - * @description
3366   - * 单位名称
3367   - */
3368   - companyName?: string;
3369   - createByName?: string;
3370   - /** @format date-time */
3371   - createTime?: string;
3372   - /**
3373   - * @description
3374   - * 课题组名称
3375   - */
3376   - groupName?: string;
3377   - /**
3378   - * @description
3379   - * 主键id
3380   - * @format int64
3381   - */
3382   - id?: number;
3383   - /**
3384   - * @description
3385   - * 负责人
3386   - */
3387   - leaderName?: string;
3388   - logicDelete?: boolean;
3389   - members?: Array<ResearchGroupMembers>;
3390   - paths?: Array<string>;
3391   - /**
3392   - * @description
3393   - * 状态
3394   - */
3395   - status?: string;
3396   - /**
3397   - * @description
3398   - * 冗余字段,当前状态备注
3399   - */
3400   - statusNotes?: string;
3401   - /**
3402   - * @description
3403   - * 状态文本
3404   - */
3405   - statusText?: string;
3406   - updateByName?: string;
3407   - /** @format date-time */
3408   - updateTime?: string;
3409   -}
3410   -
3411 3451 export interface ResearchGroupDeleteRequest {
3412 3452 /**
3413 3453 * @description
... ... @@ -3454,6 +3494,7 @@ export interface ResearchGroupEditRequest {
3454 3494 logicDelete?: boolean;
3455 3495 members?: Array<ResearchGroupMembers>;
3456 3496 paths?: Array<string>;
  3497 + requestStatus?: string;
3457 3498 /**
3458 3499 * @description
3459 3500 * 状态
... ... @@ -3480,6 +3521,7 @@ export interface ResearchGroupListRequest {
3480 3521 * 预存账号手机号
3481 3522 */
3482 3523 accountPhone?: string;
  3524 + addAuditPass?: boolean;
3483 3525 /**
3484 3526 * @description
3485 3527 * 公司名称
... ... @@ -3502,6 +3544,11 @@ export interface ResearchGroupListRequest {
3502 3544 idIn?: Array<number>;
3503 3545 /**
3504 3546 * @description
  3547 + * 是否包含正在申请的课题组
  3548 + */
  3549 + includeApplying?: boolean;
  3550 + /**
  3551 + * @description
3505 3552 * 课题组负责人
3506 3553 */
3507 3554 leaderName?: string;
... ... @@ -3516,6 +3563,8 @@ export interface ResearchGroupListRequest {
3516 3563 */
3517 3564 memberPhone?: string;
3518 3565 /** @format int32 */
  3566 + page?: number;
  3567 + /** @format int32 */
3519 3568 pageSize?: number;
3520 3569 /** @format int32 */
3521 3570 start?: number;
... ... @@ -3614,7 +3663,62 @@ export interface ResearchGroupMemberRequestDetailRequest {
3614 3663 id?: number;
3615 3664 }
3616 3665  
3617   -export interface ResearchGroupMemberRequestEditRequest {
  3666 +export interface ResearchGroupMemberRequestsRequest {
  3667 + /**
  3668 + * @description
  3669 + * 审核备注
  3670 + */
  3671 + auditNotes?: string;
  3672 + /**
  3673 + * @description
  3674 + * 审核状态
  3675 + */
  3676 + auditStatus?: string;
  3677 + /**
  3678 + * @description
  3679 + * 创建人
  3680 + */
  3681 + createByName?: string;
  3682 + /** @format int32 */
  3683 + current?: number;
  3684 + /** @format int32 */
  3685 + end?: number;
  3686 + /**
  3687 + * @description
  3688 + * 课题组id
  3689 + * @format int64
  3690 + */
  3691 + groupId?: number;
  3692 + /**
  3693 + * @description
  3694 + * 课题组名称
  3695 + */
  3696 + groupName?: string;
  3697 + idIn?: Array<number>;
  3698 + /**
  3699 + * @description
  3700 + * 成员名称
  3701 + */
  3702 + memberName?: string;
  3703 + /**
  3704 + * @description
  3705 + * 成员手机号
  3706 + */
  3707 + memberPhone?: string;
  3708 + /** @format int32 */
  3709 + pageSize?: number;
  3710 + /**
  3711 + * @description
  3712 + * 申请备注
  3713 + */
  3714 + requestNotes?: string;
  3715 + /** @format int32 */
  3716 + start?: number;
  3717 + /** @format int32 */
  3718 + total?: number;
  3719 +}
  3720 +
  3721 +export interface ResearchGroupRequestsDto {
3618 3722 /**
3619 3723 * @description
3620 3724 * 审核备注
... ... @@ -3682,52 +3786,54 @@ export interface ResearchGroupMemberRequestEditRequest {
3682 3786 updateTime?: string;
3683 3787 }
3684 3788  
3685   -export interface ResearchGroupMemberRequestsRequest {
  3789 +export interface ResearchGroupsDTO {
  3790 + accounts?: Array<ResearchGroupAccounts>;
3686 3791 /**
3687 3792 * @description
3688   - * 审核备注
  3793 + * 单位名称
3689 3794 */
3690   - auditNotes?: string;
  3795 + companyName?: string;
  3796 + createByName?: string;
  3797 + /** @format date-time */
  3798 + createTime?: string;
3691 3799 /**
3692 3800 * @description
3693   - * 审核状态
  3801 + * 课题组名称
3694 3802 */
3695   - auditStatus?: string;
  3803 + groupName?: string;
3696 3804 /**
3697 3805 * @description
3698   - * 创建人
  3806 + * 主键id
  3807 + * @format int64
3699 3808 */
3700   - createByName?: string;
3701   - /** @format int32 */
3702   - current?: number;
3703   - /** @format int32 */
3704   - end?: number;
  3809 + id?: number;
3705 3810 /**
3706 3811 * @description
3707   - * 课题组名称
  3812 + * 负责人
3708 3813 */
3709   - groupName?: string;
  3814 + leaderName?: string;
  3815 + logicDelete?: boolean;
  3816 + members?: Array<ResearchGroupMembers>;
  3817 + paths?: Array<string>;
  3818 + requestStatus?: string;
3710 3819 /**
3711 3820 * @description
3712   - * 成员名称
  3821 + * 状态
3713 3822 */
3714   - memberName?: string;
  3823 + status?: string;
3715 3824 /**
3716 3825 * @description
3717   - * 成员手机号
  3826 + * 冗余字段,当前状态备注
3718 3827 */
3719   - memberPhone?: string;
3720   - /** @format int32 */
3721   - pageSize?: number;
  3828 + statusNotes?: string;
3722 3829 /**
3723 3830 * @description
3724   - * 申请备注
  3831 + * 状态文本
3725 3832 */
3726   - requestNotes?: string;
3727   - /** @format int32 */
3728   - start?: number;
3729   - /** @format int32 */
3730   - total?: number;
  3833 + statusText?: string;
  3834 + updateByName?: string;
  3835 + /** @format date-time */
  3836 + updateTime?: string;
3731 3837 }
3732 3838  
3733 3839 export interface ResetPwdVO {
... ... @@ -3808,6 +3914,9 @@ export interface SubOrder {
3808 3914 /** @format int64 */
3809 3915 id?: number;
3810 3916 image?: string;
  3917 + integral?: number;
  3918 + /** @format date-time */
  3919 + integralCollectionTime?: string;
3811 3920 invoiceApplyUsername?: string;
3812 3921 invoiceConfirmStatus?: string;
3813 3922 /** @format date-time */
... ... @@ -3878,6 +3987,8 @@ export interface SubOrder {
3878 3987 quantity?: number;
3879 3988 receivingCompany?: string;
3880 3989 reissueNotes?: string;
  3990 + /** @format int64 */
  3991 + researchGroupId?: number;
3881 3992 serialNumber?: string;
3882 3993 shippingWarehouse?: string;
3883 3994 /** @format date-time */
... ... @@ -4360,6 +4471,7 @@ export interface ClientCommunicationInfo {
4360 4471 logicDelete?: boolean;
4361 4472 ticketsAttachments?: string;
4362 4473 ticketsDetail?: string;
  4474 + ticketsStatus?: string;
4363 4475 ticketsType?: string;
4364 4476 ticketsTypeText?: string;
4365 4477 /**
... ... @@ -4521,6 +4633,7 @@ export interface ResearchGroupAccounts {
4521 4633 */
4522 4634 id?: number;
4523 4635 logicDelete?: boolean;
  4636 + paths?: Array<string>;
4524 4637 updateByName?: string;
4525 4638 /** @format date-time */
4526 4639 updateTime?: string;
... ... @@ -4542,6 +4655,12 @@ export interface ResearchGroupMembers {
4542 4655 * @format int64
4543 4656 */
4544 4657 id?: number;
  4658 + /**
  4659 + * @description
  4660 + * 成员等级
  4661 + * @format int64
  4662 + */
  4663 + levelStatus?: number;
4545 4664 logicDelete?: boolean;
4546 4665 /**
4547 4666 * @description
... ...
src/services/request.ts
... ... @@ -38,6 +38,7 @@ import type {
38 38 CancelInvoiceRecordDto,
39 39 CancelSendOrderDto,
40 40 CaptchaMessageVO,
  41 + ClaimPointsDto,
41 42 ClientCommunicationInfo,
42 43 CommonAuditRequest,
43 44 CompanyInfo,
... ... @@ -66,8 +67,8 @@ import type {
66 67 MaterialStockRes,
67 68 MaterialUnitListRes,
68 69 MeasureUnitListRes,
  70 + MergeIntegralDto,
69 71 MessageQueryDTO,
70   - ModelAndView,
71 72 OrderAddVO,
72 73 OrderAuditLogQueryVO,
73 74 OrderBaseInfoQueryVO,
... ... @@ -97,20 +98,23 @@ import type {
97 98 QueryClientDto,
98 99 QueryCommunicationInfoDto,
99 100 QueryCustomerInformationDto,
  101 + QueryGroupIntegralRecordDto,
100 102 QueryHistoryRecordDto,
101 103 QueryInvoiceDetailDto,
102 104 QueryInvoiceProjectDto,
103 105 QueryInvoiceRecordDto,
104 106 QueryMainOrderDto,
105 107 QueryProcureReturnBillDto,
  108 + QueryRelatedProducts,
  109 + QueryRelatedSchools,
106 110 QueryReportFormsDto,
107 111 QueryUseOldInvoicingDto,
  112 + QueryUserIntegralRecordDto,
108 113 QueryWarningOrderStatistics,
109 114 QueryWarningOrderWhiteListDto,
110 115 QueryWarningUserWhiteListDto,
111 116 QueryWriteOffRecordDto,
112 117 ReissueInvoiceDto,
113   - ResearchGroupAddRequest,
114 118 ResearchGroupDeleteRequest,
115 119 ResearchGroupDetailRequest,
116 120 ResearchGroupEditRequest,
... ... @@ -118,8 +122,9 @@ import type {
118 122 ResearchGroupMemberRequestAddRequest,
119 123 ResearchGroupMemberRequestDeleteRequest,
120 124 ResearchGroupMemberRequestDetailRequest,
121   - ResearchGroupMemberRequestEditRequest,
122 125 ResearchGroupMemberRequestsRequest,
  126 + ResearchGroupRequestsDto,
  127 + ResearchGroupsDTO,
123 128 ResetPwdVO,
124 129 SalOrderSaveDto,
125 130 SalesRechargePrepaymentAuditRequest,
... ... @@ -1363,6 +1368,77 @@ export const postApiOrderApplyAfterSales = /* #__PURE__ */ (() =&gt; {
1363 1368 return request;
1364 1369 })();
1365 1370  
  1371 +/** @description request parameter type for postApiOrderClaimPoints */
  1372 +export interface PostApiOrderClaimPointsOption {
  1373 + /**
  1374 + * @description
  1375 + * claimPointsDto
  1376 + */
  1377 + body: {
  1378 + /**
  1379 + @description
  1380 + claimPointsDto */
  1381 + claimPointsDto: ClaimPointsDto;
  1382 + };
  1383 +}
  1384 +
  1385 +/** @description response type for postApiOrderClaimPoints */
  1386 +export interface PostApiOrderClaimPointsResponse {
  1387 + /**
  1388 + * @description
  1389 + * OK
  1390 + */
  1391 + 200: ServerResult;
  1392 + /**
  1393 + * @description
  1394 + * Created
  1395 + */
  1396 + 201: any;
  1397 + /**
  1398 + * @description
  1399 + * Unauthorized
  1400 + */
  1401 + 401: any;
  1402 + /**
  1403 + * @description
  1404 + * Forbidden
  1405 + */
  1406 + 403: any;
  1407 + /**
  1408 + * @description
  1409 + * Not Found
  1410 + */
  1411 + 404: any;
  1412 +}
  1413 +
  1414 +export type PostApiOrderClaimPointsResponseSuccess =
  1415 + PostApiOrderClaimPointsResponse[200];
  1416 +/**
  1417 + * @description
  1418 + * 领取积分
  1419 + * @tags 内部订单
  1420 + * @produces *
  1421 + * @consumes application/json
  1422 + */
  1423 +export const postApiOrderClaimPoints = /* #__PURE__ */ (() => {
  1424 + const method = 'post';
  1425 + const url = '/api/order/claimPoints';
  1426 + function request(
  1427 + option: PostApiOrderClaimPointsOption,
  1428 + ): Promise<PostApiOrderClaimPointsResponseSuccess> {
  1429 + return requester(request.url, {
  1430 + method: request.method,
  1431 + ...option,
  1432 + }) as unknown as Promise<PostApiOrderClaimPointsResponseSuccess>;
  1433 + }
  1434 +
  1435 + /** http method */
  1436 + request.method = method;
  1437 + /** request url */
  1438 + request.url = url;
  1439 + return request;
  1440 +})();
  1441 +
1366 1442 /** @description request parameter type for postApiOrderConfirmReceive */
1367 1443 export interface PostApiOrderConfirmReceiveOption {
1368 1444 /**
... ... @@ -2056,6 +2132,148 @@ export const postApiOrderQueryServiceOrder = /* #__PURE__ */ (() =&gt; {
2056 2132 return request;
2057 2133 })();
2058 2134  
  2135 +/** @description request parameter type for postApiOrderRelatedProducts */
  2136 +export interface PostApiOrderRelatedProductsOption {
  2137 + /**
  2138 + * @description
  2139 + * queryRelatedProducts
  2140 + */
  2141 + body: {
  2142 + /**
  2143 + @description
  2144 + queryRelatedProducts */
  2145 + queryRelatedProducts: QueryRelatedProducts;
  2146 + };
  2147 +}
  2148 +
  2149 +/** @description response type for postApiOrderRelatedProducts */
  2150 +export interface PostApiOrderRelatedProductsResponse {
  2151 + /**
  2152 + * @description
  2153 + * OK
  2154 + */
  2155 + 200: ServerResult;
  2156 + /**
  2157 + * @description
  2158 + * Created
  2159 + */
  2160 + 201: any;
  2161 + /**
  2162 + * @description
  2163 + * Unauthorized
  2164 + */
  2165 + 401: any;
  2166 + /**
  2167 + * @description
  2168 + * Forbidden
  2169 + */
  2170 + 403: any;
  2171 + /**
  2172 + * @description
  2173 + * Not Found
  2174 + */
  2175 + 404: any;
  2176 +}
  2177 +
  2178 +export type PostApiOrderRelatedProductsResponseSuccess =
  2179 + PostApiOrderRelatedProductsResponse[200];
  2180 +/**
  2181 + * @description
  2182 + * 获取用户购买某个商品关联的其他商品
  2183 + * @tags 内部订单
  2184 + * @produces *
  2185 + * @consumes application/json
  2186 + */
  2187 +export const postApiOrderRelatedProducts = /* #__PURE__ */ (() => {
  2188 + const method = 'post';
  2189 + const url = '/api/order/relatedProducts';
  2190 + function request(
  2191 + option: PostApiOrderRelatedProductsOption,
  2192 + ): Promise<PostApiOrderRelatedProductsResponseSuccess> {
  2193 + return requester(request.url, {
  2194 + method: request.method,
  2195 + ...option,
  2196 + }) as unknown as Promise<PostApiOrderRelatedProductsResponseSuccess>;
  2197 + }
  2198 +
  2199 + /** http method */
  2200 + request.method = method;
  2201 + /** request url */
  2202 + request.url = url;
  2203 + return request;
  2204 +})();
  2205 +
  2206 +/** @description request parameter type for postApiOrderRelatedSchools */
  2207 +export interface PostApiOrderRelatedSchoolsOption {
  2208 + /**
  2209 + * @description
  2210 + * queryRelatedSchools
  2211 + */
  2212 + body: {
  2213 + /**
  2214 + @description
  2215 + queryRelatedSchools */
  2216 + queryRelatedSchools: QueryRelatedSchools;
  2217 + };
  2218 +}
  2219 +
  2220 +/** @description response type for postApiOrderRelatedSchools */
  2221 +export interface PostApiOrderRelatedSchoolsResponse {
  2222 + /**
  2223 + * @description
  2224 + * OK
  2225 + */
  2226 + 200: ServerResult;
  2227 + /**
  2228 + * @description
  2229 + * Created
  2230 + */
  2231 + 201: any;
  2232 + /**
  2233 + * @description
  2234 + * Unauthorized
  2235 + */
  2236 + 401: any;
  2237 + /**
  2238 + * @description
  2239 + * Forbidden
  2240 + */
  2241 + 403: any;
  2242 + /**
  2243 + * @description
  2244 + * Not Found
  2245 + */
  2246 + 404: any;
  2247 +}
  2248 +
  2249 +export type PostApiOrderRelatedSchoolsResponseSuccess =
  2250 + PostApiOrderRelatedSchoolsResponse[200];
  2251 +/**
  2252 + * @description
  2253 + * 获取购买某个商品的学校
  2254 + * @tags 内部订单
  2255 + * @produces *
  2256 + * @consumes application/json
  2257 + */
  2258 +export const postApiOrderRelatedSchools = /* #__PURE__ */ (() => {
  2259 + const method = 'post';
  2260 + const url = '/api/order/relatedSchools';
  2261 + function request(
  2262 + option: PostApiOrderRelatedSchoolsOption,
  2263 + ): Promise<PostApiOrderRelatedSchoolsResponseSuccess> {
  2264 + return requester(request.url, {
  2265 + method: request.method,
  2266 + ...option,
  2267 + }) as unknown as Promise<PostApiOrderRelatedSchoolsResponseSuccess>;
  2268 + }
  2269 +
  2270 + /** http method */
  2271 + request.method = method;
  2272 + /** request url */
  2273 + request.url = url;
  2274 + return request;
  2275 +})();
  2276 +
2059 2277 /** @description request parameter type for postApiOrderStoreApplyInvoice */
2060 2278 export interface PostApiOrderStoreApplyInvoiceOption {
2061 2279 /**
... ... @@ -3318,7 +3536,9 @@ export interface GetErrorResponse {
3318 3536 * @description
3319 3537 * OK
3320 3538 */
3321   - 200: ModelAndView;
  3539 + 200: {
  3540 + [propertyName: string]: any;
  3541 + };
3322 3542 /**
3323 3543 * @description
3324 3544 * Unauthorized
... ... @@ -3339,9 +3559,9 @@ export interface GetErrorResponse {
3339 3559 export type GetErrorResponseSuccess = GetErrorResponse[200];
3340 3560 /**
3341 3561 * @description
3342   - * errorHtml
  3562 + * error
3343 3563 * @tags basic-error-controller
3344   - * @produces text/html
  3564 + * @produces *
3345 3565 */
3346 3566 export const getError = /* #__PURE__ */ (() => {
3347 3567 const method = 'get';
... ... @@ -3365,7 +3585,9 @@ export interface PutErrorResponse {
3365 3585 * @description
3366 3586 * OK
3367 3587 */
3368   - 200: ModelAndView;
  3588 + 200: {
  3589 + [propertyName: string]: any;
  3590 + };
3369 3591 /**
3370 3592 * @description
3371 3593 * Created
... ... @@ -3391,9 +3613,9 @@ export interface PutErrorResponse {
3391 3613 export type PutErrorResponseSuccess = PutErrorResponse[200];
3392 3614 /**
3393 3615 * @description
3394   - * errorHtml
  3616 + * error
3395 3617 * @tags basic-error-controller
3396   - * @produces text/html
  3618 + * @produces *
3397 3619 * @consumes application/json
3398 3620 */
3399 3621 export const putError = /* #__PURE__ */ (() => {
... ... @@ -3418,7 +3640,9 @@ export interface PostErrorResponse {
3418 3640 * @description
3419 3641 * OK
3420 3642 */
3421   - 200: ModelAndView;
  3643 + 200: {
  3644 + [propertyName: string]: any;
  3645 + };
3422 3646 /**
3423 3647 * @description
3424 3648 * Created
... ... @@ -3444,9 +3668,9 @@ export interface PostErrorResponse {
3444 3668 export type PostErrorResponseSuccess = PostErrorResponse[200];
3445 3669 /**
3446 3670 * @description
3447   - * errorHtml
  3671 + * error
3448 3672 * @tags basic-error-controller
3449   - * @produces text/html
  3673 + * @produces *
3450 3674 * @consumes application/json
3451 3675 */
3452 3676 export const postError = /* #__PURE__ */ (() => {
... ... @@ -3471,12 +3695,349 @@ export interface DeleteErrorResponse {
3471 3695 * @description
3472 3696 * OK
3473 3697 */
3474   - 200: ModelAndView;
  3698 + 200: {
  3699 + [propertyName: string]: any;
  3700 + };
  3701 + /**
  3702 + * @description
  3703 + * No Content
  3704 + */
  3705 + 204: any;
  3706 + /**
  3707 + * @description
  3708 + * Unauthorized
  3709 + */
  3710 + 401: any;
  3711 + /**
  3712 + * @description
  3713 + * Forbidden
  3714 + */
  3715 + 403: any;
  3716 +}
  3717 +
  3718 +export type DeleteErrorResponseSuccess = DeleteErrorResponse[200];
  3719 +/**
  3720 + * @description
  3721 + * error
  3722 + * @tags basic-error-controller
  3723 + * @produces *
  3724 + */
  3725 +export const deleteError = /* #__PURE__ */ (() => {
  3726 + const method = 'delete';
  3727 + const url = '/error';
  3728 + function request(): Promise<DeleteErrorResponseSuccess> {
  3729 + return requester(request.url, {
  3730 + method: request.method,
  3731 + }) as unknown as Promise<DeleteErrorResponseSuccess>;
  3732 + }
  3733 +
  3734 + /** http method */
  3735 + request.method = method;
  3736 + /** request url */
  3737 + request.url = url;
  3738 + return request;
  3739 +})();
  3740 +
  3741 +/** @description response type for optionsError */
  3742 +export interface OptionsErrorResponse {
  3743 + /**
  3744 + * @description
  3745 + * OK
  3746 + */
  3747 + 200: {
  3748 + [propertyName: string]: any;
  3749 + };
  3750 + /**
  3751 + * @description
  3752 + * No Content
  3753 + */
  3754 + 204: any;
  3755 + /**
  3756 + * @description
  3757 + * Unauthorized
  3758 + */
  3759 + 401: any;
  3760 + /**
  3761 + * @description
  3762 + * Forbidden
  3763 + */
  3764 + 403: any;
  3765 +}
  3766 +
  3767 +export type OptionsErrorResponseSuccess = OptionsErrorResponse[200];
  3768 +/**
  3769 + * @description
  3770 + * error
  3771 + * @tags basic-error-controller
  3772 + * @produces *
  3773 + * @consumes application/json
  3774 + */
  3775 +export const optionsError = /* #__PURE__ */ (() => {
  3776 + const method = 'options';
  3777 + const url = '/error';
  3778 + function request(): Promise<OptionsErrorResponseSuccess> {
  3779 + return requester(request.url, {
  3780 + method: request.method,
  3781 + }) as unknown as Promise<OptionsErrorResponseSuccess>;
  3782 + }
  3783 +
  3784 + /** http method */
  3785 + request.method = method;
  3786 + /** request url */
  3787 + request.url = url;
  3788 + return request;
  3789 +})();
  3790 +
  3791 +/** @description response type for headError */
  3792 +export interface HeadErrorResponse {
  3793 + /**
  3794 + * @description
  3795 + * OK
  3796 + */
  3797 + 200: {
  3798 + [propertyName: string]: any;
  3799 + };
  3800 + /**
  3801 + * @description
  3802 + * No Content
  3803 + */
  3804 + 204: any;
  3805 + /**
  3806 + * @description
  3807 + * Unauthorized
  3808 + */
  3809 + 401: any;
  3810 + /**
  3811 + * @description
  3812 + * Forbidden
  3813 + */
  3814 + 403: any;
  3815 +}
  3816 +
  3817 +export type HeadErrorResponseSuccess = HeadErrorResponse[200];
  3818 +/**
  3819 + * @description
  3820 + * error
  3821 + * @tags basic-error-controller
  3822 + * @produces *
  3823 + * @consumes application/json
  3824 + */
  3825 +export const headError = /* #__PURE__ */ (() => {
  3826 + const method = 'head';
  3827 + const url = '/error';
  3828 + function request(): Promise<HeadErrorResponseSuccess> {
  3829 + return requester(request.url, {
  3830 + method: request.method,
  3831 + }) as unknown as Promise<HeadErrorResponseSuccess>;
  3832 + }
  3833 +
  3834 + /** http method */
  3835 + request.method = method;
  3836 + /** request url */
  3837 + request.url = url;
  3838 + return request;
  3839 +})();
  3840 +
  3841 +/** @description response type for patchError */
  3842 +export interface PatchErrorResponse {
  3843 + /**
  3844 + * @description
  3845 + * OK
  3846 + */
  3847 + 200: {
  3848 + [propertyName: string]: any;
  3849 + };
  3850 + /**
  3851 + * @description
  3852 + * No Content
  3853 + */
  3854 + 204: any;
  3855 + /**
  3856 + * @description
  3857 + * Unauthorized
  3858 + */
  3859 + 401: any;
  3860 + /**
  3861 + * @description
  3862 + * Forbidden
  3863 + */
  3864 + 403: any;
  3865 +}
  3866 +
  3867 +export type PatchErrorResponseSuccess = PatchErrorResponse[200];
  3868 +/**
  3869 + * @description
  3870 + * error
  3871 + * @tags basic-error-controller
  3872 + * @produces *
  3873 + * @consumes application/json
  3874 + */
  3875 +export const patchError = /* #__PURE__ */ (() => {
  3876 + const method = 'patch';
  3877 + const url = '/error';
  3878 + function request(): Promise<PatchErrorResponseSuccess> {
  3879 + return requester(request.url, {
  3880 + method: request.method,
  3881 + }) as unknown as Promise<PatchErrorResponseSuccess>;
  3882 + }
  3883 +
  3884 + /** http method */
  3885 + request.method = method;
  3886 + /** request url */
  3887 + request.url = url;
  3888 + return request;
  3889 +})();
  3890 +
  3891 +/** @description request parameter type for postFileDirectDown */
  3892 +export interface PostFileDirectDownOption {
  3893 + /**
  3894 + * @description
  3895 + * urls
  3896 + */
  3897 + body: {
  3898 + /**
  3899 + @description
  3900 + urls */
  3901 + urls: Array<string>;
  3902 + };
  3903 +}
  3904 +
  3905 +/** @description response type for postFileDirectDown */
  3906 +export interface PostFileDirectDownResponse {
  3907 + /**
  3908 + * @description
  3909 + * OK
  3910 + */
  3911 + 200: any;
  3912 + /**
  3913 + * @description
  3914 + * Created
  3915 + */
  3916 + 201: any;
  3917 + /**
  3918 + * @description
  3919 + * Unauthorized
  3920 + */
  3921 + 401: any;
  3922 + /**
  3923 + * @description
  3924 + * Forbidden
  3925 + */
  3926 + 403: any;
  3927 + /**
  3928 + * @description
  3929 + * Not Found
  3930 + */
  3931 + 404: any;
  3932 +}
  3933 +
  3934 +export type PostFileDirectDownResponseSuccess = PostFileDirectDownResponse[200];
  3935 +/**
  3936 + * @description
  3937 + * directDownFile
  3938 + * @tags file-controller
  3939 + * @produces *
  3940 + * @consumes application/json
  3941 + */
  3942 +export const postFileDirectDown = /* #__PURE__ */ (() => {
  3943 + const method = 'post';
  3944 + const url = '/file/directDown';
  3945 + function request(
  3946 + option: PostFileDirectDownOption,
  3947 + ): Promise<PostFileDirectDownResponseSuccess> {
  3948 + return requester(request.url, {
  3949 + method: request.method,
  3950 + ...option,
  3951 + }) as unknown as Promise<PostFileDirectDownResponseSuccess>;
  3952 + }
  3953 +
  3954 + /** http method */
  3955 + request.method = method;
  3956 + /** request url */
  3957 + request.url = url;
  3958 + return request;
  3959 +})();
  3960 +
  3961 +/** @description response type for postIntegralGetIntegralRecordTypes */
  3962 +export interface PostIntegralGetIntegralRecordTypesResponse {
  3963 + /**
  3964 + * @description
  3965 + * OK
  3966 + */
  3967 + 200: ServerResult;
  3968 + /**
  3969 + * @description
  3970 + * Created
  3971 + */
  3972 + 201: any;
  3973 + /**
  3974 + * @description
  3975 + * Unauthorized
  3976 + */
  3977 + 401: any;
  3978 + /**
  3979 + * @description
  3980 + * Forbidden
  3981 + */
  3982 + 403: any;
  3983 + /**
  3984 + * @description
  3985 + * Not Found
  3986 + */
  3987 + 404: any;
  3988 +}
  3989 +
  3990 +export type PostIntegralGetIntegralRecordTypesResponseSuccess =
  3991 + PostIntegralGetIntegralRecordTypesResponse[200];
  3992 +/**
  3993 + * @description
  3994 + * 获取积分记录类型
  3995 + * @tags 积分接口
  3996 + * @produces *
  3997 + * @consumes application/json
  3998 + */
  3999 +export const postIntegralGetIntegralRecordTypes = /* #__PURE__ */ (() => {
  4000 + const method = 'post';
  4001 + const url = '/integral/getIntegralRecordTypes';
  4002 + function request(): Promise<PostIntegralGetIntegralRecordTypesResponseSuccess> {
  4003 + return requester(request.url, {
  4004 + method: request.method,
  4005 + }) as unknown as Promise<PostIntegralGetIntegralRecordTypesResponseSuccess>;
  4006 + }
  4007 +
  4008 + /** http method */
  4009 + request.method = method;
  4010 + /** request url */
  4011 + request.url = url;
  4012 + return request;
  4013 +})();
  4014 +
  4015 +/** @description request parameter type for postIntegralMergeUserIntegralToGroup */
  4016 +export interface PostIntegralMergeUserIntegralToGroupOption {
  4017 + /**
  4018 + * @description
  4019 + * dto
  4020 + */
  4021 + body: {
  4022 + /**
  4023 + @description
  4024 + dto */
  4025 + dto: MergeIntegralDto;
  4026 + };
  4027 +}
  4028 +
  4029 +/** @description response type for postIntegralMergeUserIntegralToGroup */
  4030 +export interface PostIntegralMergeUserIntegralToGroupResponse {
  4031 + /**
  4032 + * @description
  4033 + * OK
  4034 + */
  4035 + 200: ServerResult;
3475 4036 /**
3476 4037 * @description
3477   - * No Content
  4038 + * Created
3478 4039 */
3479   - 204: any;
  4040 + 201: any;
3480 4041 /**
3481 4042 * @description
3482 4043 * Unauthorized
... ... @@ -3487,22 +4048,32 @@ export interface DeleteErrorResponse {
3487 4048 * Forbidden
3488 4049 */
3489 4050 403: any;
  4051 + /**
  4052 + * @description
  4053 + * Not Found
  4054 + */
  4055 + 404: any;
3490 4056 }
3491 4057  
3492   -export type DeleteErrorResponseSuccess = DeleteErrorResponse[200];
  4058 +export type PostIntegralMergeUserIntegralToGroupResponseSuccess =
  4059 + PostIntegralMergeUserIntegralToGroupResponse[200];
3493 4060 /**
3494 4061 * @description
3495   - * errorHtml
3496   - * @tags basic-error-controller
3497   - * @produces text/html
  4062 + * 并入积分到课题组
  4063 + * @tags 积分接口
  4064 + * @produces *
  4065 + * @consumes application/json
3498 4066 */
3499   -export const deleteError = /* #__PURE__ */ (() => {
3500   - const method = 'delete';
3501   - const url = '/error';
3502   - function request(): Promise<DeleteErrorResponseSuccess> {
  4067 +export const postIntegralMergeUserIntegralToGroup = /* #__PURE__ */ (() => {
  4068 + const method = 'post';
  4069 + const url = '/integral/mergeUserIntegralToGroup';
  4070 + function request(
  4071 + option: PostIntegralMergeUserIntegralToGroupOption,
  4072 + ): Promise<PostIntegralMergeUserIntegralToGroupResponseSuccess> {
3503 4073 return requester(request.url, {
3504 4074 method: request.method,
3505   - }) as unknown as Promise<DeleteErrorResponseSuccess>;
  4075 + ...option,
  4076 + }) as unknown as Promise<PostIntegralMergeUserIntegralToGroupResponseSuccess>;
3506 4077 }
3507 4078  
3508 4079 /** http method */
... ... @@ -3512,18 +4083,32 @@ export const deleteError = /* #__PURE__ */ (() =&gt; {
3512 4083 return request;
3513 4084 })();
3514 4085  
3515   -/** @description response type for optionsError */
3516   -export interface OptionsErrorResponse {
  4086 +/** @description request parameter type for postIntegralQueryByGroup */
  4087 +export interface PostIntegralQueryByGroupOption {
  4088 + /**
  4089 + * @description
  4090 + * query
  4091 + */
  4092 + body: {
  4093 + /**
  4094 + @description
  4095 + query */
  4096 + query: QueryGroupIntegralRecordDto;
  4097 + };
  4098 +}
  4099 +
  4100 +/** @description response type for postIntegralQueryByGroup */
  4101 +export interface PostIntegralQueryByGroupResponse {
3517 4102 /**
3518 4103 * @description
3519 4104 * OK
3520 4105 */
3521   - 200: ModelAndView;
  4106 + 200: ServerResult;
3522 4107 /**
3523 4108 * @description
3524   - * No Content
  4109 + * Created
3525 4110 */
3526   - 204: any;
  4111 + 201: any;
3527 4112 /**
3528 4113 * @description
3529 4114 * Unauthorized
... ... @@ -3534,23 +4119,32 @@ export interface OptionsErrorResponse {
3534 4119 * Forbidden
3535 4120 */
3536 4121 403: any;
  4122 + /**
  4123 + * @description
  4124 + * Not Found
  4125 + */
  4126 + 404: any;
3537 4127 }
3538 4128  
3539   -export type OptionsErrorResponseSuccess = OptionsErrorResponse[200];
  4129 +export type PostIntegralQueryByGroupResponseSuccess =
  4130 + PostIntegralQueryByGroupResponse[200];
3540 4131 /**
3541 4132 * @description
3542   - * errorHtml
3543   - * @tags basic-error-controller
3544   - * @produces text/html
  4133 + * 查询课题组积分记录
  4134 + * @tags 积分接口
  4135 + * @produces *
3545 4136 * @consumes application/json
3546 4137 */
3547   -export const optionsError = /* #__PURE__ */ (() => {
3548   - const method = 'options';
3549   - const url = '/error';
3550   - function request(): Promise<OptionsErrorResponseSuccess> {
  4138 +export const postIntegralQueryByGroup = /* #__PURE__ */ (() => {
  4139 + const method = 'post';
  4140 + const url = '/integral/queryByGroup';
  4141 + function request(
  4142 + option: PostIntegralQueryByGroupOption,
  4143 + ): Promise<PostIntegralQueryByGroupResponseSuccess> {
3551 4144 return requester(request.url, {
3552 4145 method: request.method,
3553   - }) as unknown as Promise<OptionsErrorResponseSuccess>;
  4146 + ...option,
  4147 + }) as unknown as Promise<PostIntegralQueryByGroupResponseSuccess>;
3554 4148 }
3555 4149  
3556 4150 /** http method */
... ... @@ -3560,18 +4154,32 @@ export const optionsError = /* #__PURE__ */ (() =&gt; {
3560 4154 return request;
3561 4155 })();
3562 4156  
3563   -/** @description response type for headError */
3564   -export interface HeadErrorResponse {
  4157 +/** @description request parameter type for postIntegralQueryByUser */
  4158 +export interface PostIntegralQueryByUserOption {
  4159 + /**
  4160 + * @description
  4161 + * query
  4162 + */
  4163 + body: {
  4164 + /**
  4165 + @description
  4166 + query */
  4167 + query: QueryUserIntegralRecordDto;
  4168 + };
  4169 +}
  4170 +
  4171 +/** @description response type for postIntegralQueryByUser */
  4172 +export interface PostIntegralQueryByUserResponse {
3565 4173 /**
3566 4174 * @description
3567 4175 * OK
3568 4176 */
3569   - 200: ModelAndView;
  4177 + 200: ServerResult;
3570 4178 /**
3571 4179 * @description
3572   - * No Content
  4180 + * Created
3573 4181 */
3574   - 204: any;
  4182 + 201: any;
3575 4183 /**
3576 4184 * @description
3577 4185 * Unauthorized
... ... @@ -3582,23 +4190,32 @@ export interface HeadErrorResponse {
3582 4190 * Forbidden
3583 4191 */
3584 4192 403: any;
  4193 + /**
  4194 + * @description
  4195 + * Not Found
  4196 + */
  4197 + 404: any;
3585 4198 }
3586 4199  
3587   -export type HeadErrorResponseSuccess = HeadErrorResponse[200];
  4200 +export type PostIntegralQueryByUserResponseSuccess =
  4201 + PostIntegralQueryByUserResponse[200];
3588 4202 /**
3589 4203 * @description
3590   - * errorHtml
3591   - * @tags basic-error-controller
3592   - * @produces text/html
  4204 + * 查询用户积分记录
  4205 + * @tags 积分接口
  4206 + * @produces *
3593 4207 * @consumes application/json
3594 4208 */
3595   -export const headError = /* #__PURE__ */ (() => {
3596   - const method = 'head';
3597   - const url = '/error';
3598   - function request(): Promise<HeadErrorResponseSuccess> {
  4209 +export const postIntegralQueryByUser = /* #__PURE__ */ (() => {
  4210 + const method = 'post';
  4211 + const url = '/integral/queryByUser';
  4212 + function request(
  4213 + option: PostIntegralQueryByUserOption,
  4214 + ): Promise<PostIntegralQueryByUserResponseSuccess> {
3599 4215 return requester(request.url, {
3600 4216 method: request.method,
3601   - }) as unknown as Promise<HeadErrorResponseSuccess>;
  4217 + ...option,
  4218 + }) as unknown as Promise<PostIntegralQueryByUserResponseSuccess>;
3602 4219 }
3603 4220  
3604 4221 /** http method */
... ... @@ -3608,18 +4225,32 @@ export const headError = /* #__PURE__ */ (() =&gt; {
3608 4225 return request;
3609 4226 })();
3610 4227  
3611   -/** @description response type for patchError */
3612   -export interface PatchErrorResponse {
  4228 +/** @description request parameter type for postIntegralQuerySumByGroup */
  4229 +export interface PostIntegralQuerySumByGroupOption {
  4230 + /**
  4231 + * @description
  4232 + * query
  4233 + */
  4234 + body: {
  4235 + /**
  4236 + @description
  4237 + query */
  4238 + query: QueryGroupIntegralRecordDto;
  4239 + };
  4240 +}
  4241 +
  4242 +/** @description response type for postIntegralQuerySumByGroup */
  4243 +export interface PostIntegralQuerySumByGroupResponse {
3613 4244 /**
3614 4245 * @description
3615 4246 * OK
3616 4247 */
3617   - 200: ModelAndView;
  4248 + 200: ServerResult;
3618 4249 /**
3619 4250 * @description
3620   - * No Content
  4251 + * Created
3621 4252 */
3622   - 204: any;
  4253 + 201: any;
3623 4254 /**
3624 4255 * @description
3625 4256 * Unauthorized
... ... @@ -3630,23 +4261,32 @@ export interface PatchErrorResponse {
3630 4261 * Forbidden
3631 4262 */
3632 4263 403: any;
  4264 + /**
  4265 + * @description
  4266 + * Not Found
  4267 + */
  4268 + 404: any;
3633 4269 }
3634 4270  
3635   -export type PatchErrorResponseSuccess = PatchErrorResponse[200];
  4271 +export type PostIntegralQuerySumByGroupResponseSuccess =
  4272 + PostIntegralQuerySumByGroupResponse[200];
3636 4273 /**
3637 4274 * @description
3638   - * errorHtml
3639   - * @tags basic-error-controller
3640   - * @produces text/html
  4275 + * 查询课题组积分总额
  4276 + * @tags 积分接口
  4277 + * @produces *
3641 4278 * @consumes application/json
3642 4279 */
3643   -export const patchError = /* #__PURE__ */ (() => {
3644   - const method = 'patch';
3645   - const url = '/error';
3646   - function request(): Promise<PatchErrorResponseSuccess> {
  4280 +export const postIntegralQuerySumByGroup = /* #__PURE__ */ (() => {
  4281 + const method = 'post';
  4282 + const url = '/integral/querySumByGroup';
  4283 + function request(
  4284 + option: PostIntegralQuerySumByGroupOption,
  4285 + ): Promise<PostIntegralQuerySumByGroupResponseSuccess> {
3647 4286 return requester(request.url, {
3648 4287 method: request.method,
3649   - }) as unknown as Promise<PatchErrorResponseSuccess>;
  4288 + ...option,
  4289 + }) as unknown as Promise<PostIntegralQuerySumByGroupResponseSuccess>;
3650 4290 }
3651 4291  
3652 4292 /** http method */
... ... @@ -3656,27 +4296,27 @@ export const patchError = /* #__PURE__ */ (() =&gt; {
3656 4296 return request;
3657 4297 })();
3658 4298  
3659   -/** @description request parameter type for postFileDirectDown */
3660   -export interface PostFileDirectDownOption {
  4299 +/** @description request parameter type for postIntegralQuerySumByUser */
  4300 +export interface PostIntegralQuerySumByUserOption {
3661 4301 /**
3662 4302 * @description
3663   - * urls
  4303 + * query
3664 4304 */
3665 4305 body: {
3666 4306 /**
3667 4307 @description
3668   - urls */
3669   - urls: Array<string>;
  4308 + query */
  4309 + query: QueryUserIntegralRecordDto;
3670 4310 };
3671 4311 }
3672 4312  
3673   -/** @description response type for postFileDirectDown */
3674   -export interface PostFileDirectDownResponse {
  4313 +/** @description response type for postIntegralQuerySumByUser */
  4314 +export interface PostIntegralQuerySumByUserResponse {
3675 4315 /**
3676 4316 * @description
3677 4317 * OK
3678 4318 */
3679   - 200: any;
  4319 + 200: ServerResult;
3680 4320 /**
3681 4321 * @description
3682 4322 * Created
... ... @@ -3699,24 +4339,25 @@ export interface PostFileDirectDownResponse {
3699 4339 404: any;
3700 4340 }
3701 4341  
3702   -export type PostFileDirectDownResponseSuccess = PostFileDirectDownResponse[200];
  4342 +export type PostIntegralQuerySumByUserResponseSuccess =
  4343 + PostIntegralQuerySumByUserResponse[200];
3703 4344 /**
3704 4345 * @description
3705   - * directDownFile
3706   - * @tags file-controller
  4346 + * 查询用户积分总额
  4347 + * @tags 积分接口
3707 4348 * @produces *
3708 4349 * @consumes application/json
3709 4350 */
3710   -export const postFileDirectDown = /* #__PURE__ */ (() => {
  4351 +export const postIntegralQuerySumByUser = /* #__PURE__ */ (() => {
3711 4352 const method = 'post';
3712   - const url = '/file/directDown';
  4353 + const url = '/integral/querySumByUser';
3713 4354 function request(
3714   - option: PostFileDirectDownOption,
3715   - ): Promise<PostFileDirectDownResponseSuccess> {
  4355 + option: PostIntegralQuerySumByUserOption,
  4356 + ): Promise<PostIntegralQuerySumByUserResponseSuccess> {
3716 4357 return requester(request.url, {
3717 4358 method: request.method,
3718 4359 ...option,
3719   - }) as unknown as Promise<PostFileDirectDownResponseSuccess>;
  4360 + }) as unknown as Promise<PostIntegralQuerySumByUserResponseSuccess>;
3720 4361 }
3721 4362  
3722 4363 /** http method */
... ... @@ -12551,7 +13192,7 @@ export interface PostResearchGroupMemberRequestsEditOption {
12551 13192 /**
12552 13193 @description
12553 13194 request */
12554   - request: ResearchGroupMemberRequestEditRequest;
  13195 + request: ResearchGroupRequestsDto;
12555 13196 };
12556 13197 }
12557 13198  
... ... @@ -12693,7 +13334,7 @@ export interface PostResearchGroupsAddOption {
12693 13334 /**
12694 13335 @description
12695 13336 request */
12696   - request: ResearchGroupAddRequest;
  13337 + request: ResearchGroupsDTO;
12697 13338 };
12698 13339 }
12699 13340  
... ... @@ -12754,6 +13395,77 @@ export const postResearchGroupsAdd = /* #__PURE__ */ (() =&gt; {
12754 13395 return request;
12755 13396 })();
12756 13397  
  13398 +/** @description request parameter type for postResearchGroupsAudit */
  13399 +export interface PostResearchGroupsAuditOption {
  13400 + query?: {
  13401 + extend?: any;
  13402 + /**
  13403 + @description
  13404 + id集合 */
  13405 + ids?: Array<string>;
  13406 + notes?: string;
  13407 + pass?: boolean;
  13408 + type?: string;
  13409 + };
  13410 +}
  13411 +
  13412 +/** @description response type for postResearchGroupsAudit */
  13413 +export interface PostResearchGroupsAuditResponse {
  13414 + /**
  13415 + * @description
  13416 + * OK
  13417 + */
  13418 + 200: any;
  13419 + /**
  13420 + * @description
  13421 + * Created
  13422 + */
  13423 + 201: any;
  13424 + /**
  13425 + * @description
  13426 + * Unauthorized
  13427 + */
  13428 + 401: any;
  13429 + /**
  13430 + * @description
  13431 + * Forbidden
  13432 + */
  13433 + 403: any;
  13434 + /**
  13435 + * @description
  13436 + * Not Found
  13437 + */
  13438 + 404: any;
  13439 +}
  13440 +
  13441 +export type PostResearchGroupsAuditResponseSuccess =
  13442 + PostResearchGroupsAuditResponse[200];
  13443 +/**
  13444 + * @description
  13445 + * 审核
  13446 + * @tags research-groups-controller
  13447 + * @produces *
  13448 + * @consumes application/json
  13449 + */
  13450 +export const postResearchGroupsAudit = /* #__PURE__ */ (() => {
  13451 + const method = 'post';
  13452 + const url = '/research/groups/audit';
  13453 + function request(
  13454 + option?: PostResearchGroupsAuditOption,
  13455 + ): Promise<PostResearchGroupsAuditResponseSuccess> {
  13456 + return requester(request.url, {
  13457 + method: request.method,
  13458 + ...option,
  13459 + }) as unknown as Promise<PostResearchGroupsAuditResponseSuccess>;
  13460 + }
  13461 +
  13462 + /** http method */
  13463 + request.method = method;
  13464 + /** request url */
  13465 + request.url = url;
  13466 + return request;
  13467 +})();
  13468 +
12757 13469 /** @description request parameter type for postResearchGroupsDelete */
12758 13470 export interface PostResearchGroupsDeleteOption {
12759 13471 /**
... ... @@ -17134,6 +17846,77 @@ export const postServiceInvoiceReissueOld = /* #__PURE__ */ (() =&gt; {
17134 17846 return request;
17135 17847 })();
17136 17848  
  17849 +/** @description request parameter type for postServiceInvoiceSucessInvoices */
  17850 +export interface PostServiceInvoiceSucessInvoicesOption {
  17851 + /**
  17852 + * @description
  17853 + * ids
  17854 + */
  17855 + body: {
  17856 + /**
  17857 + @description
  17858 + ids */
  17859 + ids: Array<number>;
  17860 + };
  17861 +}
  17862 +
  17863 +/** @description response type for postServiceInvoiceSucessInvoices */
  17864 +export interface PostServiceInvoiceSucessInvoicesResponse {
  17865 + /**
  17866 + * @description
  17867 + * OK
  17868 + */
  17869 + 200: ServerResult;
  17870 + /**
  17871 + * @description
  17872 + * Created
  17873 + */
  17874 + 201: any;
  17875 + /**
  17876 + * @description
  17877 + * Unauthorized
  17878 + */
  17879 + 401: any;
  17880 + /**
  17881 + * @description
  17882 + * Forbidden
  17883 + */
  17884 + 403: any;
  17885 + /**
  17886 + * @description
  17887 + * Not Found
  17888 + */
  17889 + 404: any;
  17890 +}
  17891 +
  17892 +export type PostServiceInvoiceSucessInvoicesResponseSuccess =
  17893 + PostServiceInvoiceSucessInvoicesResponse[200];
  17894 +/**
  17895 + * @description
  17896 + * 获取待重新开票的开票记录
  17897 + * @tags 发票
  17898 + * @produces *
  17899 + * @consumes application/json
  17900 + */
  17901 +export const postServiceInvoiceSucessInvoices = /* #__PURE__ */ (() => {
  17902 + const method = 'post';
  17903 + const url = '/service/invoice/sucessInvoices';
  17904 + function request(
  17905 + option: PostServiceInvoiceSucessInvoicesOption,
  17906 + ): Promise<PostServiceInvoiceSucessInvoicesResponseSuccess> {
  17907 + return requester(request.url, {
  17908 + method: request.method,
  17909 + ...option,
  17910 + }) as unknown as Promise<PostServiceInvoiceSucessInvoicesResponseSuccess>;
  17911 + }
  17912 +
  17913 + /** http method */
  17914 + request.method = method;
  17915 + /** request url */
  17916 + request.url = url;
  17917 + return request;
  17918 +})();
  17919 +
17137 17920 /** @description request parameter type for postServiceInvoiceUrgentInvoicing */
17138 17921 export interface PostServiceInvoiceUrgentInvoicingOption {
17139 17922 /**
... ...