|
@@ -84,14 +84,20 @@ public class RiBaoController {
|
|
}
|
|
}
|
|
|
|
|
|
//查询日报关联的家人
|
|
//查询日报关联的家人
|
|
- @PostMapping("/riBao/getRibaoDetail")
|
|
|
|
- public MsSuspected getRibaoDetail(@Pd(name = "suspectedId") Long suspectedId) {
|
|
|
|
- return riBaoService.getRibaoDetail(suspectedId);
|
|
|
|
|
|
+ @GetMapping("/riBao/getRibaoDetail")
|
|
|
|
+ public Model<MsSuspected> getRibaoDetail(@Pd(name = "suspectedId") Long suspectedId) {
|
|
|
|
+ return Model.newSuccess(riBaoService.getRibaoDetail(suspectedId));
|
|
}
|
|
}
|
|
|
|
|
|
- // 新增或者修改日报关联的家人 必须传reportId,userCreate,userUpdate
|
|
|
|
- @PostMapping("/riBao/addOrEditRibaoDetail")
|
|
|
|
- public Model<MsSuspected> addOrEditRibaoDetail(@JsonBody MsSuspected msSuspected) {
|
|
|
|
|
|
+ // 新增日报关联的家人 必须传reportId,userCreate,userUpdate
|
|
|
|
+ @PostMapping("/riBao/addRibaoDetail")
|
|
|
|
+ public Model<MsSuspected> addRibaoDetail(@JsonBody MsSuspected msSuspected) {
|
|
|
|
+ return ModelOps.newSuccess(riBaoService.addOrEditRibaoDetail(msSuspected));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // 修改日报关联的家人 必须传suspectedId,reportId,userCreate,userUpdate
|
|
|
|
+ @PostMapping("/riBao/editRibaoDetail")
|
|
|
|
+ public Model<MsSuspected> editRibaoDetail(@JsonBody MsSuspected msSuspected) {
|
|
return ModelOps.newSuccess(riBaoService.addOrEditRibaoDetail(msSuspected));
|
|
return ModelOps.newSuccess(riBaoService.addOrEditRibaoDetail(msSuspected));
|
|
}
|
|
}
|
|
|
|
|