fuliqi
2024-09-04 cc511acb919f842e95c2f6027f4fc4429c7b7b1a
ycl-server/src/main/java/com/ycl/platform/controller/ContractScoreController.java
@@ -31,7 +31,7 @@
    /**
     * 查询合同打分列表
     */
    @PreAuthorize("@ss.hasPermi('platform:score:list')")
    @PreAuthorize("@ss.hasPermi('contract:score:list')")
    @PostMapping("/list")
    public TableDataInfo list(@RequestBody ContractScore contractScore) {
        startPage();
@@ -42,7 +42,7 @@
    /**
     * 导出合同打分列表
     */
    @PreAuthorize("@ss.hasPermi('platform:score:export')")
    @PreAuthorize("@ss.hasPermi('contract:score:export')")
    @PostMapping("/export")
    public void export(HttpServletResponse response, ContractScore contractScore) {
        List<ContractScore> list = defaultScoreService.selectDefaultScoreList(contractScore);
@@ -53,7 +53,7 @@
    /**
     * 获取合同打分详细信息
     */
    @PreAuthorize("@ss.hasPermi('platform:score:query')")
    @PreAuthorize("@ss.hasPermi('contract:score:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return success(defaultScoreService.getById(id));
@@ -62,7 +62,7 @@
    /**
     * 新增合同打分
     */
    @PreAuthorize("@ss.hasPermi('platform:score:add')")
    @PreAuthorize("@ss.hasPermi('contract:score:add')")
    @Log(title = "合同打分", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody ContractScore contractScore) {
@@ -72,7 +72,7 @@
    /**
     * 修改合同打分
     */
    @PreAuthorize("@ss.hasPermi('platform:score:edit')")
    @PreAuthorize("@ss.hasPermi('contract:score:edit')")
    @Log(title = "合同打分", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody ContractScore contractScore) {
@@ -82,7 +82,7 @@
    /**
     * 合同打分审核
     */
    @PreAuthorize("@ss.hasPermi('platform:score:audit')")
    @PreAuthorize("@ss.hasPermi('contract:score:audit')")
    @Log(title = "合同打分审核", businessType = BusinessType.UPDATE)
    @PostMapping("/auditing")
    public AjaxResult audit(@RequestBody ContractScore contractScore) {
@@ -92,7 +92,7 @@
    /**
     * 删除合同打分
     */
    @PreAuthorize("@ss.hasPermi('platform:score:remove')")
    @PreAuthorize("@ss.hasPermi('contract:score:remove')")
    @Log(title = "合同打分", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {