Commit 61a26def authored by hongguangwu's avatar hongguangwu

MVP1.6.3-时间优化

parent 13f0da46
...@@ -279,11 +279,12 @@ public class QiWeiServiceImpl extends ServiceImpl<EkpQiweiChuchaiMapper, EkpQiwi ...@@ -279,11 +279,12 @@ public class QiWeiServiceImpl extends ServiceImpl<EkpQiweiChuchaiMapper, EkpQiwi
int renShu1; int renShu1;
int renShu2; int renShu2;
String dataSource = "HCM"; String dataSource = "HCM";
DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
for (JSONObject datas : dataList) { for (JSONObject datas : dataList) {
reimburse = new EkpQiwiChuchai(); reimburse = new EkpQiwiChuchai();
reimburse.setFdDataSource(dataSource); reimburse.setFdDataSource(dataSource);
if (Common.isNotNull(datas.getString("applyTimeFormat"))) { if (Common.isNotNull(datas.getString("applyTimeFormat"))) {
reimburse.setFdApplyDate(LocalDateTimeUtils.formatTime(datas.getString("applyTimeFormat"), formatterTime)); reimburse.setFdApplyDate(LocalDateTime.parse(datas.getString("applyTimeFormat"), df));
} }
reimburse.setFdApplyUserName(datas.getString("applyName")); reimburse.setFdApplyUserName(datas.getString("applyName"));
reimburse.setFdSpNo(datas.getString("flowId")); reimburse.setFdSpNo(datas.getString("flowId"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment