|
|
@@ -13,8 +13,10 @@ import javax.servlet.http.HttpServletResponse;
|
|
|
import org.jeecg.common.api.vo.Result;
|
|
|
import org.jeecg.common.system.query.QueryGenerator;
|
|
|
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.service.IBusCustomerService;
|
|
|
import org.jeecg.modules.business.service.IBusLivingCustomerService;
|
|
|
import org.jeecg.modules.business.service.IBusRoomsLivingOrderService;
|
|
|
import org.jeecg.modules.fw.entity.FwRoomExamine;
|
|
|
@@ -64,6 +66,8 @@ public class FwRoomExamineController extends JeecgController<FwRoomExamine, IFwR
|
|
|
private CesRoomsServiceImpl cesRoomsService;
|
|
|
@Resource
|
|
|
private IBusLivingCustomerService busLivingCustomerService;
|
|
|
+ @Resource
|
|
|
+ private IBusCustomerService busCustomerService;
|
|
|
|
|
|
/**
|
|
|
* 分页列表查询
|
|
|
@@ -94,9 +98,9 @@ public class FwRoomExamineController extends JeecgController<FwRoomExamine, IFwR
|
|
|
}
|
|
|
BusRoomsLivingOrder busRoomsLivingOrder = busRoomsLivingOrderService.getById(t.getLivingOrderId());
|
|
|
if (busRoomsLivingOrder != null) {
|
|
|
- BusLivingCustomer busLivingCustomer = busLivingCustomerService.getById(busRoomsLivingOrder.getContactId());
|
|
|
- if (busLivingCustomer != null) {
|
|
|
- t.setContactName(busLivingCustomer.getCustomerName());
|
|
|
+ BusCustomer busCustomer = busCustomerService.getById(busRoomsLivingOrder.getContactId());
|
|
|
+ if (busCustomer != null) {
|
|
|
+ t.setContactName(busCustomer.getName());
|
|
|
}
|
|
|
}
|
|
|
}
|