Commit e3a3b22b38cd3ccc67c0cd45fb0d8cb66e0e161c
Merge remote-tracking branch 'origin/dev' into test
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,14 +119,7 @@ public class FollowApiServiceImpl implements FollowApiService { | ||
119 | @PostMapping("/create/record") | 119 | @PostMapping("/create/record") |
120 | @ControllerMethod("生成下一次待办") | 120 | @ControllerMethod("生成下一次待办") |
121 | public Message<Boolean> createNextRecord(@Valid @RequestBody NewRecordDTO newRecordDTO) { | 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 | @Override | 125 | @Override |