修改解析时间

release
zhenghaiyang@ele-cloud.com 2 years ago
parent d2008739c3
commit 64f26258e8
  1. 7
      dxhy-core/src/main/java/com/dxhy/core/service/mailGather/impl/MailGatherLogServiceImpl.java

@ -59,7 +59,7 @@ public class MailGatherLogServiceImpl implements MailGatherLogService {
if(emailMaintainVos !=null && emailMaintainVos.size() > 0) {
for (int i = 0; i < emailMaintainVos.size(); i++) {
MailGatherLogVo mailGatherLogVo = emailMaintainVos.get(i);
mailGatherLogVo.setCjsj(DateUtils.dateToStr(mailGatherLogVo.getCreateTime()));
mailGatherLogVo.setCjsj(DateUtils.dateToStrLong(mailGatherLogVo.getCreateTime()));
mailGatherLogVo.setXh(i + 1 + "");
}
}
@ -75,6 +75,11 @@ public class MailGatherLogServiceImpl implements MailGatherLogService {
return jsonString;
}
public static void main(String[] args) {
String s = DateUtils.dateToStrLong(new Date());
System.out.println();
}
/**
* 新增数据
*

Loading…
Cancel
Save