修改用车数据包含1900的问题

This commit is contained in:
lulz1 2024-04-16 11:49:17 +08:00
parent 3e46fbeb4a
commit 1c92c4332e
1 changed files with 8 additions and 0 deletions

View File

@ -158,6 +158,14 @@ public class OrderDetailQuery {
return null; return null;
} }
if(carOrderDetail.getStartTime().contains("1900")){
carOrderDetail.setStartTime(carOrderDetail.getCreateTime());
}
if(carOrderDetail.getArriveTime().contains("1900")){
carOrderDetail.setArriveTime(carOrderDetail.getCreateTime());
}
String receiptsNum = carOrderDetail.getReceiptsNum(); String receiptsNum = carOrderDetail.getReceiptsNum();
if (receiptsNum != null) { if (receiptsNum != null) {
carOrderDetail.setReceiptsNum(regetReceiptsNum(receiptsNum)); carOrderDetail.setReceiptsNum(regetReceiptsNum(receiptsNum));