Commit aa6946c5 authored by hcing's avatar hcing

feat(tcm):风险报送详情流水接口

parent 97118be9
package com.yeejoin.amos.boot.module.tcm.biz.service.impl; package com.yeejoin.amos.boot.module.tcm.biz.service.impl;
import cn.hutool.core.date.DateUtil;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
...@@ -481,7 +482,7 @@ public class RiskReportServiceImpl extends BaseService<RiskReport, RiskReport, R ...@@ -481,7 +482,7 @@ public class RiskReportServiceImpl extends BaseService<RiskReport, RiskReport, R
List<RiskProcesses> riskProcesses = riskReportDto.getRiskProcesses(); List<RiskProcesses> riskProcesses = riskReportDto.getRiskProcesses();
ArrayList<JSONObject> result = new ArrayList<>(); ArrayList<JSONObject> result = new ArrayList<>();
riskProcesses.forEach(x -> result.add(new JSONObject() riskProcesses.forEach(x -> result.add(new JSONObject()
.fluentPut("operate", "【" + x.getDisposalWayName() + "】 * " + x.getOperationUserName() + " * " + x.getOperationCompanyName() + " * " + x.getCreateDate()) .fluentPut("operate", "【" + x.getDisposalWayName() + "】 * " + x.getOperationUserName() + " * " + x.getOperationCompanyName() + " * " + DateUtil.format(x.getCreateDate(), "yyyy-MM-dd HH:mm:ss"))
.fluentPut("content", x.getDisposalContent()))); .fluentPut("content", x.getDisposalContent())));
return result; return result;
} }
......
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