订单状态统一修改

This commit is contained in:
liang.chao 2024-12-01 12:01:48 +08:00
parent 65ad64a465
commit 586aa21b41
2 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,8 @@ public class OrderServiceImpl implements OrderService {
} else { } else {
throw new Exception("订单状态不一致,请检查订单状态"); throw new Exception("订单状态不一致,请检查订单状态");
} }
dto.setStartTime(list.get(0).getRentBeginTime());
dto.setEndTime(list.get(0).getRentEndTime());
} }
return orderInfoDtos; return orderInfoDtos;
} }

View File

@ -73,6 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
mdi.person_phone AS personPhone, mdi.person_phone AS personPhone,
su.phonenumber AS phoneNumber, su.phonenumber AS phoneNumber,
moi.address, moi.address,
sum(hh.costs) cost,
dept.companyName dept.companyName
FROM FROM
ma_order_details hh ma_order_details hh