|
|
@@ -369,6 +369,22 @@ public class WxFinanceController extends BaseController { |
|
|
return new ResultData(page); |
|
|
return new ResultData(page); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("过账列表") |
|
|
|
|
|
@GetMapping("finishReceiveList") |
|
|
|
|
|
@ApiImplicitParams({ |
|
|
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
|
|
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true), |
|
|
|
|
|
}) |
|
|
|
|
|
public ResultData finishList(@ModelAttribute WxFinanceReceive record, Integer pageNum, Integer pageSize) { |
|
|
|
|
|
if (null == record.getFinishId()) { |
|
|
|
|
|
return new ResultData(Result.ERROR,"finishId参数不能为空"); |
|
|
|
|
|
} |
|
|
|
|
|
record.updateTenantInfo(getTenantInfo()); |
|
|
|
|
|
record.setSortColumns(BaseEntity.SortField.CreateTime_DESC); |
|
|
|
|
|
PageInfo<WxFinanceReceiveVo> page = wxFinanceService.receiveVoListAsPage(record, pageNum, pageSize); |
|
|
|
|
|
return new ResultData(page); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ApiOperation("过账") |
|
|
@ApiOperation("过账") |
|
|
@PostMapping("receiveFinish") |
|
|
@PostMapping("receiveFinish") |
|
|
public ResultData receiveFinish(@RequestBody WxFinanceReceive record) { |
|
|
public ResultData receiveFinish(@RequestBody WxFinanceReceive record) { |
|
|
|