| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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); |
| | | } |
| | | } |