JSON.toJSONString 对象日期变为了时间戳| Id | Title | DateAdded | SourceUrl | PostType | Body | BlogId | Description | DateUpdated | IsMarkdown | EntryName | CreatedTime | IsActive | AutoDesc | AccessPermission |
| -------------| -------------| -------------| -------------| -------------| -------------| -------------| -------------| -------------| -------------| -------------| -------------| -------------| -------------| -------------|
| 15777965| JSON.toJSONString 对象日期变为了时间戳| 2022-01-08T12:37:00| | BlogPost|
ProduceJobLog produceJobLog = produceJobLogService.getProduceJobLog(user.getCompanyId(), produceJobLogId); outMap.put("fieldList", confProduceJobLogList); outMap.put("produceJobLogJSON",JSON.toJSONStringWithDateFormat(produceJobLog, "yyyy-MM-dd", SerializerFeature.WriteDateUseDateFormat));
| 648658| | 2024-04-29T21:13:00| false| | 2022-01-08T12:37:09.077| true| ProduceJobLog produceJobLog = produceJobLogService.getProduceJobLog(user.getCompanyId(), produceJobLogId); outMap.put("fieldList", confProduceJobLogLi| Anonymous| 标签:getCompanyId,outMap,produceJobLog,JSON,-------------,put From: https://www.cnblogs.com/ralphlauren/p/18621240