diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/sarLawsAttrDetailedList/service/impl/SarLawsAttrDetailedListServiceImpl.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/sarLawsAttrDetailedList/service/impl/SarLawsAttrDetailedListServiceImpl.java index 37584cbb..84bd4b49 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/sarLawsAttrDetailedList/service/impl/SarLawsAttrDetailedListServiceImpl.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/sarLawsAttrDetailedList/service/impl/SarLawsAttrDetailedListServiceImpl.java @@ -281,20 +281,25 @@ public class SarLawsAttrDetailedListServiceImpl extends ServiceImpl> mapList, List putTime, List xcx, List zcc, StandRegionalTimeDto s) { - //临时 - - putTime.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getPutTime())); - xcx.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getXcxssrq())); - zcc.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getZccssrq())); - mapList.put("实施日期("+s.getCountry()+")",putTime); - mapList.put("新车型实施日期("+s.getCountry()+")",xcx); - mapList.put("在产车实施日期("+s.getCountry()+")",zcc); + private void dateTime(LinkedHashMap> mapList, StandRegionalTimeDto s) { + String putTime = new SimpleDateFormat("yyyy-MM-dd").format(s.getPutTime()); + String xcx = new SimpleDateFormat("yyyy-MM-dd").format(s.getXcxssrq()); + String zcc = new SimpleDateFormat("yyyy-MM-dd").format(s.getZccssrq()); +// putTime.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getPutTime()); +// xcx.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getXcxssrq())); +// zcc.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getZccssrq())); + mapList.put("实施日期("+s.getCountry()+")", Collections.singletonList(putTime)); + mapList.put("新车型实施日期("+s.getCountry()+")", Collections.singletonList(xcx)); + mapList.put("在产车实施日期("+s.getCountry()+")", Collections.singletonList(zcc)); } }