From 5bd5f3bcd6d2cb375feb0756505691b551339716 Mon Sep 17 00:00:00 2001 From: zhangfeng <1603559716@qq.com> Date: 星期五, 23 十二月 2022 08:55:23 +0800 Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/safePlatform-out into zf --- equipment/equipment-rpc-api/src/main/java/com/gkhy/safePlatform/equipment/rpc/api/EquipmentRpcAPi.java | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/equipment/equipment-rpc-api/src/main/java/com/gkhy/safePlatform/equipment/rpc/api/EquipmentRpcAPi.java b/equipment/equipment-rpc-api/src/main/java/com/gkhy/safePlatform/equipment/rpc/api/EquipmentRpcAPi.java new file mode 100644 index 0000000..884384b --- /dev/null +++ b/equipment/equipment-rpc-api/src/main/java/com/gkhy/safePlatform/equipment/rpc/api/EquipmentRpcAPi.java @@ -0,0 +1,54 @@ +package com.gkhy.safePlatform.equipment.rpc.api; + +import com.gkhy.safePlatform.commons.vo.ResultVO; +import com.gkhy.safePlatform.equipment.rpc.api.model.dto.req.MaterialReceiveRecordsRPCReq; +import com.gkhy.safePlatform.equipment.rpc.api.model.dto.req.MaterialSpwRPCReq; +import com.gkhy.safePlatform.equipment.rpc.api.model.dto.resp.*; + +import java.util.List; + +public interface EquipmentRpcAPi { + /** + * 物资类型分类 + */ + ResultVO<List<SafeMaterialClassifyRPCRespDto>> getMaterialClassifyList(); + + /** + * 根据小类溯源到父类信息 + * @param smallClassifyIds + * @return + */ + + ResultVO<List<SafeMaterialBsClassifyRPCRespDto>> getTraceabilityClassifyList(List<Long> smallClassifyIds); + /** + * 根据小类溯源到父类信息 列表 + * @param smallClassifyId + * @return + */ + + ResultVO<SafeMaterialBsClassifyRPCRespDto> getBigAndSmallClassifyInfo(Long smallClassifyId); + + /** + * 根据小类ids查询物资种类 + */ + ResultVO<List<SafeMaterialClassifyRPCRespDto>> getClassifyListByIds(List<Long> ids); + /** + * 根据物资种类(小类)获取其库存 + */ + ResultVO<List<SafeMaterialClassifyStockRPCRespDto>> getSmallClassifyStockByIds(List<Long> smallClassifyIds); + + /** + * 特殊作业批量出库 + */ + ResultVO deliveryBatchSpw(MaterialSpwRPCReq req); + + /** + * 根据rfids获取物资 + */ + ResultVO<List<SafeRfidMaterialDetailRPCRespDto>> getListByRfid(List<String> rfids); + + /** + * 根据人员和小类获取领取记录 + */ + ResultVO<List<MaterialReceiveRecordsRPCRespDto>> getMaterialReceiveRecords(MaterialReceiveRecordsRPCReq req); +} -- Gitblit v1.9.2