From d8eddeba2456ad1c89df68979112ae98d82c7948 Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 02 Dec 2025 08:21:25 +0000
Subject: [PATCH] 因外出及调休记录可跨天产生的修改
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/UserInsuranceController.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/UserInsuranceController.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/UserInsuranceController.java
index 966f9db..0a0aa8f 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/UserInsuranceController.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/treatment/rest/UserInsuranceController.java
@@ -16,6 +16,7 @@
package me.zhengjie.modules.treatment.rest;
import me.zhengjie.annotation.Log;
+import me.zhengjie.modules.system.service.dto.SysUserLevelInsuranceQueryCriteria;
import me.zhengjie.modules.treatment.domain.UserInsurance;
import me.zhengjie.modules.treatment.service.UserInsuranceService;
import me.zhengjie.modules.treatment.service.dto.UserInsuranceGenerateParam;
@@ -29,6 +30,7 @@
import org.springframework.web.bind.annotation.*;
import io.swagger.annotations.*;
import java.io.IOException;
+import java.text.ParseException;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
@@ -96,4 +98,12 @@
userInsuranceService.deleteAll(ids);
return new ResponseEntity<>(HttpStatus.OK);
}
+
+ @GetMapping(value = "/targetYearMonth")
+ @Log("查询指定年月用户级别保险")
+ @ApiOperation("查询指定年月用户级别保险")
+ @PreAuthorize("@el.check('sysUserLevelInsurance:list')")
+ public ResponseEntity<Object> queryTargetYearMonth(UserInsuranceQueryCriteria criteria) throws ParseException {
+ return new ResponseEntity<>(userInsuranceService.queryTargetYearMonth(criteria),HttpStatus.OK);
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3