|
@@ -227,18 +227,6 @@ public class DecisionTaskServiceImpl implements DecisionTaskService {
|
|
|
|
|
|
|
|
List<Map<String, Object>> dataList = decisionTaskMapper.getDetailsList(param);
|
|
List<Map<String, Object>> dataList = decisionTaskMapper.getDetailsList(param);
|
|
|
if (CollectionUtils.isNotEmpty(dataList)) {
|
|
if (CollectionUtils.isNotEmpty(dataList)) {
|
|
|
- if(decisionType.getCode().equalsIgnoreCase("7") && decisionType.getSourceId().equalsIgnoreCase("node_id") ){
|
|
|
|
|
- //这里把用途转为名称展示
|
|
|
|
|
- for(Map<String,Object> data : dataList){
|
|
|
|
|
- if(data.get("tdyt") != null){
|
|
|
|
|
- String code = data.get("tdyt").toString();
|
|
|
|
|
- LandType landType = landTypeMapper.selectByCode(code);
|
|
|
|
|
- if(Objects.nonNull(landType)){
|
|
|
|
|
- data.put("tdyt",landType.getName());
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
DecisionDetailsVo vo = new DecisionDetailsVo();
|
|
DecisionDetailsVo vo = new DecisionDetailsVo();
|
|
|
vo.setName(decisionType.getName());
|
|
vo.setName(decisionType.getName());
|
|
|
vo.setType(Integer.parseInt(decisionType.getCode()));
|
|
vo.setType(Integer.parseInt(decisionType.getCode()));
|