lige
2023-11-30 3f28b46171934066aeeff9af80d3f0ce6afb3adf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.ltkj.web.controller.system;
 
 
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ltkj.common.annotation.Log;
import com.ltkj.common.core.controller.BaseController;
import com.ltkj.common.core.domain.AjaxResult;
import com.ltkj.common.enums.BusinessType;
import com.ltkj.hosp.domain.TjOrderDetailRules;
import com.ltkj.hosp.service.ITjOrderDetailRulesService;
 
/**
 * 结果结论数据记录Controller
 *
 * @author ltkj_赵佳豪&李格
 * @date 2023-08-30
 */
@RestController
@RequestMapping("/hosp/orderDetailRules")
public class TjOrderDetailRulesController extends BaseController {
    @Autowired
    private ITjOrderDetailRulesService tjOrderDetailRulesService;
 
    /**
     * 新增结果结论数据记录
     */
    //@PreAuthorize("@ss.hasPermi('hosp:orderDetailRules:add')")
    @Log(title = "结果结论数据记录", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody TjOrderDetailRules tjOrderDetailRules) {
        return toAjax(tjOrderDetailRulesService.save(tjOrderDetailRules));
    }
 
}