财务中台类图设计
2018-12-20 11:34:34 1 举报
财务中台类图设计
作者其他创作
大纲/内容
LotStrategy#批次策略
+process(AccountingRequest):AccountingResponse
... 场景处理器
-StockOrderExecutor stockOrderExecutor
+execute(StockOrderBO stockOrderBO):void+buildStockAccountingBOList(StockOrderBO stockOrderBO):List<StockAccountingBO>+buildAccountingRequest(StockAccountingBO stockAccountingBO):AccountingRequest
AbstractLotStrategy#批次策略
CurrentStockExecutorFactory 当前库存处理器创建工厂
-CurrentStockExecutor currentStockExecutor
+createCurrentStockExecutor():CurrentStockExecutor
LotHandler 批次处理器接口
+buildExeuteInStrategyList():List+buildExeuteOutStrategyList():List+executeStorageOut(AccountingRequest):AccountingResponse+executeStorageIn(AccountingRequest):AccountingResponse
StandingBookExecutorFactory 台账处理器创建工厂
-StandingBookExecutor standingBookExecutor
+createStandingBookExecutor():StandingBookExecutor
InsideTypeHandler 库内批次处理器
+LotStrategy lotStrategy
AccountingRequest 核算请求体
-lotList #批次数据-currentStockEntityList #当前库存数据-isMinusLot
NegativeLotReduceStrategy #负批次扣减策略
PurchaseInOrderExecutor 采购入库场景处理器
PositiveiLotReduceStrategy #正批次扣减策略
StockOrderExecutor 单据执行器
+LotExecutorFactory lotExecutorFactory+StandingBookExecutorFactory standingBookExecutorFactory+CurrentStockExecutorFactory currentStockExecutorFactory
+doAccounting(AccountingRequest):AccountingResponse+persistData(AccountingResponse):boolean
NegativeLotFillStrategy #负批次填充策略
LotHandlerFactory 批次处理器创建工厂
+createLotHandler(String orderType):LotHandler
LotAddStrategy #批次新增策略
StandingBookExecutor 台账处理器接口
+executeStorageOut(AccountingRequest):AccountingResponse+executeStorageIn(AccountingRequest):AccountingResponse
StockAccountingBO 核算单据统一业务模型
-kdtId-supId-stockKdtId...-salePrice
CurrentStockDefaultExecutor 当前库存处理器
PositiveLotFillStrategy #正批次填充策略
AllotTypeHandler 调拨类批次处理器
CurrentStockExecutor 当前库存处理器接口
StandingBookDefaultExecutor 台账处理器
PurchaseTypeLotHandler 采购类批次处理器
AccountingResponse 核算返回体
-lotList #最新批次数据-modifyLotList #策略执行后变更的批次数据...
TradeTypeHandler 销售类批次处理器
0 条评论
下一页