|
|
@ -31,8 +31,8 @@ public class AppService { |
|
|
|
ResultBean<List<AppFlowableRecordVo>> rb = ResultBean.fireFail(); |
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
String procInsId = appFlowableRecordQuery.getProgressId(); |
|
|
|
String deployId = appFlowableRecordQuery.getDeployId(); |
|
|
|
ResultBean<FlowRecordVo> resultBean = flowTaskFeign.businessFlowRecord(procInsId, deployId); |
|
|
|
// String deployId = appFlowableRecordQuery.getDeployId();
|
|
|
|
ResultBean<FlowRecordVo> resultBean = flowTaskFeign.businessFlowRecord(procInsId); |
|
|
|
List<AppFlowableRecordVo> voList = Optional.ofNullable(resultBean.getData().getFlowList()).orElse(new ArrayList<>()).stream().map(m -> JSON.parseObject(JSON.toJSONString(m), AppFlowableRecordVo.class)).collect(Collectors.toList()); |
|
|
|
voList.removeAll(Collections.singleton(null)); |
|
|
|
for (AppFlowableRecordVo vo : voList) { |
|
|
@ -41,7 +41,7 @@ public class AppService { |
|
|
|
//类型
|
|
|
|
String type = commentVo.getType(); |
|
|
|
String comment = commentVo.getComment(); |
|
|
|
if(StringUtils.isNotBlank(comment) ){ |
|
|
|
if (StringUtils.isNotBlank(comment)) { |
|
|
|
vo.setContent(comment); |
|
|
|
} |
|
|
|
String stateValue = FlowComment.getRemarkByType(type); |
|
|
|