|
@@ -19,7 +19,7 @@ import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
|
|
/**
|
|
|
- * 动态格Controller
|
|
|
+ * 动态表格Controller
|
|
|
*
|
|
|
* @author xzz
|
|
|
* @date 2023-07-31
|
|
@@ -31,7 +31,7 @@ public class DragTableController extends BaseController {
|
|
|
private IDragTableService dragTableService;
|
|
|
|
|
|
/**
|
|
|
- * 查询动态格列表
|
|
|
+ * 查询动态表格列表
|
|
|
*/
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(DragTable dragTable) {
|
|
@@ -41,18 +41,18 @@ public class DragTableController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 导出动态格列表
|
|
|
+ * 导出动态表格列表
|
|
|
*/
|
|
|
- @Log(title = "动态格", businessType = BusinessType.EXPORT)
|
|
|
+ @Log(title = "动态表格", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, DragTable dragTable) {
|
|
|
List<DragTable> list = dragTableService.selectDragTableList(dragTable);
|
|
|
ExcelUtil<DragTable> util = new ExcelUtil<DragTable>(DragTable.class);
|
|
|
- util.exportExcel(response, list, "动态格数据");
|
|
|
+ util.exportExcel(response, list, "动态表格数据");
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 获取动态格详细信息
|
|
|
+ * 获取动态表格详细信息
|
|
|
*/
|
|
|
// @GetMapping(value = "/{tId}")
|
|
|
// public AjaxResult getInfo(@PathVariable("tId") Long tId) {
|
|
@@ -60,27 +60,27 @@ public class DragTableController extends BaseController {
|
|
|
// }
|
|
|
|
|
|
/**
|
|
|
- * 新增动态格
|
|
|
+ * 新增动态表格
|
|
|
*/
|
|
|
- @Log(title = "动态格", businessType = BusinessType.INSERT)
|
|
|
+ @Log(title = "动态表格", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody DragTable dragTable) {
|
|
|
return toAjax(dragTableService.insertDragTable(dragTable));
|
|
|
}
|
|
|
|
|
|
// /**
|
|
|
-// * 修改动态格
|
|
|
+// * 修改动态表格
|
|
|
// */
|
|
|
-// @Log(title = "动态格", businessType = BusinessType.UPDATE)
|
|
|
+// @Log(title = "动态表格", businessType = BusinessType.UPDATE)
|
|
|
// @PutMapping
|
|
|
// public AjaxResult edit(@RequestBody DragTable dragTable) {
|
|
|
// return toAjax(dragTableService.updateDragTable(dragTable));
|
|
|
// }
|
|
|
|
|
|
// /**
|
|
|
-// * 删除动态格
|
|
|
+// * 删除动态表格
|
|
|
// */
|
|
|
-// @Log(title = "动态格", businessType = BusinessType.DELETE)
|
|
|
+// @Log(title = "动态表格", businessType = BusinessType.DELETE)
|
|
|
// @DeleteMapping("/{tIds}")
|
|
|
// public AjaxResult remove(@PathVariable Long[] tIds) {
|
|
|
// return toAjax(dragTableService.deleteDragTableByTIds(tIds));
|
|
@@ -96,7 +96,7 @@ public class DragTableController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 获取动态格详细信息
|
|
|
+ * 获取动态表格详细信息
|
|
|
*/
|
|
|
@GetMapping("/getInfo/{tId}")
|
|
|
public AjaxResult getInfo(@PathVariable("tId") Long tId) {
|
|
@@ -104,7 +104,7 @@ public class DragTableController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 修改动态格
|
|
|
+ * 修改动态表格
|
|
|
*/
|
|
|
@PutMapping("/edit")
|
|
|
public AjaxResult edit(@RequestBody DragTableVo dragTableVo) {
|
|
@@ -113,7 +113,7 @@ public class DragTableController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 删除动态格
|
|
|
+ * 删除动态表格
|
|
|
*/
|
|
|
@DeleteMapping("/remove")
|
|
|
public AjaxResult remove(@RequestBody Map<String,Object> map) {
|
|
@@ -124,7 +124,7 @@ public class DragTableController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 查询动态格列表
|
|
|
+ * 查询动态表格列表
|
|
|
*/
|
|
|
@GetMapping("/dragTableList")
|
|
|
public AjaxResult dragTableList() {
|