|
@@ -0,0 +1,85 @@
|
|
|
|
+package com.ruoyi.web.controller.SpecialService;
|
|
|
|
+
|
|
|
|
+import com.ruoyi.common.annotation.Log;
|
|
|
|
+import com.ruoyi.common.core.controller.BaseController;
|
|
|
|
+import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
+import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
+import com.ruoyi.common.enums.BusinessType;
|
|
|
|
+import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
|
+import com.sooka.jnb.highServer.service.IJnbHighServerService;
|
|
|
|
+import com.sooka.jnb.highServer.vo.JnbHighServerVO;
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
+
|
|
|
|
+import javax.servlet.http.HttpServletResponse;
|
|
|
|
+import java.util.List;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * 特色服务Controller
|
|
|
|
+ *
|
|
|
|
+ * @author ruoyi
|
|
|
|
+ * @date 2024-03-01
|
|
|
|
+ */
|
|
|
|
+@RestController
|
|
|
|
+@RequestMapping("/special/service")
|
|
|
|
+public class SpecialServiceController extends BaseController {
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private IJnbHighServerService jnbHighServerService;
|
|
|
|
+
|
|
|
|
+// /**
|
|
|
|
+// * 查询特色服务列表
|
|
|
|
+// */
|
|
|
|
+// @GetMapping("/list")
|
|
|
|
+// public TableDataInfo list(JnbHighServerVO jnbHighServerVO) {
|
|
|
|
+// startPage();
|
|
|
|
+// List<JnbHighServerVO> list = jnbHighServerService.selectJnbHighServerList(jnbHighServerVO);
|
|
|
|
+// return getDataTable(list);
|
|
|
|
+// }
|
|
|
|
+//
|
|
|
|
+// /**
|
|
|
|
+// * 导出特色服务列表
|
|
|
|
+// */
|
|
|
|
+// @Log(title = "特色服务", businessType = BusinessType.EXPORT)
|
|
|
|
+// @PostMapping("/export")
|
|
|
|
+// public void export(HttpServletResponse response, JnbHighServerVO jnbHighServerVO) {
|
|
|
|
+// List<JnbHighServerVO> list = jnbHighServerService.selectJnbHighServerList(jnbHighServerVO);
|
|
|
|
+// ExcelUtil<JnbHighServerVO> util = new ExcelUtil<JnbHighServerVO>(JnbHighServerVO.class);
|
|
|
|
+// util.exportExcel(response, list, "特色服务数据");
|
|
|
|
+// }
|
|
|
|
+//
|
|
|
|
+// /**
|
|
|
|
+// * 获取特色服务详细信息
|
|
|
|
+// */
|
|
|
|
+// @GetMapping(value = "/{id}")
|
|
|
|
+// public AjaxResult getInfo(@PathVariable("id") Long id) {
|
|
|
|
+// return success(jnbHighServerService.selectJnbHighServerById(id));
|
|
|
|
+// }
|
|
|
|
+//
|
|
|
|
+// /**
|
|
|
|
+// * 新增特色服务
|
|
|
|
+// */
|
|
|
|
+// @Log(title = "特色服务", businessType = BusinessType.INSERT)
|
|
|
|
+// @PostMapping
|
|
|
|
+// public AjaxResult add(@RequestBody JnbHighServerVO jnbHighServerVO) {
|
|
|
|
+// return toAjax(jnbHighServerService.insertJnbHighServer(jnbHighServerVO));
|
|
|
|
+// }
|
|
|
|
+//
|
|
|
|
+// /**
|
|
|
|
+// * 修改特色服务
|
|
|
|
+// */
|
|
|
|
+// @Log(title = "特色服务", businessType = BusinessType.UPDATE)
|
|
|
|
+// @PutMapping
|
|
|
|
+// public AjaxResult edit(@RequestBody JnbHighServerVO jnbHighServerVO) {
|
|
|
|
+// return toAjax(jnbHighServerService.updateJnbHighServer(jnbHighServerVO));
|
|
|
|
+// }
|
|
|
|
+//
|
|
|
|
+// /**
|
|
|
|
+// * 删除特色服务
|
|
|
|
+// */
|
|
|
|
+// @Log(title = "特色服务", businessType = BusinessType.DELETE)
|
|
|
|
+// @DeleteMapping("/{ids}")
|
|
|
|
+// public AjaxResult remove(@PathVariable Long[] ids) {
|
|
|
|
+// return toAjax(jnbHighServerService.deleteJnbHighServerByIds(ids));
|
|
|
|
+// }
|
|
|
|
+}
|