111
k94314517
2024-02-23 8a7693fb0c93235dfc9fdd9477992d0bfb41d5f9
server/company/src/main/java/com/doumee/api/business/NoticesController.java
@@ -12,6 +12,8 @@
import com.doumee.dao.business.vo.ApplyNoticeVO;
import com.doumee.service.business.NoticesService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions;
@@ -105,6 +107,9 @@
    @ApiOperation("投保单关闭提醒")
    @GetMapping("/closeApplyNotice")
    @ApiImplicitParams({
            @ApiImplicitParam(paramType = "query", dataType = "Integer", name = "type", value = "关闭类型:1=待签署提醒;6=续保提醒", required = true),
    })
    public ApiResponse closeApplyNotice(@RequestParam Integer type) {
        LoginUserInfo loginUserInfo = (LoginUserInfo) SecurityUtils.getSubject().getPrincipal();
        noticesService.closeApplyNotice(loginUserInfo.getCompanyId(),type);