| | |
| | | /** |
| | | * 查询收费员日结列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:collector:list')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:collector:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询收费员日结列表") |
| | | public AjaxResult list(@RequestParam(required = false) @ApiParam(value = "收费员id") String tollCollectorId, |
| | |
| | | /** |
| | | * 导出收费员日结列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:collector:export')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:collector:export')") |
| | | @Log(title = "收费员日结", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation(value = "导出收费员日结列表") |
| | |
| | | /** |
| | | * 获取收费员日结详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:collector:query')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:collector:query')") |
| | | @GetMapping(value = "/{id}") |
| | | @ApiOperation(value = "获取收费员日结详细信息") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) { |
| | |
| | | /** |
| | | * 点击结算 新增收费员日结 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:collector:add')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:collector:add')") |
| | | @Log(title = "收费员日结", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @ApiOperation(value = "点击结算 新增收费员日结") |
| | |
| | | } |
| | | |
| | | |
| | | @PreAuthorize("@ss.hasPermi('hosp:collector:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:collector:remove')") |
| | | @DeleteMapping("/removeTjTollCollectorById") |
| | | @ApiOperation(value = "收费员撤销账单操作接口") |
| | | public AjaxResult removeTjTollCollectorById(@RequestParam @ApiParam(value = "结账id") String id, |
| | |
| | | List<TjFlowingWater> list = tjFlowingWaterService.list(wq); |
| | | for (TjFlowingWater tjFlowingWater : list1) { |
| | | TjOrder tjOrder = tjOrderService.selectTjOrderByOrderId(tjFlowingWater.getOrderId()); |
| | | if(null !=tjOrder){ |
| | | TjCustomer customer = tjCustomerService.getById(tjOrder.getUserId()); |
| | | tjFlowingWater.setCusName(MatchUtils.hideCusName(customer.getCusName())); |
| | | |
| | | if(null !=customer) tjFlowingWater.setCusName(MatchUtils.hideCusName(customer.getCusName())); |
| | | } |
| | | } |
| | | map.put("list", list1); |
| | | map.put("total",waterPage.getTotal()); |