From 4d730af0447c686133130d0116a0fa3dd82c2dca Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 10 Nov 2026 01:41:03 +0000
Subject: [PATCH] Merge branch 'wcd-2411-update' into wcd
---
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