|
@@ -53,7 +53,7 @@ public class VaccineInfoController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@Log(title = "导出疫苗信息", businessType = BusinessType.EXPORT)
|
|
|
- @PreAuthorize(hasPermi = "core:info:export")
|
|
|
+// @PreAuthorize(hasPermi = "core:info:export")
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, VaccineInfoOperation vaccineInfo) throws IOException {
|
|
|
List<VaccineInfoOperation> list = vaccineInfoService.selectVaccineInfoList(vaccineInfo);
|
|
@@ -64,7 +64,7 @@ public class VaccineInfoController extends BaseController {
|
|
|
/**
|
|
|
* 获取疫苗信息详细信息
|
|
|
*/
|
|
|
- @PreAuthorize(hasPermi = "@ss.hasPermi('core:info:query')")
|
|
|
+// @PreAuthorize(hasPermi = "@ss.hasPermi('core:info:query')")
|
|
|
@GetMapping(value = "/{id}")
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
|
|
return AjaxResult.success(vaccineInfoService.selectVaccineInfoById(id));
|
|
@@ -73,7 +73,7 @@ public class VaccineInfoController extends BaseController {
|
|
|
/**
|
|
|
* 新增疫苗信息
|
|
|
*/
|
|
|
- @PreAuthorize(hasPermi = "@ss.hasPermi('core:info:add')")
|
|
|
+// @PreAuthorize(hasPermi = "@ss.hasPermi('core:info:add')")
|
|
|
@Log(title = "疫苗信息", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody VaccineInfoOperation vaccineInfo) {
|
|
@@ -84,7 +84,7 @@ public class VaccineInfoController extends BaseController {
|
|
|
/**
|
|
|
* 修改疫苗信息
|
|
|
*/
|
|
|
- @PreAuthorize(hasPermi = "@ss.hasPermi('core:info:edit')")
|
|
|
+// @PreAuthorize(hasPermi = "@ss.hasPermi('core:info:edit')")
|
|
|
@Log(title = "疫苗信息", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody VaccineInfoOperation vaccineInfo) {
|
|
@@ -95,7 +95,7 @@ public class VaccineInfoController extends BaseController {
|
|
|
/**
|
|
|
* 删除疫苗信息
|
|
|
*/
|
|
|
- @PreAuthorize(hasPermi = "@ss.hasPermi('core:info:remove')")
|
|
|
+// @PreAuthorize(hasPermi = "@ss.hasPermi('core:info:remove')")
|
|
|
@Log(title = "疫苗信息", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids) {
|
|
@@ -105,7 +105,7 @@ public class VaccineInfoController extends BaseController {
|
|
|
/**
|
|
|
* 删除用户接种疫苗信息
|
|
|
*/
|
|
|
- @PreAuthorize(hasPermi = "@ss.hasPermi('core:user:remove')")
|
|
|
+// @PreAuthorize(hasPermi = "@ss.hasPermi('core:user:remove')")
|
|
|
@Log(title = "用户接种疫苗信息", businessType = BusinessType.DELETE)
|
|
|
@GetMapping("/vaccineInfoUser/{ids}")
|
|
|
public AjaxResult removeVaccineInfoUser(@PathVariable Long[] ids) {
|