zjh
2024-06-07 a0385d39fd55aaf45f43e2e12e446b9c933efc1c
ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjConsumablesController.java
@@ -37,7 +37,7 @@
    /**
     * 查询体检耗材列表
     */
    @PreAuthorize("@ss.hasPermi('hosp:consumables:list')")
//    @PreAuthorize("@ss.hasPermi('hosp:consumables:list')")
    @GetMapping("/list")
    public TableDataInfo list(TjConsumables tjConsumables) {
        startPage();
@@ -48,7 +48,7 @@
    /**
     * 导出体检耗材列表
     */
    @PreAuthorize("@ss.hasPermi('hosp:consumables:export')")
//    @PreAuthorize("@ss.hasPermi('hosp:consumables:export')")
    @Log(title = "体检耗材", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, TjConsumables tjConsumables) {
@@ -60,7 +60,7 @@
    /**
     * 获取体检耗材详细信息
     */
    @PreAuthorize("@ss.hasPermi('hosp:consumables:query')")
//    @PreAuthorize("@ss.hasPermi('hosp:consumables:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return success(tjConsumablesService.selectTjConsumablesById(id));
@@ -69,7 +69,7 @@
    /**
     * 新增体检耗材
     */
    @PreAuthorize("@ss.hasPermi('hosp:consumables:add')")
//    @PreAuthorize("@ss.hasPermi('hosp:consumables:add')")
    @Log(title = "体检耗材", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody TjConsumables tjConsumables) {
@@ -79,7 +79,7 @@
    /**
     * 修改体检耗材
     */
    @PreAuthorize("@ss.hasPermi('hosp:consumables:edit')")
//    @PreAuthorize("@ss.hasPermi('hosp:consumables:edit')")
    @Log(title = "体检耗材", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody TjConsumables tjConsumables) {
@@ -89,7 +89,7 @@
    /**
     * 删除体检耗材
     */
    @PreAuthorize("@ss.hasPermi('hosp:consumables:remove')")
//    @PreAuthorize("@ss.hasPermi('hosp:consumables:remove')")
    @Log(title = "体检耗材", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {