| | |
| | | /** |
| | | * 查询体检单位信息维护列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:comp:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:comp:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(DictComp dictComp) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出体检单位信息维护列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:comp:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:comp:export')") |
| | | @Log(title = "体检单位信息维护", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, DictComp dictComp) { |
| | |
| | | /** |
| | | * 获取体检单位信息维护详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:comp:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:comp:query')") |
| | | @GetMapping(value = "/{drugManufacturerId}") |
| | | public AjaxResult getInfo(@PathVariable("drugManufacturerId") String drugManufacturerId) { |
| | | return success(dictCompService.selectDictCompByDrugManufacturerId(drugManufacturerId)); |
| | |
| | | /** |
| | | * 新增体检单位信息维护 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:comp:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:comp:add')") |
| | | @Log(title = "体检单位信息维护", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody DictComp dictComp) { |
| | |
| | | /** |
| | | * 修改体检单位信息维护 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:comp:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:comp:edit')") |
| | | @Log(title = "体检单位信息维护", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody DictComp dictComp) { |
| | |
| | | /** |
| | | * 删除体检单位信息维护 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:comp:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:comp:remove')") |
| | | @Log(title = "体检单位信息维护", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{drugManufacturerIds}") |
| | | public AjaxResult remove(@PathVariable String[] drugManufacturerIds) { |