Commit ee80420e by 向延琳

去掉多余的构建

1 parent 9af10910
......@@ -84,7 +84,6 @@ public class JourneyService {
//每条数据加一
deviceJourneyOverview.setTotalJourneyCount(1);
deviceJourneyOverview.setDistance(deviceJourneyDTO.getMileage());
deviceJourneyOverview.setId(deviceJourneyDTO.getId());
deviceJourneyOverview.setCreatedBy(deviceJourneyDTO.getCreatedBy());
deviceJourneyOverview.setUpdatedBy(deviceJourneyDTO.getUpdatedBy());
deviceJourneyOverview.setCreatedDate(new Date());
......@@ -108,7 +107,6 @@ public class JourneyService {
deviceJourney.setBeginAddress(deviceJourneyDTO.getBeginAddress());
deviceJourney.setEndAddress(deviceJourneyDTO.getEndAddress());
deviceJourney.setMileage(deviceJourneyDTO.getMileage());
deviceJourney.setId(deviceJourneyDTO.getId());
deviceJourney.setCreatedBy(createdBy);
deviceJourney.setUpdatedBy(updatedBy);
deviceJourney.setCreatedDate(new Date());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!