自动化立体仓库 - WMS系统
chen.llin
2025-12-24 46b422214d5d422be5dfa0df57560cda678058c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.zy.asrs.service;
 
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.zy.asrs.entity.MonthlySettle;
import com.zy.asrs.entity.result.MonthlySettleResultVO;
import com.zy.asrs.entity.result.MonthlySettleStatisticsVO;
 
import java.util.Date;
 
public interface MonthlySettleService extends IService<MonthlySettle> {
 
    /**
     * 获取最近的月结记录
     */
    MonthlySettle getLatestSettle();
 
    /**
     * 获取下一个月结的起始日期
     */
    Date getNextStartDate();
 
    /**
     * 获取最晚月结记录的结束日期
     */
    Date getLatestEndDate();
 
    /**
     * 检查月结时间范围内是否有未完成的订单
     */
    boolean hasUnfinishedOrders(Date startDate, Date endDate);
 
    /**
     * 发起月结
     */
    MonthlySettleResultVO startSettle(Date startDate, Date endDate, Long userId);
 
    /**
     * 获取月结统计信息
     */
    MonthlySettleStatisticsVO getSettleStatistics(Long settleId);
 
    /**
     * 分页查询月结列表
     */
    Page<MonthlySettle> getPage(Page<MonthlySettle> page);
 
    /**
     * 删除月结记录
     */
    void deleteSettle(Long settleId);
}