Files
klp-oa/klp-wms/src/main/java/com/klp/service/IWmsCoilStatisticsSummaryService.java
Joshi 1862908eb1 refactor(service): 修改统计记录检查方法返回类型
- 将 checkExistsByStatTypeToday 方法返回值从 Boolean 改为 Long
- 服务层实现中返回存在的记录ID,不存在则返回null
- 控制器接口同步更新返回类型和文档注释
- 优化查询逻辑直接返回记录ID而不是布尔值
2026-03-10 16:50:08 +08:00

57 lines
1.7 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.service;
import com.klp.domain.WmsCoilStatisticsSummary;
import com.klp.domain.vo.WmsCoilStatisticsSummaryVo;
import com.klp.domain.bo.WmsCoilStatisticsSummaryBo;
import com.klp.common.core.page.TableDataInfo;
import com.klp.common.core.domain.PageQuery;
import java.util.Collection;
import java.util.List;
/**
* 钢卷生产统计汇总数据透视结果持久化Service接口
*
* @author klp
* @date 2026-03-07
*/
public interface IWmsCoilStatisticsSummaryService {
/**
* 查询钢卷生产统计汇总(数据透视结果持久化)
*/
WmsCoilStatisticsSummaryVo queryById(Long summaryId);
/**
* 查询钢卷生产统计汇总(数据透视结果持久化)列表
*/
TableDataInfo<WmsCoilStatisticsSummaryVo> queryPageList(WmsCoilStatisticsSummaryBo bo, PageQuery pageQuery);
/**
* 查询钢卷生产统计汇总(数据透视结果持久化)列表
*/
List<WmsCoilStatisticsSummaryVo> queryList(WmsCoilStatisticsSummaryBo bo);
/**
* 新增钢卷生产统计汇总(数据透视结果持久化)
*/
WmsCoilStatisticsSummaryVo insertByBo(WmsCoilStatisticsSummaryBo bo);
/**
* 修改钢卷生产统计汇总(数据透视结果持久化)
*/
Boolean updateByBo(WmsCoilStatisticsSummaryBo bo);
/**
* 校验并批量删除钢卷生产统计汇总(数据透视结果持久化)信息
*/
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
/**
* 检查当天是否存在指定类型的统计记录
* @param statType 统计类型
* @return 存在的记录ID不存在则返回null
*/
Long checkExistsByStatTypeToday(String statType);
}