|
|
@@ -16,9 +16,11 @@ import org.jeecg.common.util.oConvertUtils;
|
|
|
import org.jeecg.modules.business.entity.BusCustomer;
|
|
|
import org.jeecg.modules.business.entity.BusLivingCustomer;
|
|
|
import org.jeecg.modules.business.entity.BusRoomsLivingOrder;
|
|
|
+import org.jeecg.modules.business.entity.BusWaiter;
|
|
|
import org.jeecg.modules.business.service.IBusCustomerService;
|
|
|
import org.jeecg.modules.business.service.IBusLivingCustomerService;
|
|
|
import org.jeecg.modules.business.service.IBusRoomsLivingOrderService;
|
|
|
+import org.jeecg.modules.business.service.IBusWaiterService;
|
|
|
import org.jeecg.modules.fw.entity.FwRoomExamine;
|
|
|
import org.jeecg.modules.fw.service.IFwRoomExamineService;
|
|
|
|
|
|
@@ -68,6 +70,8 @@ public class FwRoomExamineController extends JeecgController<FwRoomExamine, IFwR
|
|
|
private IBusLivingCustomerService busLivingCustomerService;
|
|
|
@Resource
|
|
|
private IBusCustomerService busCustomerService;
|
|
|
+ @Resource
|
|
|
+ private IBusWaiterService busWaiterService;
|
|
|
|
|
|
/**
|
|
|
* 分页列表查询
|
|
|
@@ -103,6 +107,10 @@ public class FwRoomExamineController extends JeecgController<FwRoomExamine, IFwR
|
|
|
t.setContactName(busCustomer.getName());
|
|
|
}
|
|
|
}
|
|
|
+ BusWaiter busWaiter=busWaiterService.getById(t.getWaiterId());
|
|
|
+ if (busWaiter != null) {
|
|
|
+ t.setCfWaiterName(busWaiter.getName());
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
return Result.OK(pageList);
|