diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/CheckInventoryDetailController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/CheckInventoryDetailController.java deleted file mode 100644 index e522f24..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/CheckInventoryDetailController.java +++ /dev/null @@ -1,119 +0,0 @@ -//package com.bonus.canteen.core.ims.controller; -// -//import java.util.List; -//import javax.servlet.http.HttpServletResponse; -//import com.bonus.common.log.enums.OperaType; -////import com.bonus.canteen.core.ims.common.annotation.PreventRepeatSubmit; -//import io.swagger.annotations.Api; -//import io.swagger.annotations.ApiOperation; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.web.bind.annotation.GetMapping; -//import org.springframework.web.bind.annotation.PostMapping; -//import org.springframework.web.bind.annotation.PutMapping; -//import org.springframework.web.bind.annotation.DeleteMapping; -//import org.springframework.web.bind.annotation.PathVariable; -//import org.springframework.web.bind.annotation.RequestBody; -//import org.springframework.web.bind.annotation.RequestMapping; -//import org.springframework.web.bind.annotation.RestController; -//import com.bonus.common.log.annotation.SysLog; -//import com.bonus.common.security.annotation.RequiresPermissions; -//import com.bonus.canteen.core.ims.domain.CheckInventoryDetail; -//import com.bonus.canteen.core.ims.service.ICheckInventoryDetailService; -//import com.bonus.common.core.web.controller.BaseController; -//import com.bonus.common.core.web.domain.AjaxResult; -//import com.bonus.common.core.utils.poi.ExcelUtil; -//import com.bonus.common.core.web.page.TableDataInfo; -// -///** -// * 库存盘点明细Controller -// * -// * @author xsheng -// * @date 2025-07-14 -// */ -//@Api(tags = "库存盘点明细接口") -//@RestController -//@RequestMapping("/ims_check_inventory_detail") -//public class CheckInventoryDetailController extends BaseController { -// @Autowired -// private ICheckInventoryDetailService checkInventoryDetailService; -// -// /** -// * 查询库存盘点明细列表 -// */ -// @ApiOperation(value = "查询库存盘点明细列表") -// //@RequiresPermissions("ims:detail:list") -// @GetMapping("/list") -// public TableDataInfo list(CheckInventoryDetail checkInventoryDetail) { -// startPage(); -// List list = checkInventoryDetailService.selectCheckInventoryDetailList(checkInventoryDetail); -// return getDataTable(list); -// } -// -// /** -// * 导出库存盘点明细列表 -// */ -// @ApiOperation(value = "导出库存盘点明细列表") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:export") -// @SysLog(title = "库存盘点明细", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出库存盘点明细") -// @PostMapping("/export") -// public void export(HttpServletResponse response, CheckInventoryDetail checkInventoryDetail) { -// List list = checkInventoryDetailService.selectCheckInventoryDetailList(checkInventoryDetail); -// ExcelUtil util = new ExcelUtil(CheckInventoryDetail.class); -// util.exportExcel(response, list, "库存盘点明细数据"); -// } -// -// /** -// * 获取库存盘点明细详细信息 -// */ -// @ApiOperation(value = "获取库存盘点明细详细信息") -// //@RequiresPermissions("ims:detail:query") -// @GetMapping(value = "/{detailId}") -// public AjaxResult getInfo(@PathVariable("detailId") Long detailId) { -// return success(checkInventoryDetailService.selectCheckInventoryDetailByDetailId(detailId)); -// } -// -// /** -// * 新增库存盘点明细 -// */ -// @ApiOperation(value = "新增库存盘点明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:add") -// @SysLog(title = "库存盘点明细", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增库存盘点明细") -// @PostMapping -// public AjaxResult add(@RequestBody CheckInventoryDetail checkInventoryDetail) { -// try { -// return toAjax(checkInventoryDetailService.insertCheckInventoryDetail(checkInventoryDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 修改库存盘点明细 -// */ -// @ApiOperation(value = "修改库存盘点明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:edit") -// @SysLog(title = "库存盘点明细", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改库存盘点明细") -// @PostMapping("/edit") -// public AjaxResult edit(@RequestBody CheckInventoryDetail checkInventoryDetail) { -// try { -// return toAjax(checkInventoryDetailService.updateCheckInventoryDetail(checkInventoryDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 删除库存盘点明细 -// */ -// @ApiOperation(value = "删除库存盘点明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:remove") -// @SysLog(title = "库存盘点明细", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除库存盘点明细") -// @PostMapping("/del/{detailIds}") -// public AjaxResult remove(@PathVariable Long[] detailIds) { -// return toAjax(checkInventoryDetailService.deleteCheckInventoryDetailByDetailIds(detailIds)); -// } -//} diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/FetchMaterialDetailController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/FetchMaterialDetailController.java deleted file mode 100644 index 38c8d23..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/FetchMaterialDetailController.java +++ /dev/null @@ -1,119 +0,0 @@ -//package com.bonus.canteen.core.ims.controller; -// -//import java.util.List; -//import javax.servlet.http.HttpServletResponse; -//import com.bonus.common.log.enums.OperaType; -////import com.bonus.canteen.core.ims.common.annotation.PreventRepeatSubmit; -//import io.swagger.annotations.Api; -//import io.swagger.annotations.ApiOperation; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.web.bind.annotation.GetMapping; -//import org.springframework.web.bind.annotation.PostMapping; -//import org.springframework.web.bind.annotation.PutMapping; -//import org.springframework.web.bind.annotation.DeleteMapping; -//import org.springframework.web.bind.annotation.PathVariable; -//import org.springframework.web.bind.annotation.RequestBody; -//import org.springframework.web.bind.annotation.RequestMapping; -//import org.springframework.web.bind.annotation.RestController; -//import com.bonus.common.log.annotation.SysLog; -//import com.bonus.common.security.annotation.RequiresPermissions; -//import com.bonus.canteen.core.ims.domain.FetchMaterialDetail; -//import com.bonus.canteen.core.ims.service.IFetchMaterialDetailService; -//import com.bonus.common.core.web.controller.BaseController; -//import com.bonus.common.core.web.domain.AjaxResult; -//import com.bonus.common.core.utils.poi.ExcelUtil; -//import com.bonus.common.core.web.page.TableDataInfo; -// -///** -// * 领料单明细Controller -// * -// * @author xsheng -// * @date 2025-07-07 -// */ -//@Api(tags = "领料单明细接口") -//@RestController -//@RequestMapping("/ims_fetch_material_detail") -//public class FetchMaterialDetailController extends BaseController { -// @Autowired -// private IFetchMaterialDetailService fetchMaterialDetailService; -// -// /** -// * 查询领料单明细列表 -// */ -// @ApiOperation(value = "查询领料单明细列表") -// //@RequiresPermissions("ims:detail:list") -// @GetMapping("/list") -// public TableDataInfo list(FetchMaterialDetail fetchMaterialDetail) { -// startPage(); -// List list = fetchMaterialDetailService.selectFetchMaterialDetailList(fetchMaterialDetail); -// return getDataTable(list); -// } -// -// /** -// * 导出领料单明细列表 -// */ -// @ApiOperation(value = "导出领料单明细列表") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:export") -// @SysLog(title = "领料单明细", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出领料单明细") -// @PostMapping("/export") -// public void export(HttpServletResponse response, FetchMaterialDetail fetchMaterialDetail) { -// List list = fetchMaterialDetailService.selectFetchMaterialDetailList(fetchMaterialDetail); -// ExcelUtil util = new ExcelUtil(FetchMaterialDetail.class); -// util.exportExcel(response, list, "领料单明细数据"); -// } -// -// /** -// * 获取领料单明细详细信息 -// */ -// @ApiOperation(value = "获取领料单明细详细信息") -// //@RequiresPermissions("ims:detail:query") -// @GetMapping(value = "/{fetchDetailId}") -// public AjaxResult getInfo(@PathVariable("fetchDetailId") Long fetchDetailId) { -// return success(fetchMaterialDetailService.selectFetchMaterialDetailByFetchDetailId(fetchDetailId)); -// } -// -// /** -// * 新增领料单明细 -// */ -// @ApiOperation(value = "新增领料单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:add") -// @SysLog(title = "领料单明细", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增领料单明细") -// @PostMapping -// public AjaxResult add(@RequestBody FetchMaterialDetail fetchMaterialDetail) { -// try { -// return toAjax(fetchMaterialDetailService.insertFetchMaterialDetail(fetchMaterialDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 修改领料单明细 -// */ -// @ApiOperation(value = "修改领料单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:edit") -// @SysLog(title = "领料单明细", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改领料单明细") -// @PostMapping("/edit") -// public AjaxResult edit(@RequestBody FetchMaterialDetail fetchMaterialDetail) { -// try { -// return toAjax(fetchMaterialDetailService.updateFetchMaterialDetail(fetchMaterialDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 删除领料单明细 -// */ -// @ApiOperation(value = "删除领料单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:remove") -// @SysLog(title = "领料单明细", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除领料单明细") -// @PostMapping("/del/{fetchDetailIds}") -// public AjaxResult remove(@PathVariable Long[] fetchDetailIds) { -// return toAjax(fetchMaterialDetailService.deleteFetchMaterialDetailByFetchDetailIds(fetchDetailIds)); -// } -//} diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/InspectGoodsDetailController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/InspectGoodsDetailController.java deleted file mode 100644 index 67f1a9d..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/InspectGoodsDetailController.java +++ /dev/null @@ -1,119 +0,0 @@ -//package com.bonus.canteen.core.ims.controller; -// -//import java.util.List; -//import javax.servlet.http.HttpServletResponse; -//import com.bonus.common.log.enums.OperaType; -////import com.bonus.canteen.core.ims.common.annotation.PreventRepeatSubmit; -//import io.swagger.annotations.Api; -//import io.swagger.annotations.ApiOperation; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.web.bind.annotation.GetMapping; -//import org.springframework.web.bind.annotation.PostMapping; -//import org.springframework.web.bind.annotation.PutMapping; -//import org.springframework.web.bind.annotation.DeleteMapping; -//import org.springframework.web.bind.annotation.PathVariable; -//import org.springframework.web.bind.annotation.RequestBody; -//import org.springframework.web.bind.annotation.RequestMapping; -//import org.springframework.web.bind.annotation.RestController; -//import com.bonus.common.log.annotation.SysLog; -//import com.bonus.common.security.annotation.RequiresPermissions; -//import com.bonus.canteen.core.ims.domain.InspectGoodsDetail; -//import com.bonus.canteen.core.ims.service.IInspectGoodsDetailService; -//import com.bonus.common.core.web.controller.BaseController; -//import com.bonus.common.core.web.domain.AjaxResult; -//import com.bonus.common.core.utils.poi.ExcelUtil; -//import com.bonus.common.core.web.page.TableDataInfo; -// -///** -// * 验货单明细Controller -// * -// * @author xsheng -// * @date 2025-06-30 -// */ -//@Api(tags = "验货单明细接口") -//@RestController -//@RequestMapping("/ims_inspect_goods_detail") -//public class InspectGoodsDetailController extends BaseController { -// @Autowired -// private IInspectGoodsDetailService inspectGoodsDetailService; -// -// /** -// * 查询验货单明细列表 -// */ -// @ApiOperation(value = "查询验货单明细列表") -// //@RequiresPermissions("ims:detail:list") -// @GetMapping("/list") -// public TableDataInfo list(InspectGoodsDetail inspectGoodsDetail) { -// startPage(); -// List list = inspectGoodsDetailService.selectInspectGoodsDetailList(inspectGoodsDetail); -// return getDataTable(list); -// } -// -// /** -// * 导出验货单明细列表 -// */ -// @ApiOperation(value = "导出验货单明细列表") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:export") -// @SysLog(title = "验货单明细", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出验货单明细") -// @PostMapping("/export") -// public void export(HttpServletResponse response, InspectGoodsDetail inspectGoodsDetail) { -// List list = inspectGoodsDetailService.selectInspectGoodsDetailList(inspectGoodsDetail); -// ExcelUtil util = new ExcelUtil(InspectGoodsDetail.class); -// util.exportExcel(response, list, "验货单明细数据"); -// } -// -// /** -// * 获取验货单明细详细信息 -// */ -// @ApiOperation(value = "获取验货单明细详细信息") -// //@RequiresPermissions("ims:detail:query") -// @GetMapping(value = "/{inspectGoodsDetailId}") -// public AjaxResult getInfo(@PathVariable("inspectGoodsDetailId") Long inspectGoodsDetailId) { -// return success(inspectGoodsDetailService.selectInspectGoodsDetailByInspectGoodsDetailId(inspectGoodsDetailId)); -// } -// -// /** -// * 新增验货单明细 -// */ -// @ApiOperation(value = "新增验货单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:add") -// @SysLog(title = "验货单明细", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增验货单明细") -// @PostMapping -// public AjaxResult add(@RequestBody InspectGoodsDetail inspectGoodsDetail) { -// try { -// return toAjax(inspectGoodsDetailService.insertInspectGoodsDetail(inspectGoodsDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 修改验货单明细 -// */ -// @ApiOperation(value = "修改验货单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:edit") -// @SysLog(title = "验货单明细", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改验货单明细") -// @PostMapping("/edit") -// public AjaxResult edit(@RequestBody InspectGoodsDetail inspectGoodsDetail) { -// try { -// return toAjax(inspectGoodsDetailService.updateInspectGoodsDetail(inspectGoodsDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 删除验货单明细 -// */ -// @ApiOperation(value = "删除验货单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:remove") -// @SysLog(title = "验货单明细", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除验货单明细") -// @PostMapping("/del/{inspectGoodsDetailIds}") -// public AjaxResult remove(@PathVariable Long[] inspectGoodsDetailIds) { -// return toAjax(inspectGoodsDetailService.deleteInspectGoodsDetailByInspectGoodsDetailIds(inspectGoodsDetailIds)); -// } -//} diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/OrderGoodsDetailController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/OrderGoodsDetailController.java deleted file mode 100644 index 89aa414..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/OrderGoodsDetailController.java +++ /dev/null @@ -1,119 +0,0 @@ -//package com.bonus.canteen.core.ims.controller; -// -//import java.util.List; -//import javax.servlet.http.HttpServletResponse; -//import com.bonus.common.log.enums.OperaType; -////import com.bonus.canteen.core.ims.common.annotation.PreventRepeatSubmit; -//import io.swagger.annotations.Api; -//import io.swagger.annotations.ApiOperation; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.web.bind.annotation.GetMapping; -//import org.springframework.web.bind.annotation.PostMapping; -//import org.springframework.web.bind.annotation.PutMapping; -//import org.springframework.web.bind.annotation.DeleteMapping; -//import org.springframework.web.bind.annotation.PathVariable; -//import org.springframework.web.bind.annotation.RequestBody; -//import org.springframework.web.bind.annotation.RequestMapping; -//import org.springframework.web.bind.annotation.RestController; -//import com.bonus.common.log.annotation.SysLog; -//import com.bonus.common.security.annotation.RequiresPermissions; -//import com.bonus.canteen.core.ims.domain.OrderGoodsDetail; -//import com.bonus.canteen.core.ims.service.IOrderGoodsDetailService; -//import com.bonus.common.core.web.controller.BaseController; -//import com.bonus.common.core.web.domain.AjaxResult; -//import com.bonus.common.core.utils.poi.ExcelUtil; -//import com.bonus.common.core.web.page.TableDataInfo; -// -///** -// * 采购订单明细Controller -// * -// * @author xsheng -// * @date 2025-06-30 -// */ -//@Api(tags = "采购订单明细接口") -//@RestController -//@RequestMapping("/ims_order_goods_detail") -//public class OrderGoodsDetailController extends BaseController { -// @Autowired -// private IOrderGoodsDetailService orderGoodsDetailService; -// -// /** -// * 查询采购订单明细列表 -// */ -// @ApiOperation(value = "查询采购订单明细列表") -// //@RequiresPermissions("ims:detail:list") -// @GetMapping("/list") -// public TableDataInfo list(OrderGoodsDetail orderGoodsDetail) { -// startPage(); -// List list = orderGoodsDetailService.selectOrderGoodsDetailList(orderGoodsDetail); -// return getDataTable(list); -// } -// -// /** -// * 导出采购订单明细列表 -// */ -// @ApiOperation(value = "导出采购订单明细列表") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:export") -// @SysLog(title = "采购订单明细", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出采购订单明细") -// @PostMapping("/export") -// public void export(HttpServletResponse response, OrderGoodsDetail orderGoodsDetail) { -// List list = orderGoodsDetailService.selectOrderGoodsDetailList(orderGoodsDetail); -// ExcelUtil util = new ExcelUtil(OrderGoodsDetail.class); -// util.exportExcel(response, list, "采购订单明细数据"); -// } -// -// /** -// * 获取采购订单明细详细信息 -// */ -// @ApiOperation(value = "获取采购订单明细详细信息") -// //@RequiresPermissions("ims:detail:query") -// @GetMapping(value = "/{orderGoodsDetailId}") -// public AjaxResult getInfo(@PathVariable("orderGoodsDetailId") Long orderGoodsDetailId) { -// return success(orderGoodsDetailService.selectOrderGoodsDetailByOrderGoodsDetailId(orderGoodsDetailId)); -// } -// -// /** -// * 新增采购订单明细 -// */ -// @ApiOperation(value = "新增采购订单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:add") -// @SysLog(title = "采购订单明细", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增采购订单明细") -// @PostMapping -// public AjaxResult add(@RequestBody OrderGoodsDetail orderGoodsDetail) { -// try { -// return toAjax(orderGoodsDetailService.insertOrderGoodsDetail(orderGoodsDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 修改采购订单明细 -// */ -// @ApiOperation(value = "修改采购订单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:edit") -// @SysLog(title = "采购订单明细", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改采购订单明细") -// @PostMapping("/edit") -// public AjaxResult edit(@RequestBody OrderGoodsDetail orderGoodsDetail) { -// try { -// return toAjax(orderGoodsDetailService.updateOrderGoodsDetail(orderGoodsDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 删除采购订单明细 -// */ -// @ApiOperation(value = "删除采购订单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:remove") -// @SysLog(title = "采购订单明细", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除采购订单明细") -// @PostMapping("/del/{orderGoodsDetailIds}") -// public AjaxResult remove(@PathVariable Long[] orderGoodsDetailIds) { -// return toAjax(orderGoodsDetailService.deleteOrderGoodsDetailByOrderGoodsDetailIds(orderGoodsDetailIds)); -// } -//} diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/ProductionPlanDetailController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/ProductionPlanDetailController.java deleted file mode 100644 index 1a419cd..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/ProductionPlanDetailController.java +++ /dev/null @@ -1,119 +0,0 @@ -//package com.bonus.canteen.core.ims.controller; -// -//import java.util.List; -//import javax.servlet.http.HttpServletResponse; -//import com.bonus.common.log.enums.OperaType; -////import com.bonus.canteen.core.ims.common.annotation.PreventRepeatSubmit; -//import io.swagger.annotations.Api; -//import io.swagger.annotations.ApiOperation; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.web.bind.annotation.GetMapping; -//import org.springframework.web.bind.annotation.PostMapping; -//import org.springframework.web.bind.annotation.PutMapping; -//import org.springframework.web.bind.annotation.DeleteMapping; -//import org.springframework.web.bind.annotation.PathVariable; -//import org.springframework.web.bind.annotation.RequestBody; -//import org.springframework.web.bind.annotation.RequestMapping; -//import org.springframework.web.bind.annotation.RestController; -//import com.bonus.common.log.annotation.SysLog; -//import com.bonus.common.security.annotation.RequiresPermissions; -//import com.bonus.canteen.core.ims.domain.ProductionPlanDetail; -//import com.bonus.canteen.core.ims.service.IProductionPlanDetailService; -//import com.bonus.common.core.web.controller.BaseController; -//import com.bonus.common.core.web.domain.AjaxResult; -//import com.bonus.common.core.utils.poi.ExcelUtil; -//import com.bonus.common.core.web.page.TableDataInfo; -// -///** -// * 生产计划明细Controller -// * -// * @author xsheng -// * @date 2025-07-14 -// */ -//@Api(tags = "生产计划明细接口") -//@RestController -//@RequestMapping("/ims_production_plan_detail") -//public class ProductionPlanDetailController extends BaseController { -// @Autowired -// private IProductionPlanDetailService productionPlanDetailService; -// -// /** -// * 查询生产计划明细列表 -// */ -// @ApiOperation(value = "查询生产计划明细列表") -// //@RequiresPermissions("ims:detail:list") -// @GetMapping("/list") -// public TableDataInfo list(ProductionPlanDetail productionPlanDetail) { -// startPage(); -// List list = productionPlanDetailService.selectProductionPlanDetailList(productionPlanDetail); -// return getDataTable(list); -// } -// -// /** -// * 导出生产计划明细列表 -// */ -// @ApiOperation(value = "导出生产计划明细列表") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:export") -// @SysLog(title = "生产计划明细", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出生产计划明细") -// @PostMapping("/export") -// public void export(HttpServletResponse response, ProductionPlanDetail productionPlanDetail) { -// List list = productionPlanDetailService.selectProductionPlanDetailList(productionPlanDetail); -// ExcelUtil util = new ExcelUtil(ProductionPlanDetail.class); -// util.exportExcel(response, list, "生产计划明细数据"); -// } -// -// /** -// * 获取生产计划明细详细信息 -// */ -// @ApiOperation(value = "获取生产计划明细详细信息") -// //@RequiresPermissions("ims:detail:query") -// @GetMapping(value = "/{productionDetailId}") -// public AjaxResult getInfo(@PathVariable("productionDetailId") Long productionDetailId) { -// return success(productionPlanDetailService.selectProductionPlanDetailByProductionDetailId(productionDetailId)); -// } -// -// /** -// * 新增生产计划明细 -// */ -// @ApiOperation(value = "新增生产计划明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:add") -// @SysLog(title = "生产计划明细", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增生产计划明细") -// @PostMapping -// public AjaxResult add(@RequestBody ProductionPlanDetail productionPlanDetail) { -// try { -// return toAjax(productionPlanDetailService.insertProductionPlanDetail(productionPlanDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 修改生产计划明细 -// */ -// @ApiOperation(value = "修改生产计划明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:edit") -// @SysLog(title = "生产计划明细", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改生产计划明细") -// @PostMapping("/edit") -// public AjaxResult edit(@RequestBody ProductionPlanDetail productionPlanDetail) { -// try { -// return toAjax(productionPlanDetailService.updateProductionPlanDetail(productionPlanDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 删除生产计划明细 -// */ -// @ApiOperation(value = "删除生产计划明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:remove") -// @SysLog(title = "生产计划明细", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除生产计划明细") -// @PostMapping("/del/{productionDetailIds}") -// public AjaxResult remove(@PathVariable Long[] productionDetailIds) { -// return toAjax(productionPlanDetailService.deleteProductionPlanDetailByProductionDetailIds(productionDetailIds)); -// } -//} diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/PurchaseContractDetailController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/PurchaseContractDetailController.java deleted file mode 100644 index c2d392e..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/PurchaseContractDetailController.java +++ /dev/null @@ -1,119 +0,0 @@ -//package com.bonus.canteen.core.ims.controller; -// -//import java.util.List; -//import javax.servlet.http.HttpServletResponse; -//import com.bonus.common.log.enums.OperaType; -////import com.bonus.canteen.core.ims.common.annotation.PreventRepeatSubmit; -//import io.swagger.annotations.Api; -//import io.swagger.annotations.ApiOperation; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.web.bind.annotation.GetMapping; -//import org.springframework.web.bind.annotation.PostMapping; -//import org.springframework.web.bind.annotation.PutMapping; -//import org.springframework.web.bind.annotation.DeleteMapping; -//import org.springframework.web.bind.annotation.PathVariable; -//import org.springframework.web.bind.annotation.RequestBody; -//import org.springframework.web.bind.annotation.RequestMapping; -//import org.springframework.web.bind.annotation.RestController; -//import com.bonus.common.log.annotation.SysLog; -//import com.bonus.common.security.annotation.RequiresPermissions; -//import com.bonus.canteen.core.ims.domain.PurchaseContractDetail; -//import com.bonus.canteen.core.ims.service.IPurchaseContractDetailService; -//import com.bonus.common.core.web.controller.BaseController; -//import com.bonus.common.core.web.domain.AjaxResult; -//import com.bonus.common.core.utils.poi.ExcelUtil; -//import com.bonus.common.core.web.page.TableDataInfo; -// -///** -// * 采购合同明细Controller -// * -// * @author xsheng -// * @date 2025-06-30 -// */ -//@Api(tags = "采购合同明细接口") -//@RestController -//@RequestMapping("/ims_purchase_contract_detail") -//public class PurchaseContractDetailController extends BaseController { -// @Autowired -// private IPurchaseContractDetailService purchaseContractDetailService; -// -// /** -// * 查询采购合同明细列表 -// */ -// @ApiOperation(value = "查询采购合同明细列表") -// //@RequiresPermissions("ims:detail:list") -// @GetMapping("/list") -// public TableDataInfo list(PurchaseContractDetail purchaseContractDetail) { -// startPage(); -// List list = purchaseContractDetailService.selectPurchaseContractDetailList(purchaseContractDetail); -// return getDataTable(list); -// } -// -// /** -// * 导出采购合同明细列表 -// */ -// @ApiOperation(value = "导出采购合同明细列表") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:export") -// @SysLog(title = "采购合同明细", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出采购合同明细") -// @PostMapping("/export") -// public void export(HttpServletResponse response, PurchaseContractDetail purchaseContractDetail) { -// List list = purchaseContractDetailService.selectPurchaseContractDetailList(purchaseContractDetail); -// ExcelUtil util = new ExcelUtil(PurchaseContractDetail.class); -// util.exportExcel(response, list, "采购合同明细数据"); -// } -// -// /** -// * 获取采购合同明细详细信息 -// */ -// @ApiOperation(value = "获取采购合同明细详细信息") -// //@RequiresPermissions("ims:detail:query") -// @GetMapping(value = "/{contractDetailId}") -// public AjaxResult getInfo(@PathVariable("contractDetailId") Long contractDetailId) { -// return success(purchaseContractDetailService.selectPurchaseContractDetailByContractDetailId(contractDetailId)); -// } -// -// /** -// * 新增采购合同明细 -// */ -// @ApiOperation(value = "新增采购合同明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:add") -// @SysLog(title = "采购合同明细", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增采购合同明细") -// @PostMapping -// public AjaxResult add(@RequestBody PurchaseContractDetail purchaseContractDetail) { -// try { -// return toAjax(purchaseContractDetailService.insertPurchaseContractDetail(purchaseContractDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 修改采购合同明细 -// */ -// @ApiOperation(value = "修改采购合同明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:edit") -// @SysLog(title = "采购合同明细", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改采购合同明细") -// @PostMapping("/edit") -// public AjaxResult edit(@RequestBody PurchaseContractDetail purchaseContractDetail) { -// try { -// return toAjax(purchaseContractDetailService.updatePurchaseContractDetail(purchaseContractDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 删除采购合同明细 -// */ -// @ApiOperation(value = "删除采购合同明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:remove") -// @SysLog(title = "采购合同明细", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除采购合同明细") -// @PostMapping("/del/{contractDetailIds}") -// public AjaxResult remove(@PathVariable Long[] contractDetailIds) { -// return toAjax(purchaseContractDetailService.deletePurchaseContractDetailByContractDetailIds(contractDetailIds)); -// } -//} diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/PurchasePlanDetailController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/PurchasePlanDetailController.java deleted file mode 100644 index a2230f5..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/PurchasePlanDetailController.java +++ /dev/null @@ -1,119 +0,0 @@ -//package com.bonus.canteen.core.ims.controller; -// -//import java.util.List; -//import javax.servlet.http.HttpServletResponse; -//import com.bonus.common.log.enums.OperaType; -////import com.bonus.canteen.core.ims.common.annotation.PreventRepeatSubmit; -//import io.swagger.annotations.Api; -//import io.swagger.annotations.ApiOperation; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.web.bind.annotation.GetMapping; -//import org.springframework.web.bind.annotation.PostMapping; -//import org.springframework.web.bind.annotation.PutMapping; -//import org.springframework.web.bind.annotation.DeleteMapping; -//import org.springframework.web.bind.annotation.PathVariable; -//import org.springframework.web.bind.annotation.RequestBody; -//import org.springframework.web.bind.annotation.RequestMapping; -//import org.springframework.web.bind.annotation.RestController; -//import com.bonus.common.log.annotation.SysLog; -//import com.bonus.common.security.annotation.RequiresPermissions; -//import com.bonus.canteen.core.ims.domain.PurchasePlanDetail; -//import com.bonus.canteen.core.ims.service.IPurchasePlanDetailService; -//import com.bonus.common.core.web.controller.BaseController; -//import com.bonus.common.core.web.domain.AjaxResult; -//import com.bonus.common.core.utils.poi.ExcelUtil; -//import com.bonus.common.core.web.page.TableDataInfo; -// -///** -// * 采购计划详情Controller -// * -// * @author xsheng -// * @date 2025-06-30 -// */ -//@Api(tags = "采购计划详情接口") -//@RestController -//@RequestMapping("/ims_purchase_plan_detail") -//public class PurchasePlanDetailController extends BaseController { -// @Autowired -// private IPurchasePlanDetailService purchasePlanDetailService; -// -// /** -// * 查询采购计划详情列表 -// */ -// @ApiOperation(value = "查询采购计划详情列表") -// //@RequiresPermissions("ims:detail:list") -// @GetMapping("/list") -// public TableDataInfo list(PurchasePlanDetail purchasePlanDetail) { -// startPage(); -// List list = purchasePlanDetailService.selectPurchasePlanDetailList(purchasePlanDetail); -// return getDataTable(list); -// } -// -// /** -// * 导出采购计划详情列表 -// */ -// @ApiOperation(value = "导出采购计划详情列表") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:export") -// @SysLog(title = "采购计划详情", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出采购计划详情") -// @PostMapping("/export") -// public void export(HttpServletResponse response, PurchasePlanDetail purchasePlanDetail) { -// List list = purchasePlanDetailService.selectPurchasePlanDetailList(purchasePlanDetail); -// ExcelUtil util = new ExcelUtil(PurchasePlanDetail.class); -// util.exportExcel(response, list, "采购计划详情数据"); -// } -// -// /** -// * 获取采购计划详情详细信息 -// */ -// @ApiOperation(value = "获取采购计划详情详细信息") -// //@RequiresPermissions("ims:detail:query") -// @GetMapping(value = "/{detailId}") -// public AjaxResult getInfo(@PathVariable("detailId") Long detailId) { -// return success(purchasePlanDetailService.selectPurchasePlanDetailByDetailId(detailId)); -// } -// -// /** -// * 新增采购计划详情 -// */ -// @ApiOperation(value = "新增采购计划详情") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:add") -// @SysLog(title = "采购计划详情", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增采购计划详情") -// @PostMapping -// public AjaxResult add(@RequestBody PurchasePlanDetail purchasePlanDetail) { -// try { -// return toAjax(purchasePlanDetailService.insertPurchasePlanDetail(purchasePlanDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 修改采购计划详情 -// */ -// @ApiOperation(value = "修改采购计划详情") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:edit") -// @SysLog(title = "采购计划详情", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改采购计划详情") -// @PostMapping("/edit") -// public AjaxResult edit(@RequestBody PurchasePlanDetail purchasePlanDetail) { -// try { -// return toAjax(purchasePlanDetailService.updatePurchasePlanDetail(purchasePlanDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 删除采购计划详情 -// */ -// @ApiOperation(value = "删除采购计划详情") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:remove") -// @SysLog(title = "采购计划详情", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除采购计划详情") -// @PostMapping("/del/{detailIds}") -// public AjaxResult remove(@PathVariable Long[] detailIds) { -// return toAjax(purchasePlanDetailService.deletePurchasePlanDetailByDetailIds(detailIds)); -// } -//} diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/RefundGoodsDetailController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/RefundGoodsDetailController.java deleted file mode 100644 index 762d383..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/controller/RefundGoodsDetailController.java +++ /dev/null @@ -1,119 +0,0 @@ -//package com.bonus.canteen.core.ims.controller; -// -//import java.util.List; -//import javax.servlet.http.HttpServletResponse; -//import com.bonus.common.log.enums.OperaType; -////import com.bonus.canteen.core.ims.common.annotation.PreventRepeatSubmit; -//import io.swagger.annotations.Api; -//import io.swagger.annotations.ApiOperation; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.web.bind.annotation.GetMapping; -//import org.springframework.web.bind.annotation.PostMapping; -//import org.springframework.web.bind.annotation.PutMapping; -//import org.springframework.web.bind.annotation.DeleteMapping; -//import org.springframework.web.bind.annotation.PathVariable; -//import org.springframework.web.bind.annotation.RequestBody; -//import org.springframework.web.bind.annotation.RequestMapping; -//import org.springframework.web.bind.annotation.RestController; -//import com.bonus.common.log.annotation.SysLog; -//import com.bonus.common.security.annotation.RequiresPermissions; -//import com.bonus.canteen.core.ims.domain.RefundGoodsDetail; -//import com.bonus.canteen.core.ims.service.IRefundGoodsDetailService; -//import com.bonus.common.core.web.controller.BaseController; -//import com.bonus.common.core.web.domain.AjaxResult; -//import com.bonus.common.core.utils.poi.ExcelUtil; -//import com.bonus.common.core.web.page.TableDataInfo; -// -///** -// * 退货单明细Controller -// * -// * @author xsheng -// * @date 2025-07-07 -// */ -//@Api(tags = "退货单明细接口") -//@RestController -//@RequestMapping("/ims_refund_goods_detail") -//public class RefundGoodsDetailController extends BaseController { -// @Autowired -// private IRefundGoodsDetailService refundGoodsDetailService; -// -// /** -// * 查询退货单明细列表 -// */ -// @ApiOperation(value = "查询退货单明细列表") -// //@RequiresPermissions("ims:detail:list") -// @GetMapping("/list") -// public TableDataInfo list(RefundGoodsDetail refundGoodsDetail) { -// startPage(); -// List list = refundGoodsDetailService.selectRefundGoodsDetailList(refundGoodsDetail); -// return getDataTable(list); -// } -// -// /** -// * 导出退货单明细列表 -// */ -// @ApiOperation(value = "导出退货单明细列表") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:export") -// @SysLog(title = "退货单明细", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出退货单明细") -// @PostMapping("/export") -// public void export(HttpServletResponse response, RefundGoodsDetail refundGoodsDetail) { -// List list = refundGoodsDetailService.selectRefundGoodsDetailList(refundGoodsDetail); -// ExcelUtil util = new ExcelUtil(RefundGoodsDetail.class); -// util.exportExcel(response, list, "退货单明细数据"); -// } -// -// /** -// * 获取退货单明细详细信息 -// */ -// @ApiOperation(value = "获取退货单明细详细信息") -// //@RequiresPermissions("ims:detail:query") -// @GetMapping(value = "/{refundDetailId}") -// public AjaxResult getInfo(@PathVariable("refundDetailId") Long refundDetailId) { -// return success(refundGoodsDetailService.selectRefundGoodsDetailByRefundDetailId(refundDetailId)); -// } -// -// /** -// * 新增退货单明细 -// */ -// @ApiOperation(value = "新增退货单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:add") -// @SysLog(title = "退货单明细", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增退货单明细") -// @PostMapping -// public AjaxResult add(@RequestBody RefundGoodsDetail refundGoodsDetail) { -// try { -// return toAjax(refundGoodsDetailService.insertRefundGoodsDetail(refundGoodsDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 修改退货单明细 -// */ -// @ApiOperation(value = "修改退货单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:edit") -// @SysLog(title = "退货单明细", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改退货单明细") -// @PostMapping("/edit") -// public AjaxResult edit(@RequestBody RefundGoodsDetail refundGoodsDetail) { -// try { -// return toAjax(refundGoodsDetailService.updateRefundGoodsDetail(refundGoodsDetail)); -// } catch (Exception e) { -// return error(e.getMessage()); -// } -// } -// -// /** -// * 删除退货单明细 -// */ -// @ApiOperation(value = "删除退货单明细") -// //@PreventRepeatSubmit -// //@RequiresPermissions("ims:detail:remove") -// @SysLog(title = "退货单明细", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除退货单明细") -// @PostMapping("/del/{refundDetailIds}") -// public AjaxResult remove(@PathVariable Long[] refundDetailIds) { -// return toAjax(refundGoodsDetailService.deleteRefundGoodsDetailByRefundDetailIds(refundDetailIds)); -// } -//}