|
|
@@ -16,6 +16,7 @@ import org.springframework.web.client.RestTemplate;
|
|
16
|
16
|
|
|
17
|
17
|
import javax.annotation.Resource;
|
|
18
|
18
|
import java.util.List;
|
|
|
19
|
+import java.util.StringJoiner;
|
|
19
|
20
|
|
|
20
|
21
|
/**
|
|
21
|
22
|
* @author qingsong.han
|
|
|
@@ -112,7 +113,22 @@ public class DRyxxsjyServiceImpl implements DRyxxsjyService {
|
|
112
|
113
|
}
|
|
113
|
114
|
});
|
|
114
|
115
|
}
|
|
115
|
|
- // 其它附件-暂无
|
|
|
116
|
+ // 其它附件
|
|
|
117
|
+ String ryfjStrS = dRyxxsjyVO.getRyfj();
|
|
|
118
|
+ if (StringUtils.hasText(ryfjStrS)) {
|
|
|
119
|
+ String[] ryfjs = ryfjStrS.split(",");
|
|
|
120
|
+ StringJoiner link = new StringJoiner(",");
|
|
|
121
|
+ StringJoiner name = new StringJoiner(",");
|
|
|
122
|
+ for (String ryfj : ryfjs) {
|
|
|
123
|
+ FileObject data = fileUrlUtil.getData(dRyxxsjyVO.getRyfj());
|
|
|
124
|
+ if (!ObjectUtils.isEmpty(data)) {
|
|
|
125
|
+ link.add(data.getLink());
|
|
|
126
|
+ name.add(data.getName());
|
|
|
127
|
+ }
|
|
|
128
|
+ }
|
|
|
129
|
+ dRyxxsjyVO.setRyfjFileUrl(link.toString());
|
|
|
130
|
+ dRyxxsjyVO.setRyfjFileName(name.toString());
|
|
|
131
|
+ }
|
|
116
|
132
|
// 职务类型变更记录
|
|
117
|
133
|
List<ZwlxbgjlVO> zwlxbgjlVOList = dRyxxsjyMapper.getZwlxbgjlListById(dRyxxsjyVO.getSfzh());
|
|
118
|
134
|
if (!CollectionUtils.isEmpty(zwlxbgjlVOList)) {
|
|
|
@@ -120,4 +136,5 @@ public class DRyxxsjyServiceImpl implements DRyxxsjyService {
|
|
120
|
136
|
}
|
|
121
|
137
|
return dRyxxsjyVO;
|
|
122
|
138
|
}
|
|
|
139
|
+
|
|
123
|
140
|
}
|