Compare commits

...

2 Commits

Author SHA1 Message Date
姜玉琦 acd4584add 提交代码 2023-08-24 23:14:36 +08:00
姜玉琦 7def0238af 提交代码 2023-08-24 22:19:33 +08:00
2 changed files with 10 additions and 3 deletions

View File

@ -7,6 +7,7 @@ import com.ruoyi.common.enums.BusinessType;
import com.yanzhu.jh.project.domain.SurProjectChecking;
import com.yanzhu.jh.project.service.ISurProjectCheckingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
/**
@ -54,4 +55,13 @@ public class ProjectCheckingController extends BaseController {
return success(surProjectCheckingService.insertSurProjectChecking(surProjectChecking));
}
/**
*
*/
@Log(title = "举牌验收", businessType = BusinessType.DELETE)
@GetMapping("/remove")
public AjaxResult remove(@RequestParam Long id)
{
return toAjax(surProjectCheckingService.deleteSurProjectCheckingById(id));
}
}

View File

@ -1,12 +1,10 @@
package com.yanzhu.jh.bigscreen.web.controller;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.constant.Constants;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.redis.RedisCache;
import com.ruoyi.common.enums.BusinessType;
import com.yanzhu.jh.project.domain.SmzProjectQuarterlyAssess;
import com.yanzhu.jh.project.service.ISmzProjectQuarterlyAssessService;
import org.springframework.beans.factory.annotation.Autowired;
@ -26,7 +24,6 @@ public class ProjectQuarterlyAssessController extends BaseController {
private RedisCache redisCache;
@Log(title = "按部门获取当前季度考核目标", businessType = BusinessType.INSERT)
@GetMapping("/currentListByDept")
public TableDataInfo currentListByDept(Long deptId){
String key="bgscreen_asscess_currentListByDept"+deptId;