| | |
| | | import com.zy.acs.manager.common.domain.*; |
| | | import com.zy.acs.manager.common.utils.BusinessSortService; |
| | | import com.zy.acs.manager.common.utils.ExcelUtil; |
| | | import com.zy.acs.manager.core.service.MainService; |
| | | import com.zy.acs.manager.core.service.MainLxtService; |
| | | import com.zy.acs.manager.manager.controller.param.BusCreateParam; |
| | | import com.zy.acs.manager.manager.controller.param.OpenBusSubmitParam; |
| | | import com.zy.acs.manager.manager.entity.Bus; |
| | |
| | | @Autowired |
| | | private BusService busService; |
| | | @Autowired |
| | | private MainService mainService; |
| | | private MainLxtService mainService; |
| | | @Autowired |
| | | private StaService staService; |
| | | @Autowired |
| | |
| | | PageParam<Bus, BaseParam> pageParam = new PageParam<>(baseParam, Bus.class); |
| | | QueryWrapper<Bus> wrapper = pageParam.buildWrapper(true); |
| | | if (hasCreateTimeDesc(pageParam.getOrders())) { |
| | | wrapper.last(businessSortService.getOrderBySql(BusStsType.class, "bus_sts")); |
| | | // wrapper.last(businessSortService.getOrderBySql(BusStsType.class, "bus_sts")); |
| | | } |
| | | PageParam<Bus, BaseParam> page = busService.page(pageParam, wrapper); |
| | | |