From 32a41ca494eed0cc37fcb3aff1e9f83e1a3792fc Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期五, 22 八月 2025 17:08:38 +0800 Subject: [PATCH] 库存调整功能接口功能优化 库存调整功能优化 --- rsf-server/src/main/java/com/vincent/rsf/server/api/service/ReceiveMsgService.java | 129 +++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 123 insertions(+), 6 deletions(-) diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/service/ReceiveMsgService.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/service/ReceiveMsgService.java index b0df19a..df4989e 100644 --- a/rsf-server/src/main/java/com/vincent/rsf/server/api/service/ReceiveMsgService.java +++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/service/ReceiveMsgService.java @@ -1,8 +1,12 @@ package com.vincent.rsf.server.api.service; -import com.vincent.rsf.server.api.controller.params.OrderParams; -import com.vincent.rsf.server.api.entity.dto.PoItemsDto; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.vincent.rsf.framework.common.R; +import com.vincent.rsf.server.api.controller.erp.params.*; +import com.vincent.rsf.server.common.domain.BaseParam; +import com.vincent.rsf.server.common.domain.PageParam; +import com.vincent.rsf.server.manager.entity.Loc; import java.util.List; @@ -23,9 +27,122 @@ boolean syncPurchasee(List<OrderParams> orders); /** - * 涓�閿姤妫� - * @param items - * @return + * @author Ryan + * @date 2025/8/15 + * @description: 鍚屾鍩虹鐗╂枡淇℃伅 + * @version 1.0 */ - boolean reportInspectNotify(List<PoItemsDto> items); + void syncMatnrs(List<BaseMatParms> matnrs); + + /** + * @author Ryan + * @date 2025/8/15 + * @description: 璁㈠崟淇℃伅鏌ヨ + * @version 1.0 + */ + R queryOrderStatus(QueryOrderParam queryParams); + + /** + * @author Ryan + * @date 2025/8/15 + * @description: 搴撲綅鏄庣粏鍚屾 + * @version 1.0 + */ + R syncLocsDetl(PageParam<Loc, BaseParam> pageParam, QueryWrapper<Loc> wrapper); + + /** + * @author Ryan + * @date 2025/8/18 + * @description: 搴撲綅鍚屾 + * @version 1.0 + */ + R syncLocs(List<SyncLocsParams> locs); + + /** + * @author Ryan + * @date 2025/8/18 + * @description: 鐗╂枡鍒嗙粍淇℃伅鍚屾 + * @version 1.0 + */ + R syncMatGroups(List<SyncMatGroupsParams> matGroupsParams); + + /** + * @author Ryan + * @date 2025/8/18 + * @description: 搴撳尯鍚屾 + * @version 1.0 + */ + R syncWarehouseAreas(List<LocAreasParams> areasParams); + + /** + * @author Ryan + * @date 2025/8/18 + * @description: 浠撳簱淇℃伅鍚屾 + * @version 1.0 + */ + R syncWarehouse(List<WarehouseParams> warehouses); + + /** + * @author Ryan + * @date 2025/8/19 + * @description: 鍚屾浼佷笟淇℃伅 + * @version 1.0 + */ + R syncCompanies(List<CompaniesParam> companyParams); + + /** + * @author Ryan + * @date 2025/8/19 + * @description: 鍗曟嵁鍚屾--鏀惰揣閫氱煡鍗�/鍑哄簱鍗�/鐩樼偣鍗� + * @version 1.0 + */ + R syncCheckOrder(SyncOrderParams syncOrders, Long loginUserId); + + /** + * @author Ryan + * @date 2025/8/19 + * @description: 璋冩嫈鍗曟嵁鍚屾 + * @version 1.0 + */ + R syncTransfer(SyncTransferParams transferParams, Long loginUserId); + + /** + * @author Ryan + * @date 2025/8/20 + * @description: 搴撳瓨璋冩暣鍗曞悓姝� + * @version 1.0 + */ + R syncLocRevise(SyncLocReviseParams reviseParams, Long loginUserId); + + /** + * @author Ryan + * @date 2025/8/20 + * @description: 鍗曟嵁淇敼--鏀惰揣閫氱煡鍗�/鍑哄簱鍗�/鐩樼偣鍗� + * @version 1.0 + */ + R syncOrderUpdate(SyncOrderParams orders); + + /** + * @author Ryan + * @date 2025/8/21 + * @description: 鍗曟嵁鍒犻櫎 + * @version 1.0 + */ + R syncOrderDelete(List<SyncOrderParams> orders); + + /** + * @author Ryan + * @date 2025/8/21 + * @description: 璋冩嫈鍗曟槑缁嗘煡璇� + * @version 1.0 + */ + R queryTransfer(QueryOrderParam transferParams); + + /** + * @author Ryan + * @date 2025/8/22 + * @description: 涓婃姤鐩樼偣宸紓鍗� + * @version 1.0 + */ + R syncCheckDiffs(SyncCheckDiffParams syncParams); } -- Gitblit v1.9.1