提交 e3d2c355 authored 作者: liuhaiquan's avatar liuhaiquan

修改客诉运单列表的方法名称

上级 2c65385a
......@@ -160,5 +160,5 @@ public interface OrderChildDao extends BaseDao<OrderChildMapper, OrderChild, Int
List<OrderChild> selectListWithEmptyCarList();
Page<OrderChild> getMonthAgoByTruckNos(Long userNo, LocalDateTime monthAgo, PageParam param);
Page<OrderChild> getMonthAgoByUserNo(Long userNo, LocalDateTime monthAgo, PageParam param);
}
......@@ -499,7 +499,7 @@ public class OrderChildDaoImpl extends BaseDaoImpl<OrderChildMapper, OrderChild,
}
@Override
public Page<OrderChild> getMonthAgoByTruckNos(Long userNo, LocalDateTime monthAgo, PageParam param) {
public Page<OrderChild> getMonthAgoByUserNo(Long userNo, LocalDateTime monthAgo, PageParam param) {
LambdaQueryWrapper<OrderChild> query = new LambdaQueryWrapper<>();
query.eq(OrderChild :: getDriverUserNo,userNo).or().eq(OrderChild :: getTruckOwnUserNo,userNo);
query.ge(OrderChild :: getCreateTime,monthAgo);
......
......@@ -38,7 +38,6 @@ import com.clx.performance.utils.zjxl.ZjxlGpsService;
import com.clx.performance.vo.app.*;
import com.clx.performance.vo.pc.*;
import com.clx.user.enums.driver.DriverInfoEnum;
import com.clx.user.vo.app.driver.truck.DriverTruckAppVo;
import com.clx.user.vo.feign.DriverTruckInfoFeignVo;
import com.clx.user.vo.feign.OwnerInfoFeignVO;
import com.msl.common.base.Optional;
......@@ -2085,7 +2084,7 @@ public class OrderChildServiceImpl implements OrderChildService {
public IPage<CustomerComplaintOrderChildVO> pageCustomerComplaintOrderChild(PageParam param) {
UserSessionData loginUserInfo = TokenUtil.getLoginUserInfo();
LocalDateTime monthAgo = LocalDateTime.now().minusMonths(1);
Page<OrderChild> page = orderChildDao.getMonthAgoByTruckNos(loginUserInfo.getUserNo(),monthAgo,param);
Page<OrderChild> page = orderChildDao.getMonthAgoByUserNo(loginUserInfo.getUserNo(),monthAgo,param);
Page<CustomerComplaintOrderChildVO> returnPage = orderChildStruct.covertPageCustomerComplaintOrderChildVO(
page);
if(CollectionUtils.isNotEmpty(returnPage.getRecords())){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论