Commit 7792ac400c6389fcf0c7e9eae13aaeb308be6340
1 parent
f40febb8
fix(*): 处理测试数据bug修复
- 处理测试数据bug修复
Showing
1 changed file
with
1 additions
and
8 deletions
fw-shirasawa-server/src/main/java/cn/fw/shirasawa/server/controller/api/FollowApiServiceImpl.java
... | ... | @@ -119,14 +119,7 @@ public class FollowApiServiceImpl implements FollowApiService { |
119 | 119 | @PostMapping("/create/record") |
120 | 120 | @ControllerMethod("生成下一次待办") |
121 | 121 | public Message<Boolean> createNextRecord(@Valid @RequestBody NewRecordDTO newRecordDTO) { |
122 | - Boolean newRecord = Boolean.TRUE; | |
123 | - try { | |
124 | - newRecord = followBizService.createNewRecord(newRecordDTO); | |
125 | - } catch (Exception e) { | |
126 | - | |
127 | - } | |
128 | - | |
129 | - return success(newRecord); | |
122 | + return success(followBizService.createNewRecord(newRecordDTO)); | |
130 | 123 | } |
131 | 124 | |
132 | 125 | @Override | ... | ... |