修复警告问题

This commit is contained in:
wuyan
2025-06-07 10:17:39 +08:00
parent 5e91f71089
commit 9298f976d7
3 changed files with 20 additions and 20 deletions

View File

@ -259,7 +259,6 @@ import {getVoucherStatusDesc} from "@/utils/enums/VoucherStatusEnum"
import {parseTime} from "@/utils/Jinbooks"; import {parseTime} from "@/utils/Jinbooks";
import {formatAmount} from "@/utils"; import {formatAmount} from "@/utils";
import {reactive} from "vue"; import {reactive} from "vue";
import {ElSelect} from "element-plus";
import bookStore from "@/store/modules/bookStore"; import bookStore from "@/store/modules/bookStore";
import {downloadData} from "@/utils/index" import {downloadData} from "@/utils/index"
@ -411,7 +410,7 @@ function handlePreview(row) {
/** 修改按钮操作 */ /** 修改按钮操作 */
function handleCancel(row) { function handleCancel(row) {
const _id = [row.id] || ids.value.join(","); const _id = [row.id] || ids.value.join(",");
voucherApis.cancelVoucherByIds(_id).then(response => { voucherApis.cancelVoucherByIds(_id).then(res => {
proxy.$modal.msgSuccess("已取消"); proxy.$modal.msgSuccess("已取消");
getList() getList()
}); });

View File

@ -1,12 +1,12 @@
/* /*
* Copyright [2025] [JinBooks of copyright http://www.jinbooks.com] * Copyright [2025] [JinBooks of copyright http://www.jinbooks.com]
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
* *
*/ */
package com.jinbooks.entity.dto; package com.jinbooks.entity.dto;
@ -26,17 +26,18 @@ import lombok.EqualsAndHashCode;
import java.io.Serial; import java.io.Serial;
/** /**
* @description: * {@code @description:}
* @author: orangeBabu * {@code @author:} orangeBabu
* @time: 2024/11/27 17:37 * {@code @time:} 2024/11/27 17:37
*/ */
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Data @Data
public class SocialsProviderPageDto extends PageQuery {/** public class SocialsProviderPageDto extends PageQuery {
* /**
*/ *
@Serial */
private static final long serialVersionUID = 6001449362547319688L; @Serial
private static final long serialVersionUID = 6001449362547319688L;
} }

View File

@ -1031,11 +1031,11 @@ public class VoucherServiceImpl extends ServiceImpl<VoucherMapper, Voucher> impl
} }
/** /**
* @Description: 根据科目现金流量默认关系添加凭证项和现金流量关系 * {@code @Description:} 根据科目现金流量默认关系添加凭证项和现金流量关系
* @Param: [dto] * {@code @Param:} [dto]
* @return: void * {@code @return:} void
* @Author: xZen * {@code @Author:} xZen
* @Date: 2025/4/23 9:43 * {@code @Date:} 2025/4/23 9:43
*/ */
private void setVoucherItemCashFlow(VoucherChangeDto dto) { private void setVoucherItemCashFlow(VoucherChangeDto dto) {
if (dto == null || StringUtils.isEmpty(dto.getId())) { if (dto == null || StringUtils.isEmpty(dto.getId())) {