standRegionalTimeDto 字段与数据库字段匹配
This commit is contained in:
+2
-2
@@ -26,10 +26,10 @@ public class StandRegionalTimeDto {
|
||||
@ApiModelProperty(value = "在产车实施日期")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
private Date ZCCSSRQ;
|
||||
private Date zccssrq;
|
||||
|
||||
@ApiModelProperty(value = "新车型实施日期")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
private Date XCXSSRQ;
|
||||
private Date xcxssrq;
|
||||
}
|
||||
|
||||
+4
-5
@@ -289,11 +289,10 @@ public class SarLawsAttrDetailedListServiceImpl extends ServiceImpl<SarLawsAttrD
|
||||
|
||||
private void dateTime(LinkedHashMap<String, List<String>> mapList, List<String> putTime, List<String> xcx, List<String> zcc, StandRegionalTimeDto s) {
|
||||
//临时
|
||||
if (s.getPutTime()!=null){
|
||||
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()));
|
||||
|
||||
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);
|
||||
|
||||
+1
-1
@@ -156,7 +156,7 @@
|
||||
<select id="selectTimes" resultType="com.adc.da.slrs.sarLawsAttrDetailedList.entity.StandRegionalTimeDto">
|
||||
SELECT
|
||||
b.country_area AS country,
|
||||
a.ssrq AS ssrq,
|
||||
a.ssrq AS putTime,
|
||||
a.xcxssrq AS xcxssrq,
|
||||
a.zccssrq AS zccssrq
|
||||
FROM
|
||||
|
||||
Reference in New Issue
Block a user