zhangfeng
2022-11-08 f241a39f07acc5d5ede28b4152d74cbb84e4885b
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
package com.gkhy.safePlatform.equipment.service.baseService;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gkhy.safePlatform.equipment.entity.SafeMaterialDetailBO;
import com.gkhy.safePlatform.equipment.entity.SafeMaterialDetailInfo;
import com.gkhy.safePlatform.equipment.entity.SafeMaterialDetailCountDO;
import com.gkhy.safePlatform.equipment.entity.SafeMaterialDetailInfoDO;
import com.gkhy.safePlatform.equipment.model.dto.req.SafeMatetrialDetailQuery;
 
import java.util.List;
 
public interface SafeMaterialDetailInfoService extends IService<SafeMaterialDetailInfo> {
 
    Integer getTotalCount();
 
    SafeMaterialDetailInfo queryById(Long id);
 
    void updateReceiptStatus(Long id, Byte status);
 
    List<SafeMaterialDetailInfo> getListByIds(List<Long> ids);
 
    void updateReceiptStatusByIds(List<Long> ids, Byte irStatus);
 
    List<SafeMaterialDetailCountDO> getCountGroupBySmId(List<Long> ids, Byte irStatus);
 
    List<SafeMaterialDetailCountDO> getStatisticsValidStock(List<Long> smIds);
 
    void deleteBatch(Long[] ids);
 
    void updateDeliveryStatusByIds(SafeMaterialDetailBO detailBO);
 
    void deliveryBatchRandom(SafeMaterialDetailBO detailBO);
 
 
    Integer getValidStockCount(Long smId);
 
    List<SafeMaterialDetailInfoDO> listByPage(Page<SafeMaterialDetailInfo> page, SafeMatetrialDetailQuery query);
 
    int getCountBySmIds(List<Long> smIds);
 
    int getCountBySmId(Long smId);
 
    void updateValidStatus(Long id);
}