package customutil.proxy.staticProxy.interfaceModel; /** * @author EBU7-dev1-ayh * @create 2021/11/25 0025 12:07 */ public class DeliverClerkImpl implements IOrderInterface { private IOrderInterface iOrderInterface; public DeliverClerkImpl(IOrderInterface iOrderInterface) { this.iOrderInterface = iOrderInterface; } @Override public String order(String foodName) { String result = iOrderInterface.order(foodName); System.out.println("接收到订单,正在去取餐途中。。。"); return result + ",已经搅拌均匀"; } }