zhangfeng
2022-11-21 99968f83982943669af3829ea6bc3bbe745cada4
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
53
54
55
56
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.*;
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);
 
    List<Long> getRfidNotNullList(Integer count, Long smId);
 
 
    List<Long> getRfidNullList(Integer count, Long smId);
 
    List<Long> getIdListByRfid(Integer count, Long smId, String rfid);
 
    List<SafeMaterialClassifyStockDO> getSmallClassifyStockByIds(List<Long> smallClassifyIds);
 
    List<SafeMaterialDetailDO> getListBySmallClassifyIds(List<Long> smallClassifyIds,List<Long> depIds);
 
    List<SafeMaterialDetailInfoDO> getListByRfids(List<String> rfid);
 
}