diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInPlanController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInPlanController.java index 46f8161..4102c33 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInPlanController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInPlanController.java @@ -46,10 +46,17 @@ public class WmsInPlanController extends BaseController { public TableDataInfo list(WmsInPlan wmsInPlan) { startPage(); List list = wmsInPlanService.selectWmsInPlanList(wmsInPlan); - iAP0AEService.selectInNewData(); return getDataTable(list); } + /** + * 同步小型刀具库数据 + */ + @GetMapping(value = "/sync") + public AjaxResult sync() { + return AjaxResult.success(iAP0AEService.selectInNewData()); + } + /** * 导出入库计划列表 */