|
@@ -48,13 +48,8 @@ public class CwProjectRecordsController {
|
|
|
*/
|
|
|
@ApiLog("查询财务项目信息列表")
|
|
|
@GetMapping("getCwProjectData")
|
|
|
- public List<String> getCwProjectData() throws Exception {
|
|
|
- IPage<CwProjectRecordsDTO> result = new Page<CwProjectRecordsDTO>();
|
|
|
- result = cwProjectRecordsService.findList (null,null);
|
|
|
- List<String> idList = new ArrayList<>();
|
|
|
- result.getRecords().forEach(re->{
|
|
|
- idList.add(re.getId());
|
|
|
- });
|
|
|
+ public List<String> getCwProjectData(String id) throws Exception {
|
|
|
+ List<String> idList = cwProjectRecordsService.findAllList (id);
|
|
|
return idList;
|
|
|
}
|
|
|
|