package com.gkhy.safePlatform.equipment.service;
|
|
import com.gkhy.safePlatform.commons.co.ContextCacheUser;
|
import com.gkhy.safePlatform.commons.query.PageQuery;
|
import com.gkhy.safePlatform.commons.vo.ResultVO;
|
import com.gkhy.safePlatform.commons.vo.SearchResultVO;
|
import com.gkhy.safePlatform.equipment.model.dto.req.*;
|
import com.gkhy.safePlatform.equipment.model.dto.resp.SafeMaterialClassifyStockDto;
|
import com.gkhy.safePlatform.equipment.model.dto.resp.SafeMaterialDetailDto;
|
import com.gkhy.safePlatform.equipment.model.dto.resp.SafeRfidMaterialDetailDto;
|
|
import java.util.List;
|
|
public interface SafeMaterialDetailService {
|
ResultVO save(SafeMaterialDetailAddReq req);
|
|
void singleDelivery(ContextCacheUser currentUser,SafeMaterialDetailReq req);
|
|
void singleReceipt(Long id,ContextCacheUser currentUser);
|
|
ResultVO delete(Long id);
|
|
|
ResultVO saveBatch(SafeMaterialDetailAddReq req);
|
|
ResultVO update(SafeMaterialDetailReq req);
|
|
ResultVO receiptBatch(ParamForm paramForm);
|
|
ResultVO deleteBatch(ContextCacheUser currentUser,ParamForm paramForm);
|
|
void deliveryBatchByIds(MterialDeliveryReq req,ContextCacheUser currentUser);
|
|
void deliveryBatchBySmId(MterialRandomDeliveryReq req,ContextCacheUser currentUser);
|
|
SearchResultVO<List<SafeMaterialDetailDto>> listByPage(ContextCacheUser currentUser,PageQuery<SafeMatetrialDetailQuery> pageQuery);
|
|
ResultVO queryById(Long id);
|
List<SafeMaterialClassifyStockDto> getSmallClassifyStockByIds(List<Long> smallClassifyIds);
|
void deliveryBatchSpw(MaterialSpwReq req);
|
|
List<SafeRfidMaterialDetailDto> getListByRfids(List<String> rfids);
|
|
}
|