refactor(service): 修改统计记录检查方法返回类型
- 将 checkExistsByStatTypeToday 方法返回值从 Boolean 改为 Long - 服务层实现中返回存在的记录ID,不存在则返回null - 控制器接口同步更新返回类型和文档注释 - 优化查询逻辑直接返回记录ID而不是布尔值
This commit is contained in:
@@ -50,7 +50,7 @@ public interface IWmsCoilStatisticsSummaryService {
|
||||
/**
|
||||
* 检查当天是否存在指定类型的统计记录
|
||||
* @param statType 统计类型
|
||||
* @return true-存在,false-不存在
|
||||
* @return 存在的记录ID,不存在则返回null
|
||||
*/
|
||||
Boolean checkExistsByStatTypeToday(String statType);
|
||||
Long checkExistsByStatTypeToday(String statType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user