策略模式的实际应用
public interface TransactionDetailProcessor { /** * 判断是否策略包含内容 * * @param strategy * @return */ boolean fitStrategy(QueryOrderDetailStrategy strategy); void process(OperationContext context, TransactionDetailVo target, TransactionDetailContext mapperContext); }
郭慕荣博客园