| | |
| | | * 查询差旅城市和补贴标准列表 |
| | | */ |
| | | @ApiOperation("查询差旅城市和补贴标准列表") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:list')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseTravelcity baseTravelcity) { |
| | | log.info("查询差旅城市和补贴标准列表{}:", baseTravelcity); |
| | |
| | | * 导出差旅城市和补贴标准列表 |
| | | */ |
| | | @ApiOperation("导出差旅城市和补贴标准列表") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:export')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:export')") |
| | | @Log(title = "差旅城市和补贴标准", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(BaseTravelcity baseTravelcity) { |
| | |
| | | * 获取差旅城市和补贴标准详细信息 |
| | | */ |
| | | @ApiOperation("获取差旅城市和补贴标准详细信息") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:query')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("获取差旅城市和补贴标准详细信息{}:", id); |
| | |
| | | * 新增差旅城市和补贴标准 |
| | | */ |
| | | @ApiOperation("新增差旅城市和补贴标准") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:add')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:add')") |
| | | @Log(title = "差旅城市和补贴标准", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改差旅城市和补贴标准 |
| | | */ |
| | | @ApiOperation("修改差旅城市和补贴标准") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:edit')") |
| | | @Log(title = "差旅城市和补贴标准", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | |
| | | * 删除差旅城市和补贴标准 |
| | | */ |
| | | @ApiOperation("删除差旅城市和补贴标准") |
| | | @PreAuthorize("@ss.hasPermi('project:travelcity:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:remove')") |
| | | @Log(title = "差旅城市和补贴标准", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | * 根据区域获取伙食补助、公杂要补助 |
| | | */ |
| | | @ApiOperation("根据区域获取补助") |
| | | // @PreAuthorize("@ss.hasPermi('project:travelcity:list')") |
| | | // // @PreAuthorize("@ss.hasPermi('project:travelcity:list')") |
| | | @GetMapping("/getSubsidy/{cityCode}") |
| | | public AjaxResult getSubsidy(@PathVariable String cityCode) { |
| | | log.info("根据区域获取伙食补助、公杂要补助{}:", cityCode); |