|
|
@ -48,8 +48,6 @@ public class LoanLawsuitSubApplyRest implements LoanLawsuitSubApplyFeign { |
|
|
|
private LoanLawsuitSubApplyService loanLawsuitSubApplyService; |
|
|
|
|
|
|
|
@Override |
|
|
|
@ApiOperation("根据条件分页查询数据的列表") |
|
|
|
@PostMapping("/listPage") |
|
|
|
public ResultBean<PagerVo<LoanLawsuitSubApplyVo>> listPage(@RequestBody PagerQuery<LoanLawsuitSubApplyQuery> pq) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
PagerVo<LoanLawsuitSubApplyVo> pv = loanLawsuitSubApplyService.listPageVo(pq); |
|
|
@ -57,8 +55,6 @@ public class LoanLawsuitSubApplyRest implements LoanLawsuitSubApplyFeign { |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@ApiOperation("新增或修改") |
|
|
|
@PostMapping("/save") |
|
|
|
public ResultBean save(@RequestBody LoanLawsuitSubApplyDto dto) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
loanLawsuitSubApplyService.saveOrUpdateDto(dto); |
|
|
@ -66,8 +62,6 @@ public class LoanLawsuitSubApplyRest implements LoanLawsuitSubApplyFeign { |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@ApiOperation("根据sid批量删除") |
|
|
|
@PostMapping("/delBySids") |
|
|
|
public ResultBean delBySids(@RequestBody String[] sids) { |
|
|
|
return loanLawsuitSubApplyService.delAll(sids); |
|
|
|
} |
|
|
@ -80,8 +74,6 @@ public class LoanLawsuitSubApplyRest implements LoanLawsuitSubApplyFeign { |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@ApiOperation("根据SID获取一条记录") |
|
|
|
@GetMapping("/fetchDetailsBySid/{sid}") |
|
|
|
public ResultBean<LoanLawsuitSubApplyDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
LoanLawsuitSubApplyDetailsVo vo = loanLawsuitSubApplyService.fetchDetailsVoBySid(sid); |
|
|
|