修复警告问题

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

View File

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

View File

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