详情,实施日期多个
This commit is contained in:
+15
-10
@@ -281,20 +281,25 @@ public class SarLawsAttrDetailedListServiceImpl extends ServiceImpl<SarLawsAttrD
|
|||||||
xcx = mapList.get("新车型实施日期("+s.getCountry()+")");
|
xcx = mapList.get("新车型实施日期("+s.getCountry()+")");
|
||||||
zcc = mapList.get("在产车实施日期("+s.getCountry()+")");
|
zcc = mapList.get("在产车实施日期("+s.getCountry()+")");
|
||||||
|
|
||||||
|
}else {
|
||||||
|
dateTime(mapList,s);
|
||||||
}
|
}
|
||||||
dateTime(mapList, putTime, xcx, zcc, s);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
return mapList;
|
return mapList;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void dateTime(LinkedHashMap<String, List<String>> mapList, List<String> putTime, List<String> xcx, List<String> zcc, StandRegionalTimeDto s) {
|
private void dateTime(LinkedHashMap<String, List<String>> mapList, StandRegionalTimeDto s) {
|
||||||
//临时
|
String putTime = new SimpleDateFormat("yyyy-MM-dd").format(s.getPutTime());
|
||||||
|
String xcx = new SimpleDateFormat("yyyy-MM-dd").format(s.getXcxssrq());
|
||||||
putTime.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getPutTime()));
|
String zcc = new SimpleDateFormat("yyyy-MM-dd").format(s.getZccssrq());
|
||||||
xcx.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getXcxssrq()));
|
// putTime.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getPutTime());
|
||||||
zcc.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getZccssrq()));
|
// xcx.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getXcxssrq()));
|
||||||
mapList.put("实施日期("+s.getCountry()+")",putTime);
|
// zcc.add(new SimpleDateFormat("yyyy-MM-dd").format(s.getZccssrq()));
|
||||||
mapList.put("新车型实施日期("+s.getCountry()+")",xcx);
|
mapList.put("实施日期("+s.getCountry()+")", Collections.singletonList(putTime));
|
||||||
mapList.put("在产车实施日期("+s.getCountry()+")",zcc);
|
mapList.put("新车型实施日期("+s.getCountry()+")", Collections.singletonList(xcx));
|
||||||
|
mapList.put("在产车实施日期("+s.getCountry()+")", Collections.singletonList(zcc));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user