diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordDeviceamountDayController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordDeviceamountDayController.java new file mode 100644 index 0000000..248813a --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordDeviceamountDayController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.report; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.report.domain.RecordDeviceamountDay; +import com.ruoyi.report.service.IRecordDeviceamountDayService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 设备产量日报Controller + * + * @author CaesarBao + * @date 2020-11-03 + */ +@Controller +@RequestMapping("/report/DeviceAmountDayReport") +public class RecordDeviceamountDayController extends BaseController +{ + private String prefix = "report/DeviceAmountDayReport"; + + @Autowired + private IRecordDeviceamountDayService recordDeviceamountDayService; + + @RequiresPermissions("report:DeviceAmountDayReport:view") + @GetMapping() + public String DeviceAmountDayReport() + { + return prefix + "/DeviceAmountDayReport"; + } + + /** + * 查询设备产量日报列表 + */ + @RequiresPermissions("report:DeviceAmountDayReport:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(RecordDeviceamountDay recordDeviceamountDay) + { + startPage(); + List list = recordDeviceamountDayService.selectRecordDeviceamountDayList(recordDeviceamountDay); + return getDataTable(list); + } + + /** + * 导出设备产量日报列表 + */ + @RequiresPermissions("report:DeviceAmountDayReport:export") + @Log(title = "设备产量日报", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(RecordDeviceamountDay recordDeviceamountDay) + { + List list = recordDeviceamountDayService.selectRecordDeviceamountDayList(recordDeviceamountDay); + ExcelUtil util = new ExcelUtil(RecordDeviceamountDay.class); + return util.exportExcel(list, "DeviceAmountDayReport"); + } + + /** + * 新增设备产量日报 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存设备产量日报 + */ + @RequiresPermissions("report:DeviceAmountDayReport:add") + @Log(title = "设备产量日报", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(RecordDeviceamountDay recordDeviceamountDay) + { + return toAjax(recordDeviceamountDayService.insertRecordDeviceamountDay(recordDeviceamountDay)); + } + + /** + * 修改设备产量日报 + */ + @GetMapping("/edit/{objid}") + public String edit(@PathVariable("objid") Long objid, ModelMap mmap) + { + RecordDeviceamountDay recordDeviceamountDay = recordDeviceamountDayService.selectRecordDeviceamountDayById(objid); + mmap.put("recordDeviceamountDay", recordDeviceamountDay); + return prefix + "/edit"; + } + + /** + * 修改保存设备产量日报 + */ + @RequiresPermissions("report:DeviceAmountDayReport:edit") + @Log(title = "设备产量日报", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(RecordDeviceamountDay recordDeviceamountDay) + { + return toAjax(recordDeviceamountDayService.updateRecordDeviceamountDay(recordDeviceamountDay)); + } + + /** + * 删除设备产量日报 + */ + @RequiresPermissions("report:DeviceAmountDayReport:remove") + @Log(title = "设备产量日报", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(recordDeviceamountDayService.deleteRecordDeviceamountDayByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordGroupamountDayController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordGroupamountDayController.java new file mode 100644 index 0000000..be674db --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordGroupamountDayController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.report; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.report.domain.RecordGroupamountDay; +import com.ruoyi.report.service.IRecordGroupamountDayService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 班组产量日报Controller + * + * @author CaesarBao + * @date 2020-11-04 + */ +@Controller +@RequestMapping("/report/GroupAmountDatReport") +public class RecordGroupamountDayController extends BaseController +{ + private String prefix = "report/GroupAmountDatReport"; + + @Autowired + private IRecordGroupamountDayService recordGroupamountDayService; + + @RequiresPermissions("report:GroupAmountDatReport:view") + @GetMapping() + public String GroupAmountDatReport() + { + return prefix + "/GroupAmountDatReport"; + } + + /** + * 查询班组产量日报列表 + */ + @RequiresPermissions("report:GroupAmountDatReport:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(RecordGroupamountDay recordGroupamountDay) + { + startPage(); + List list = recordGroupamountDayService.selectRecordGroupamountDayList(recordGroupamountDay); + return getDataTable(list); + } + + /** + * 导出班组产量日报列表 + */ + @RequiresPermissions("report:GroupAmountDatReport:export") + @Log(title = "班组产量日报", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(RecordGroupamountDay recordGroupamountDay) + { + List list = recordGroupamountDayService.selectRecordGroupamountDayList(recordGroupamountDay); + ExcelUtil util = new ExcelUtil(RecordGroupamountDay.class); + return util.exportExcel(list, "GroupAmountDatReport"); + } + + /** + * 新增班组产量日报 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存班组产量日报 + */ + @RequiresPermissions("report:GroupAmountDatReport:add") + @Log(title = "班组产量日报", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(RecordGroupamountDay recordGroupamountDay) + { + return toAjax(recordGroupamountDayService.insertRecordGroupamountDay(recordGroupamountDay)); + } + + /** + * 修改班组产量日报 + */ + @GetMapping("/edit/{objid}") + public String edit(@PathVariable("objid") Long objid, ModelMap mmap) + { + RecordGroupamountDay recordGroupamountDay = recordGroupamountDayService.selectRecordGroupamountDayById(objid); + mmap.put("recordGroupamountDay", recordGroupamountDay); + return prefix + "/edit"; + } + + /** + * 修改保存班组产量日报 + */ + @RequiresPermissions("report:GroupAmountDatReport:edit") + @Log(title = "班组产量日报", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(RecordGroupamountDay recordGroupamountDay) + { + return toAjax(recordGroupamountDayService.updateRecordGroupamountDay(recordGroupamountDay)); + } + + /** + * 删除班组产量日报 + */ + @RequiresPermissions("report:GroupAmountDatReport:remove") + @Log(title = "班组产量日报", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(recordGroupamountDayService.deleteRecordGroupamountDayByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordMaterialcodeamountDayController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordMaterialcodeamountDayController.java new file mode 100644 index 0000000..95978c3 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordMaterialcodeamountDayController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.report; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.report.domain.RecordMaterialcodeamountDay; +import com.ruoyi.report.service.IRecordMaterialcodeamountDayService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 规格产量日报Controller + * + * @author CaesarBao + * @date 2020-11-04 + */ +@Controller +@RequestMapping("/report/MaterialCodeAmountDatReport") +public class RecordMaterialcodeamountDayController extends BaseController +{ + private String prefix = "report/MaterialCodeAmountDatReport"; + + @Autowired + private IRecordMaterialcodeamountDayService recordMaterialcodeamountDayService; + + @RequiresPermissions("report:MaterialCodeAmountDatReport:view") + @GetMapping() + public String MaterialCodeAmountDatReport() + { + return prefix + "/MaterialCodeAmountDatReport"; + } + + /** + * 查询规格产量日报列表 + */ + @RequiresPermissions("report:MaterialCodeAmountDatReport:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(RecordMaterialcodeamountDay recordMaterialcodeamountDay) + { + startPage(); + List list = recordMaterialcodeamountDayService.selectRecordMaterialcodeamountDayList(recordMaterialcodeamountDay); + return getDataTable(list); + } + + /** + * 导出规格产量日报列表 + */ + @RequiresPermissions("report:MaterialCodeAmountDatReport:export") + @Log(title = "规格产量日报", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(RecordMaterialcodeamountDay recordMaterialcodeamountDay) + { + List list = recordMaterialcodeamountDayService.selectRecordMaterialcodeamountDayList(recordMaterialcodeamountDay); + ExcelUtil util = new ExcelUtil(RecordMaterialcodeamountDay.class); + return util.exportExcel(list, "MaterialCodeAmountDatReport"); + } + + /** + * 新增规格产量日报 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存规格产量日报 + */ + @RequiresPermissions("report:MaterialCodeAmountDatReport:add") + @Log(title = "规格产量日报", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(RecordMaterialcodeamountDay recordMaterialcodeamountDay) + { + return toAjax(recordMaterialcodeamountDayService.insertRecordMaterialcodeamountDay(recordMaterialcodeamountDay)); + } + + /** + * 修改规格产量日报 + */ + @GetMapping("/edit/{objid}") + public String edit(@PathVariable("objid") Long objid, ModelMap mmap) + { + RecordMaterialcodeamountDay recordMaterialcodeamountDay = recordMaterialcodeamountDayService.selectRecordMaterialcodeamountDayById(objid); + mmap.put("recordMaterialcodeamountDay", recordMaterialcodeamountDay); + return prefix + "/edit"; + } + + /** + * 修改保存规格产量日报 + */ + @RequiresPermissions("report:MaterialCodeAmountDatReport:edit") + @Log(title = "规格产量日报", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(RecordMaterialcodeamountDay recordMaterialcodeamountDay) + { + return toAjax(recordMaterialcodeamountDayService.updateRecordMaterialcodeamountDay(recordMaterialcodeamountDay)); + } + + /** + * 删除规格产量日报 + */ + @RequiresPermissions("report:MaterialCodeAmountDatReport:remove") + @Log(title = "规格产量日报", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(recordMaterialcodeamountDayService.deleteRecordMaterialcodeamountDayByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordPlanrateamountDayController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordPlanrateamountDayController.java new file mode 100644 index 0000000..9a0e99c --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordPlanrateamountDayController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.report; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.report.domain.RecordPlanrateamountDay; +import com.ruoyi.report.service.IRecordPlanrateamountDayService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 计划完成率产量日报Controller + * + * @author CaesarBao + * @date 2020-11-04 + */ +@Controller +@RequestMapping("/report/PlanRateAmountDatReport") +public class RecordPlanrateamountDayController extends BaseController +{ + private String prefix = "report/PlanRateAmountDatReport"; + + @Autowired + private IRecordPlanrateamountDayService recordPlanrateamountDayService; + + @RequiresPermissions("report:PlanRateAmountDatReport:view") + @GetMapping() + public String PlanRateAmountDatReport() + { + return prefix + "/PlanRateAmountDatReport"; + } + + /** + * 查询计划完成率产量日报列表 + */ + @RequiresPermissions("report:PlanRateAmountDatReport:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(RecordPlanrateamountDay recordPlanrateamountDay) + { + startPage(); + List list = recordPlanrateamountDayService.selectRecordPlanrateamountDayList(recordPlanrateamountDay); + return getDataTable(list); + } + + /** + * 导出计划完成率产量日报列表 + */ + @RequiresPermissions("report:PlanRateAmountDatReport:export") + @Log(title = "计划完成率产量日报", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(RecordPlanrateamountDay recordPlanrateamountDay) + { + List list = recordPlanrateamountDayService.selectRecordPlanrateamountDayList(recordPlanrateamountDay); + ExcelUtil util = new ExcelUtil(RecordPlanrateamountDay.class); + return util.exportExcel(list, "PlanRateAmountDatReport"); + } + + /** + * 新增计划完成率产量日报 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存计划完成率产量日报 + */ + @RequiresPermissions("report:PlanRateAmountDatReport:add") + @Log(title = "计划完成率产量日报", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(RecordPlanrateamountDay recordPlanrateamountDay) + { + return toAjax(recordPlanrateamountDayService.insertRecordPlanrateamountDay(recordPlanrateamountDay)); + } + + /** + * 修改计划完成率产量日报 + */ + @GetMapping("/edit/{objid}") + public String edit(@PathVariable("objid") Long objid, ModelMap mmap) + { + RecordPlanrateamountDay recordPlanrateamountDay = recordPlanrateamountDayService.selectRecordPlanrateamountDayById(objid); + mmap.put("recordPlanrateamountDay", recordPlanrateamountDay); + return prefix + "/edit"; + } + + /** + * 修改保存计划完成率产量日报 + */ + @RequiresPermissions("report:PlanRateAmountDatReport:edit") + @Log(title = "计划完成率产量日报", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(RecordPlanrateamountDay recordPlanrateamountDay) + { + return toAjax(recordPlanrateamountDayService.updateRecordPlanrateamountDay(recordPlanrateamountDay)); + } + + /** + * 删除计划完成率产量日报 + */ + @RequiresPermissions("report:PlanRateAmountDatReport:remove") + @Log(title = "计划完成率产量日报", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(recordPlanrateamountDayService.deleteRecordPlanrateamountDayByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordShiftamountDayController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordShiftamountDayController.java new file mode 100644 index 0000000..7af8159 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordShiftamountDayController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.report; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.report.domain.RecordShiftamountDay; +import com.ruoyi.report.service.IRecordShiftamountDayService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 班次产量日报Controller + * + * @author CaesarBao + * @date 2020-11-03 + */ +@Controller +@RequestMapping("/report/ShiftAmountDatReport") +public class RecordShiftamountDayController extends BaseController +{ + private String prefix = "report/ShiftAmountDatReport"; + + @Autowired + private IRecordShiftamountDayService recordShiftamountDayService; + + @RequiresPermissions("report:ShiftAmountDatReport:view") + @GetMapping() + public String ShiftAmountDatReport() + { + return prefix + "/ShiftAmountDatReport"; + } + + /** + * 查询班次产量日报列表 + */ + @RequiresPermissions("report:ShiftAmountDatReport:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(RecordShiftamountDay recordShiftamountDay) + { + startPage(); + List list = recordShiftamountDayService.selectRecordShiftamountDayList(recordShiftamountDay); + return getDataTable(list); + } + + /** + * 导出班次产量日报列表 + */ + @RequiresPermissions("report:ShiftAmountDatReport:export") + @Log(title = "班次产量日报", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(RecordShiftamountDay recordShiftamountDay) + { + List list = recordShiftamountDayService.selectRecordShiftamountDayList(recordShiftamountDay); + ExcelUtil util = new ExcelUtil(RecordShiftamountDay.class); + return util.exportExcel(list, "ShiftAmountDatReport"); + } + + /** + * 新增班次产量日报 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存班次产量日报 + */ + @RequiresPermissions("report:ShiftAmountDatReport:add") + @Log(title = "班次产量日报", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(RecordShiftamountDay recordShiftamountDay) + { + return toAjax(recordShiftamountDayService.insertRecordShiftamountDay(recordShiftamountDay)); + } + + /** + * 修改班次产量日报 + */ + @GetMapping("/edit/{objid}") + public String edit(@PathVariable("objid") Long objid, ModelMap mmap) + { + RecordShiftamountDay recordShiftamountDay = recordShiftamountDayService.selectRecordShiftamountDayById(objid); + mmap.put("recordShiftamountDay", recordShiftamountDay); + return prefix + "/edit"; + } + + /** + * 修改保存班次产量日报 + */ + @RequiresPermissions("report:ShiftAmountDatReport:edit") + @Log(title = "班次产量日报", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(RecordShiftamountDay recordShiftamountDay) + { + return toAjax(recordShiftamountDayService.updateRecordShiftamountDay(recordShiftamountDay)); + } + + /** + * 删除班次产量日报 + */ + @RequiresPermissions("report:ShiftAmountDatReport:remove") + @Log(title = "班次产量日报", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(recordShiftamountDayService.deleteRecordShiftamountDayByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordWorkprocedureamountDayController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordWorkprocedureamountDayController.java new file mode 100644 index 0000000..b5b3b6a --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/report/RecordWorkprocedureamountDayController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.report; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.report.domain.RecordWorkprocedureamountDay; +import com.ruoyi.report.service.IRecordWorkprocedureamountDayService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 工序产量日报Controller + * + * @author CaesarBao + * @date 2020-11-03 + */ +@Controller +@RequestMapping("/report/WorkProcedureAmountDatReport") +public class RecordWorkprocedureamountDayController extends BaseController +{ + private String prefix = "report/WorkProcedureAmountDatReport"; + + @Autowired + private IRecordWorkprocedureamountDayService recordWorkprocedureamountDayService; + + @RequiresPermissions("report:WorkProcedureAmountDatReport:view") + @GetMapping() + public String WorkProcedureAmountDatReport() + { + return prefix + "/WorkProcedureAmountDatReport"; + } + + /** + * 查询工序产量日报列表 + */ + @RequiresPermissions("report:WorkProcedureAmountDatReport:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(RecordWorkprocedureamountDay recordWorkprocedureamountDay) + { + startPage(); + List list = recordWorkprocedureamountDayService.selectRecordWorkprocedureamountDayList(recordWorkprocedureamountDay); + return getDataTable(list); + } + + /** + * 导出工序产量日报列表 + */ + @RequiresPermissions("report:WorkProcedureAmountDatReport:export") + @Log(title = "工序产量日报", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(RecordWorkprocedureamountDay recordWorkprocedureamountDay) + { + List list = recordWorkprocedureamountDayService.selectRecordWorkprocedureamountDayList(recordWorkprocedureamountDay); + ExcelUtil util = new ExcelUtil(RecordWorkprocedureamountDay.class); + return util.exportExcel(list, "WorkProcedureAmountDatReport"); + } + + /** + * 新增工序产量日报 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存工序产量日报 + */ + @RequiresPermissions("report:WorkProcedureAmountDatReport:add") + @Log(title = "工序产量日报", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(RecordWorkprocedureamountDay recordWorkprocedureamountDay) + { + return toAjax(recordWorkprocedureamountDayService.insertRecordWorkprocedureamountDay(recordWorkprocedureamountDay)); + } + + /** + * 修改工序产量日报 + */ + @GetMapping("/edit/{objid}") + public String edit(@PathVariable("objid") Long objid, ModelMap mmap) + { + RecordWorkprocedureamountDay recordWorkprocedureamountDay = recordWorkprocedureamountDayService.selectRecordWorkprocedureamountDayById(objid); + mmap.put("recordWorkprocedureamountDay", recordWorkprocedureamountDay); + return prefix + "/edit"; + } + + /** + * 修改保存工序产量日报 + */ + @RequiresPermissions("report:WorkProcedureAmountDatReport:edit") + @Log(title = "工序产量日报", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(RecordWorkprocedureamountDay recordWorkprocedureamountDay) + { + return toAjax(recordWorkprocedureamountDayService.updateRecordWorkprocedureamountDay(recordWorkprocedureamountDay)); + } + + /** + * 删除工序产量日报 + */ + @RequiresPermissions("report:WorkProcedureAmountDatReport:remove") + @Log(title = "工序产量日报", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(recordWorkprocedureamountDayService.deleteRecordWorkprocedureamountDayByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 75be395..169cb41 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -1,138 +1,138 @@ -# 项目相关配置 -ruoyi: - # 名称 - name: RuoYi - # 版本 - version: 4.3.1 - # 版权年份 - copyrightYear: 2019 - # 实例演示开关 - demoEnabled: true - # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) - profile: D:/ruoyi/uploadPath -# profile: /Users/sxile/MyWorkSpase/WorkSpase/uploadPath/RuoYi-SqlServer - # 获取ip地址开关 - addressEnabled: false - -# 开发环境配置 -server: - # 服务器的HTTP端口,默认为80 - port: 80 - servlet: - # 应用的访问路径 - context-path: / - tomcat: - # tomcat的URI编码 - uri-encoding: UTF-8 - # tomcat最大线程数,默认为200 - max-threads: 800 - # Tomcat启动初始化的线程数,默认值25 - min-spare-threads: 30 - -# 日志配置 -logging: - level: - com.ruoyi: debug - org.springframework: warn - -# 用户配置 -user: - password: - # 密码错误{maxRetryCount}次锁定10分钟 - maxRetryCount: 5 - -# Spring配置 -spring: - # 模板引擎 - thymeleaf: - mode: HTML - encoding: utf-8 - # 禁用缓存 - cache: false - # 资源信息 - messages: - # 国际化资源文件路径 - basename: static/i18n/messages - jackson: - time-zone: GMT+8 - date-format: yyyy-MM-dd HH:mm:ss - profiles: - active: druid - # 文件上传 - servlet: - multipart: - # 单个文件大小 - max-file-size: 10MB - # 设置总上传的文件大小 - max-request-size: 20MB - # 服务模块 - devtools: - restart: - # 热部署开关 - enabled: true - -# MyBatis -mybatis: - # 搜索指定包别名 - typeAliasesPackage: com.ruoyi.**.domain - # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapperLocations: classpath*:mapper/**/*Mapper.xml - # 加载全局的配置文件 - configLocation: classpath:mybatis/mybatis-config.xml - -# PageHelper分页插件 -pagehelper: - helperDialect: sqlserver - reasonable: true - supportMethodsArguments: true - params: count=countSql - -# Shiro -shiro: - user: - # 登录地址 - loginUrl: /login - # 权限认证失败地址 - unauthorizedUrl: /unauth - # 首页地址 - indexUrl: /index - # 验证码开关 - captchaEnabled: false - # 验证码类型 math 数组计算 char 字符 - captchaType: math - cookie: - # 设置Cookie的域名 默认空,即当前访问的域名 - domain: - # 设置cookie的有效访问路径 - path: / - # 设置HttpOnly属性 - httpOnly: true - # 设置Cookie的过期时间,天为单位 - maxAge: 30 - # 设置密钥,务必保持唯一性(生成方式,直接拷贝到main运行即可)KeyGenerator keygen = KeyGenerator.getInstance("AES"); SecretKey deskey = keygen.generateKey(); System.out.println(Base64.encodeToString(deskey.getEncoded())); - cipherKey: zSyK5Kp6PZAAjlT+eeNMlg== - session: - # Session超时时间,-1代表永不过期(默认30分钟) - expireTime: 30 - # 同步session到数据库的周期(默认1分钟) - dbSyncPeriod: 1 - # 相隔多久检查一次session的有效性,默认就是10分钟 - validationInterval: 10 - # 同一个用户最大会话数,比如2的意思是同一个账号允许最多同时两个人登录(默认-1不限制) - maxSession: -1 - # 踢出之前登录的/之后登录的用户,默认踢出之前登录的用户 - kickoutAfter: false - -# 防止XSS攻击 -xss: - # 过滤开关 - enabled: true - # 排除链接(多个用逗号分隔) - excludes: /system/notice/* - # 匹配链接 - urlPatterns: /system/*,/monitor/*,/tool/* - -# Swagger配置 -swagger: - # 是否开启swagger - enabled: true +# 项目相关配置 +ruoyi: + # 名称 + name: RuoYi + # 版本 + version: 4.3.1 + # 版权年份 + copyrightYear: 2019 + # 实例演示开关 + demoEnabled: true + # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) + profile: D:/ruoyi/uploadPath +# profile: /Users/sxile/MyWorkSpase/WorkSpase/uploadPath/RuoYi-SqlServer + # 获取ip地址开关 + addressEnabled: false + +# 开发环境配置 +server: + # 服务器的HTTP端口,默认为80 + port: 8088 + servlet: + # 应用的访问路径 + context-path: / + tomcat: + # tomcat的URI编码 + uri-encoding: UTF-8 + # tomcat最大线程数,默认为200 + max-threads: 800 + # Tomcat启动初始化的线程数,默认值25 + min-spare-threads: 30 + +# 日志配置 +logging: + level: + com.ruoyi: debug + org.springframework: warn + +# 用户配置 +user: + password: + # 密码错误{maxRetryCount}次锁定10分钟 + maxRetryCount: 5 + +# Spring配置 +spring: + # 模板引擎 + thymeleaf: + mode: HTML + encoding: utf-8 + # 禁用缓存 + cache: false + # 资源信息 + messages: + # 国际化资源文件路径 + basename: static/i18n/messages + jackson: + time-zone: GMT+8 + date-format: yyyy-MM-dd HH:mm:ss + profiles: + active: druid + # 文件上传 + servlet: + multipart: + # 单个文件大小 + max-file-size: 10MB + # 设置总上传的文件大小 + max-request-size: 20MB + # 服务模块 + devtools: + restart: + # 热部署开关 + enabled: true + +# MyBatis +mybatis: + # 搜索指定包别名 + typeAliasesPackage: com.ruoyi.**.domain + # 配置mapper的扫描,找到所有的mapper.xml映射文件 + mapperLocations: classpath*:mapper/**/*Mapper.xml + # 加载全局的配置文件 + configLocation: classpath:mybatis/mybatis-config.xml + +# PageHelper分页插件 +pagehelper: + helperDialect: sqlserver + reasonable: true + supportMethodsArguments: true + params: count=countSql + +# Shiro +shiro: + user: + # 登录地址 + loginUrl: /login + # 权限认证失败地址 + unauthorizedUrl: /unauth + # 首页地址 + indexUrl: /index + # 验证码开关 + captchaEnabled: false + # 验证码类型 math 数组计算 char 字符 + captchaType: math + cookie: + # 设置Cookie的域名 默认空,即当前访问的域名 + domain: + # 设置cookie的有效访问路径 + path: / + # 设置HttpOnly属性 + httpOnly: true + # 设置Cookie的过期时间,天为单位 + maxAge: 30 + # 设置密钥,务必保持唯一性(生成方式,直接拷贝到main运行即可)KeyGenerator keygen = KeyGenerator.getInstance("AES"); SecretKey deskey = keygen.generateKey(); System.out.println(Base64.encodeToString(deskey.getEncoded())); + cipherKey: zSyK5Kp6PZAAjlT+eeNMlg== + session: + # Session超时时间,-1代表永不过期(默认30分钟) + expireTime: 30 + # 同步session到数据库的周期(默认1分钟) + dbSyncPeriod: 1 + # 相隔多久检查一次session的有效性,默认就是10分钟 + validationInterval: 10 + # 同一个用户最大会话数,比如2的意思是同一个账号允许最多同时两个人登录(默认-1不限制) + maxSession: -1 + # 踢出之前登录的/之后登录的用户,默认踢出之前登录的用户 + kickoutAfter: false + +# 防止XSS攻击 +xss: + # 过滤开关 + enabled: true + # 排除链接(多个用逗号分隔) + excludes: /system/notice/* + # 匹配链接 + urlPatterns: /system/*,/monitor/*,/tool/* + +# Swagger配置 +swagger: + # 是否开启swagger + enabled: true diff --git a/ruoyi-admin/src/main/resources/templates/report/DeviceAmountDayReport/DeviceAmountDayReport.html b/ruoyi-admin/src/main/resources/templates/report/DeviceAmountDayReport/DeviceAmountDayReport.html new file mode 100644 index 0000000..e88d09b --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/DeviceAmountDayReport/DeviceAmountDayReport.html @@ -0,0 +1,126 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + + - + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ +
+ + + + + + + + + + + 导出 + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/DeviceAmountDayReport/add.html b/ruoyi-admin/src/main/resources/templates/report/DeviceAmountDayReport/add.html new file mode 100644 index 0000000..be57612 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/DeviceAmountDayReport/add.html @@ -0,0 +1,66 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/DeviceAmountDayReport/edit.html b/ruoyi-admin/src/main/resources/templates/report/DeviceAmountDayReport/edit.html new file mode 100644 index 0000000..f4b251a --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/DeviceAmountDayReport/edit.html @@ -0,0 +1,67 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/GroupAmountDatReport/GroupAmountDatReport.html b/ruoyi-admin/src/main/resources/templates/report/GroupAmountDatReport/GroupAmountDatReport.html new file mode 100644 index 0000000..0077055 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/GroupAmountDatReport/GroupAmountDatReport.html @@ -0,0 +1,115 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + + - + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ +
+ + + + + + + + + + + 导出 + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/GroupAmountDatReport/add.html b/ruoyi-admin/src/main/resources/templates/report/GroupAmountDatReport/add.html new file mode 100644 index 0000000..e563aaf --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/GroupAmountDatReport/add.html @@ -0,0 +1,66 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/GroupAmountDatReport/edit.html b/ruoyi-admin/src/main/resources/templates/report/GroupAmountDatReport/edit.html new file mode 100644 index 0000000..f35be64 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/GroupAmountDatReport/edit.html @@ -0,0 +1,67 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/MaterialCodeAmountDatReport/MaterialCodeAmountDatReport.html b/ruoyi-admin/src/main/resources/templates/report/MaterialCodeAmountDatReport/MaterialCodeAmountDatReport.html new file mode 100644 index 0000000..83a1e53 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/MaterialCodeAmountDatReport/MaterialCodeAmountDatReport.html @@ -0,0 +1,115 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + + - + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ +
+ + + + + + + + + + + 导出 + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/MaterialCodeAmountDatReport/add.html b/ruoyi-admin/src/main/resources/templates/report/MaterialCodeAmountDatReport/add.html new file mode 100644 index 0000000..7e18440 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/MaterialCodeAmountDatReport/add.html @@ -0,0 +1,66 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/MaterialCodeAmountDatReport/edit.html b/ruoyi-admin/src/main/resources/templates/report/MaterialCodeAmountDatReport/edit.html new file mode 100644 index 0000000..380221e --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/MaterialCodeAmountDatReport/edit.html @@ -0,0 +1,67 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/PlanRateAmountDatReport/PlanRateAmountDatReport.html b/ruoyi-admin/src/main/resources/templates/report/PlanRateAmountDatReport/PlanRateAmountDatReport.html new file mode 100644 index 0000000..eccfaad --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/PlanRateAmountDatReport/PlanRateAmountDatReport.html @@ -0,0 +1,116 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + + - + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ +
+ + + + + + + + + + + 导出 + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/PlanRateAmountDatReport/add.html b/ruoyi-admin/src/main/resources/templates/report/PlanRateAmountDatReport/add.html new file mode 100644 index 0000000..c33945f --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/PlanRateAmountDatReport/add.html @@ -0,0 +1,72 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/PlanRateAmountDatReport/edit.html b/ruoyi-admin/src/main/resources/templates/report/PlanRateAmountDatReport/edit.html new file mode 100644 index 0000000..1181d95 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/PlanRateAmountDatReport/edit.html @@ -0,0 +1,73 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/ShiftAmountDatReport/ShiftAmountDatReport.html b/ruoyi-admin/src/main/resources/templates/report/ShiftAmountDatReport/ShiftAmountDatReport.html new file mode 100644 index 0000000..396c67c --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/ShiftAmountDatReport/ShiftAmountDatReport.html @@ -0,0 +1,116 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + + - + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ +
+ + + + + + + + + + + 导出 + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/ShiftAmountDatReport/add.html b/ruoyi-admin/src/main/resources/templates/report/ShiftAmountDatReport/add.html new file mode 100644 index 0000000..90850e5 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/ShiftAmountDatReport/add.html @@ -0,0 +1,66 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/ShiftAmountDatReport/edit.html b/ruoyi-admin/src/main/resources/templates/report/ShiftAmountDatReport/edit.html new file mode 100644 index 0000000..968172f --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/ShiftAmountDatReport/edit.html @@ -0,0 +1,67 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/WorkProcedureAmountDatReport/WorkProcedureAmountDatReport.html b/ruoyi-admin/src/main/resources/templates/report/WorkProcedureAmountDatReport/WorkProcedureAmountDatReport.html new file mode 100644 index 0000000..eb3313c --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/WorkProcedureAmountDatReport/WorkProcedureAmountDatReport.html @@ -0,0 +1,116 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + + - + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ +
+ + + + + + + + + + + 导出 + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/WorkProcedureAmountDatReport/add.html b/ruoyi-admin/src/main/resources/templates/report/WorkProcedureAmountDatReport/add.html new file mode 100644 index 0000000..1f475b0 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/WorkProcedureAmountDatReport/add.html @@ -0,0 +1,66 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/report/WorkProcedureAmountDatReport/edit.html b/ruoyi-admin/src/main/resources/templates/report/WorkProcedureAmountDatReport/edit.html new file mode 100644 index 0000000..0671218 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/report/WorkProcedureAmountDatReport/edit.html @@ -0,0 +1,67 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordDeviceamountDay.java b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordDeviceamountDay.java new file mode 100644 index 0000000..c11a962 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordDeviceamountDay.java @@ -0,0 +1,108 @@ +package com.ruoyi.report.domain; + +import java.util.Date; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 设备产量日报对象 record_deviceamount_day + * + * @author CaesarBao + * @date 2020-11-03 + */ +public class RecordDeviceamountDay extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键ID */ + private Long objid; + + /** 设备ID */ + @Excel(name = "设备ID") + private String deviceId; + + /** 设备名称 */ + @Excel(name = "设备名称") + private String deviceName; + + /** 实际产量 */ + @Excel(name = "实际产量") + private Long realAmount; + + /** 单位 */ + @Excel(name = "单位") + private String unitId; + + /** 记录时间 */ + @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date recordtime; + + public void setObjid(Long objid) + { + this.objid = objid; + } + + public Long getObjid() + { + return objid; + } + public void setDeviceId(String deviceId) + { + this.deviceId = deviceId; + } + + public String getDeviceId() + { + return deviceId; + } + public void setDeviceName(String deviceName) + { + this.deviceName = deviceName; + } + + public String getDeviceName() + { + return deviceName; + } + public void setRealAmount(Long realAmount) + { + this.realAmount = realAmount; + } + + public Long getRealAmount() + { + return realAmount; + } + public void setUnitId(String unitId) + { + this.unitId = unitId; + } + + public String getUnitId() + { + return unitId; + } + public void setRecordtime(Date recordtime) + { + this.recordtime = recordtime; + } + + public Date getRecordtime() + { + return recordtime; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("objid", getObjid()) + .append("deviceId", getDeviceId()) + .append("deviceName", getDeviceName()) + .append("realAmount", getRealAmount()) + .append("unitId", getUnitId()) + .append("recordtime", getRecordtime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordGroupamountDay.java b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordGroupamountDay.java new file mode 100644 index 0000000..f9fcf23 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordGroupamountDay.java @@ -0,0 +1,108 @@ +package com.ruoyi.report.domain; + +import java.util.Date; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 班组产量日报对象 record_groupamount_day + * + * @author CaesarBao + * @date 2020-11-04 + */ +public class RecordGroupamountDay extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键ID */ + private Long objid; + + /** 班组ID */ + @Excel(name = "班组ID") + private String groupid; + + /** 班组名称 */ + @Excel(name = "班组名称") + private String groupname; + + /** 实际产量 */ + @Excel(name = "实际产量") + private Long realAmount; + + /** 单位 */ + @Excel(name = "单位") + private String unitId; + + /** 记录时间 */ + @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date recordtime; + + public void setObjid(Long objid) + { + this.objid = objid; + } + + public Long getObjid() + { + return objid; + } + public void setGroupid(String groupid) + { + this.groupid = groupid; + } + + public String getGroupid() + { + return groupid; + } + public void setGroupname(String groupname) + { + this.groupname = groupname; + } + + public String getGroupname() + { + return groupname; + } + public void setRealAmount(Long realAmount) + { + this.realAmount = realAmount; + } + + public Long getRealAmount() + { + return realAmount; + } + public void setUnitId(String unitId) + { + this.unitId = unitId; + } + + public String getUnitId() + { + return unitId; + } + public void setRecordtime(Date recordtime) + { + this.recordtime = recordtime; + } + + public Date getRecordtime() + { + return recordtime; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("objid", getObjid()) + .append("groupid", getGroupid()) + .append("groupname", getGroupname()) + .append("realAmount", getRealAmount()) + .append("unitId", getUnitId()) + .append("recordtime", getRecordtime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordMaterialcodeamountDay.java b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordMaterialcodeamountDay.java new file mode 100644 index 0000000..0198fb0 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordMaterialcodeamountDay.java @@ -0,0 +1,108 @@ +package com.ruoyi.report.domain; + +import java.util.Date; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 规格产量日报对象 record_materialcodeamount_day + * + * @author CaesarBao + * @date 2020-11-04 + */ +public class RecordMaterialcodeamountDay extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键ID */ + private Long objid; + + /** 物料ID */ + @Excel(name = "物料ID") + private String materialId; + + /** 规格名称 */ + @Excel(name = "规格名称") + private String materialCode; + + /** 实际产量 */ + @Excel(name = "实际产量") + private Long realAmount; + + /** 单位 */ + @Excel(name = "单位") + private String unitId; + + /** 记录时间 */ + @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date recordtime; + + public void setObjid(Long objid) + { + this.objid = objid; + } + + public Long getObjid() + { + return objid; + } + public void setMaterialId(String materialId) + { + this.materialId = materialId; + } + + public String getMaterialId() + { + return materialId; + } + public void setMaterialCode(String materialCode) + { + this.materialCode = materialCode; + } + + public String getMaterialCode() + { + return materialCode; + } + public void setRealAmount(Long realAmount) + { + this.realAmount = realAmount; + } + + public Long getRealAmount() + { + return realAmount; + } + public void setUnitId(String unitId) + { + this.unitId = unitId; + } + + public String getUnitId() + { + return unitId; + } + public void setRecordtime(Date recordtime) + { + this.recordtime = recordtime; + } + + public Date getRecordtime() + { + return recordtime; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("objid", getObjid()) + .append("materialId", getMaterialId()) + .append("materialCode", getMaterialCode()) + .append("realAmount", getRealAmount()) + .append("unitId", getUnitId()) + .append("recordtime", getRecordtime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordPlanrateamountDay.java b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordPlanrateamountDay.java new file mode 100644 index 0000000..d8a0356 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordPlanrateamountDay.java @@ -0,0 +1,125 @@ +package com.ruoyi.report.domain; + +import java.util.Date; + +import lombok.Data; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 计划完成率产量日报对象 record_planrateamount_day + * + * @author CaesarBao + * @date 2020-11-04 + */ +@Data +public class RecordPlanrateamountDay extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键ID */ + private Long objid; + + /** 计划ID */ + @Excel(name = "计划ID") + private String planid; + + /** 计划总产量 */ + @Excel(name = "计划总产量") + private Long planAmount; + + /** 实际总产量 */ + @Excel(name = "实际总产量") + private Long realAmount; + + /** 计划完成率 */ + @Excel(name = "计划完成率") + private Long plancompleterate; + + /** 单位 */ + @Excel(name = "单位") + private String unitId; + + /** 记录时间 */ + @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date recordtime; + + public void setObjid(Long objid) + { + this.objid = objid; + } + + public Long getObjid() + { + return objid; + } + public void setPlanid(String planid) + { + this.planid = planid; + } + + public String getPlanid() + { + return planid; + } + public void setPlanAmount(Long planAmount) + { + this.planAmount = planAmount; + } + + public Long getPlanAmount() + { + return planAmount; + } + public void setRealAmount(Long realAmount) + { + this.realAmount = realAmount; + } + + public Long getRealAmount() + { + return realAmount; + } + public void plancompleterate(Long plancompleterate) + { + this.plancompleterate = plancompleterate; + } + + public Long plancompleterate() + { + return plancompleterate; + } + public void setUnitId(String unitId) + { + this.unitId = unitId; + } + + public String getUnitId() + { + return unitId; + } + public void setRecordtime(Date recordtime) + { + this.recordtime = recordtime; + } + + public Date getRecordtime() + { + return recordtime; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("objid", getObjid()) + .append("planid", getPlanid()) + .append("planAmount", getPlanAmount()) + .append("realAmount", getRealAmount()) + .append("plancompleterate", plancompleterate()) + .append("unitId", getUnitId()) + .append("recordtime", getRecordtime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordShiftamountDay.java b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordShiftamountDay.java new file mode 100644 index 0000000..f8ebdfa --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordShiftamountDay.java @@ -0,0 +1,108 @@ +package com.ruoyi.report.domain; + +import java.util.Date; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 班次产量日报对象 record_shiftamount_day + * + * @author CaesarBao + * @date 2020-11-03 + */ +public class RecordShiftamountDay extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键ID */ + private Long objid; + + /** 班次ID */ + @Excel(name = "班次ID") + private String shiftId; + + /** 班次名称 */ + @Excel(name = "班次名称") + private String shiftName; + + /** 实际产量 */ + @Excel(name = "实际产量") + private Long realAmount; + + /** 单位 */ + @Excel(name = "单位") + private String unitId; + + /** 记录时间 */ + @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date recordtime; + + public void setObjid(Long objid) + { + this.objid = objid; + } + + public Long getObjid() + { + return objid; + } + public void setShiftId(String shiftId) + { + this.shiftId = shiftId; + } + + public String getShiftId() + { + return shiftId; + } + public void setShiftName(String shiftName) + { + this.shiftName = shiftName; + } + + public String getShiftName() + { + return shiftName; + } + public void setRealAmount(Long realAmount) + { + this.realAmount = realAmount; + } + + public Long getRealAmount() + { + return realAmount; + } + public void setUnitId(String unitId) + { + this.unitId = unitId; + } + + public String getUnitId() + { + return unitId; + } + public void setRecordtime(Date recordtime) + { + this.recordtime = recordtime; + } + + public Date getRecordtime() + { + return recordtime; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("objid", getObjid()) + .append("shiftId", getShiftId()) + .append("shiftName", getShiftName()) + .append("realAmount", getRealAmount()) + .append("unitId", getUnitId()) + .append("recordtime", getRecordtime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordWorkprocedureamountDay.java b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordWorkprocedureamountDay.java new file mode 100644 index 0000000..8ff73b4 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/domain/RecordWorkprocedureamountDay.java @@ -0,0 +1,108 @@ +package com.ruoyi.report.domain; + +import java.util.Date; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 工序产量日报对象 record_workprocedureamount_day + * + * @author CaesarBao + * @date 2020-11-03 + */ +public class RecordWorkprocedureamountDay extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键ID */ + private Long objid; + + /** 设备ID */ + @Excel(name = "设备ID") + private String workingProcedureId; + + /** 工序名称 */ + @Excel(name = "工序名称") + private String workingProcedureName; + + /** 实际产量 */ + @Excel(name = "实际产量") + private Long realAmount; + + /** 单位 */ + @Excel(name = "单位") + private String unitId; + + /** 记录时间 */ + @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date recordtime; + + public void setObjid(Long objid) + { + this.objid = objid; + } + + public Long getObjid() + { + return objid; + } + public void setWorkingProcedureId(String workingProcedureId) + { + this.workingProcedureId = workingProcedureId; + } + + public String getWorkingProcedureId() + { + return workingProcedureId; + } + public void setWorkingProcedureName(String workingProcedureName) + { + this.workingProcedureName = workingProcedureName; + } + + public String getWorkingProcedureName() + { + return workingProcedureName; + } + public void setRealAmount(Long realAmount) + { + this.realAmount = realAmount; + } + + public Long getRealAmount() + { + return realAmount; + } + public void setUnitId(String unitId) + { + this.unitId = unitId; + } + + public String getUnitId() + { + return unitId; + } + public void setRecordtime(Date recordtime) + { + this.recordtime = recordtime; + } + + public Date getRecordtime() + { + return recordtime; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("objid", getObjid()) + .append("workingProcedureId", getWorkingProcedureId()) + .append("workingProcedureName", getWorkingProcedureName()) + .append("realAmount", getRealAmount()) + .append("unitId", getUnitId()) + .append("recordtime", getRecordtime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordDeviceamountDayMapper.java b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordDeviceamountDayMapper.java new file mode 100644 index 0000000..6557cd7 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordDeviceamountDayMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.mapper; + +import java.util.List; +import com.ruoyi.report.domain.RecordDeviceamountDay; + +/** + * 设备产量日报Mapper接口 + * + * @author CaesarBao + * @date 2020-11-03 + */ +public interface RecordDeviceamountDayMapper +{ + /** + * 查询设备产量日报 + * + * @param objid 设备产量日报ID + * @return 设备产量日报 + */ + public RecordDeviceamountDay selectRecordDeviceamountDayById(Long objid); + + /** + * 查询设备产量日报列表 + * + * @param recordDeviceamountDay 设备产量日报 + * @return 设备产量日报集合 + */ + public List selectRecordDeviceamountDayList(RecordDeviceamountDay recordDeviceamountDay); + + /** + * 新增设备产量日报 + * + * @param recordDeviceamountDay 设备产量日报 + * @return 结果 + */ + public int insertRecordDeviceamountDay(RecordDeviceamountDay recordDeviceamountDay); + + /** + * 修改设备产量日报 + * + * @param recordDeviceamountDay 设备产量日报 + * @return 结果 + */ + public int updateRecordDeviceamountDay(RecordDeviceamountDay recordDeviceamountDay); + + /** + * 删除设备产量日报 + * + * @param objid 设备产量日报ID + * @return 结果 + */ + public int deleteRecordDeviceamountDayById(Long objid); + + /** + * 批量删除设备产量日报 + * + * @param objids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordDeviceamountDayByIds(String[] objids); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordGroupamountDayMapper.java b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordGroupamountDayMapper.java new file mode 100644 index 0000000..fc294c4 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordGroupamountDayMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.mapper; + +import java.util.List; +import com.ruoyi.report.domain.RecordGroupamountDay; + +/** + * 班组产量日报Mapper接口 + * + * @author CaesarBao + * @date 2020-11-04 + */ +public interface RecordGroupamountDayMapper +{ + /** + * 查询班组产量日报 + * + * @param objid 班组产量日报ID + * @return 班组产量日报 + */ + public RecordGroupamountDay selectRecordGroupamountDayById(Long objid); + + /** + * 查询班组产量日报列表 + * + * @param recordGroupamountDay 班组产量日报 + * @return 班组产量日报集合 + */ + public List selectRecordGroupamountDayList(RecordGroupamountDay recordGroupamountDay); + + /** + * 新增班组产量日报 + * + * @param recordGroupamountDay 班组产量日报 + * @return 结果 + */ + public int insertRecordGroupamountDay(RecordGroupamountDay recordGroupamountDay); + + /** + * 修改班组产量日报 + * + * @param recordGroupamountDay 班组产量日报 + * @return 结果 + */ + public int updateRecordGroupamountDay(RecordGroupamountDay recordGroupamountDay); + + /** + * 删除班组产量日报 + * + * @param objid 班组产量日报ID + * @return 结果 + */ + public int deleteRecordGroupamountDayById(Long objid); + + /** + * 批量删除班组产量日报 + * + * @param objids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordGroupamountDayByIds(String[] objids); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordMaterialcodeamountDayMapper.java b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordMaterialcodeamountDayMapper.java new file mode 100644 index 0000000..86f049a --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordMaterialcodeamountDayMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.mapper; + +import java.util.List; +import com.ruoyi.report.domain.RecordMaterialcodeamountDay; + +/** + * 规格产量日报Mapper接口 + * + * @author CaesarBao + * @date 2020-11-04 + */ +public interface RecordMaterialcodeamountDayMapper +{ + /** + * 查询规格产量日报 + * + * @param objid 规格产量日报ID + * @return 规格产量日报 + */ + public RecordMaterialcodeamountDay selectRecordMaterialcodeamountDayById(Long objid); + + /** + * 查询规格产量日报列表 + * + * @param recordMaterialcodeamountDay 规格产量日报 + * @return 规格产量日报集合 + */ + public List selectRecordMaterialcodeamountDayList(RecordMaterialcodeamountDay recordMaterialcodeamountDay); + + /** + * 新增规格产量日报 + * + * @param recordMaterialcodeamountDay 规格产量日报 + * @return 结果 + */ + public int insertRecordMaterialcodeamountDay(RecordMaterialcodeamountDay recordMaterialcodeamountDay); + + /** + * 修改规格产量日报 + * + * @param recordMaterialcodeamountDay 规格产量日报 + * @return 结果 + */ + public int updateRecordMaterialcodeamountDay(RecordMaterialcodeamountDay recordMaterialcodeamountDay); + + /** + * 删除规格产量日报 + * + * @param objid 规格产量日报ID + * @return 结果 + */ + public int deleteRecordMaterialcodeamountDayById(Long objid); + + /** + * 批量删除规格产量日报 + * + * @param objids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordMaterialcodeamountDayByIds(String[] objids); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordPlanrateamountDayMapper.java b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordPlanrateamountDayMapper.java new file mode 100644 index 0000000..21c0257 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordPlanrateamountDayMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.mapper; + +import java.util.List; +import com.ruoyi.report.domain.RecordPlanrateamountDay; + +/** + * 计划完成率产量日报Mapper接口 + * + * @author CaesarBao + * @date 2020-11-04 + */ +public interface RecordPlanrateamountDayMapper +{ + /** + * 查询计划完成率产量日报 + * + * @param objid 计划完成率产量日报ID + * @return 计划完成率产量日报 + */ + public RecordPlanrateamountDay selectRecordPlanrateamountDayById(Long objid); + + /** + * 查询计划完成率产量日报列表 + * + * @param recordPlanrateamountDay 计划完成率产量日报 + * @return 计划完成率产量日报集合 + */ + public List selectRecordPlanrateamountDayList(RecordPlanrateamountDay recordPlanrateamountDay); + + /** + * 新增计划完成率产量日报 + * + * @param recordPlanrateamountDay 计划完成率产量日报 + * @return 结果 + */ + public int insertRecordPlanrateamountDay(RecordPlanrateamountDay recordPlanrateamountDay); + + /** + * 修改计划完成率产量日报 + * + * @param recordPlanrateamountDay 计划完成率产量日报 + * @return 结果 + */ + public int updateRecordPlanrateamountDay(RecordPlanrateamountDay recordPlanrateamountDay); + + /** + * 删除计划完成率产量日报 + * + * @param objid 计划完成率产量日报ID + * @return 结果 + */ + public int deleteRecordPlanrateamountDayById(Long objid); + + /** + * 批量删除计划完成率产量日报 + * + * @param objids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordPlanrateamountDayByIds(String[] objids); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordShiftamountDayMapper.java b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordShiftamountDayMapper.java new file mode 100644 index 0000000..cd897f4 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordShiftamountDayMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.mapper; + +import java.util.List; +import com.ruoyi.report.domain.RecordShiftamountDay; + +/** + * 班次产量日报Mapper接口 + * + * @author CaesarBao + * @date 2020-11-03 + */ +public interface RecordShiftamountDayMapper +{ + /** + * 查询班次产量日报 + * + * @param objid 班次产量日报ID + * @return 班次产量日报 + */ + public RecordShiftamountDay selectRecordShiftamountDayById(Long objid); + + /** + * 查询班次产量日报列表 + * + * @param recordShiftamountDay 班次产量日报 + * @return 班次产量日报集合 + */ + public List selectRecordShiftamountDayList(RecordShiftamountDay recordShiftamountDay); + + /** + * 新增班次产量日报 + * + * @param recordShiftamountDay 班次产量日报 + * @return 结果 + */ + public int insertRecordShiftamountDay(RecordShiftamountDay recordShiftamountDay); + + /** + * 修改班次产量日报 + * + * @param recordShiftamountDay 班次产量日报 + * @return 结果 + */ + public int updateRecordShiftamountDay(RecordShiftamountDay recordShiftamountDay); + + /** + * 删除班次产量日报 + * + * @param objid 班次产量日报ID + * @return 结果 + */ + public int deleteRecordShiftamountDayById(Long objid); + + /** + * 批量删除班次产量日报 + * + * @param objids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordShiftamountDayByIds(String[] objids); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordWorkprocedureamountDayMapper.java b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordWorkprocedureamountDayMapper.java new file mode 100644 index 0000000..d43ef22 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/mapper/RecordWorkprocedureamountDayMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.mapper; + +import java.util.List; +import com.ruoyi.report.domain.RecordWorkprocedureamountDay; + +/** + * 工序产量日报Mapper接口 + * + * @author CaesarBao + * @date 2020-11-03 + */ +public interface RecordWorkprocedureamountDayMapper +{ + /** + * 查询工序产量日报 + * + * @param objid 工序产量日报ID + * @return 工序产量日报 + */ + public RecordWorkprocedureamountDay selectRecordWorkprocedureamountDayById(Long objid); + + /** + * 查询工序产量日报列表 + * + * @param recordWorkprocedureamountDay 工序产量日报 + * @return 工序产量日报集合 + */ + public List selectRecordWorkprocedureamountDayList(RecordWorkprocedureamountDay recordWorkprocedureamountDay); + + /** + * 新增工序产量日报 + * + * @param recordWorkprocedureamountDay 工序产量日报 + * @return 结果 + */ + public int insertRecordWorkprocedureamountDay(RecordWorkprocedureamountDay recordWorkprocedureamountDay); + + /** + * 修改工序产量日报 + * + * @param recordWorkprocedureamountDay 工序产量日报 + * @return 结果 + */ + public int updateRecordWorkprocedureamountDay(RecordWorkprocedureamountDay recordWorkprocedureamountDay); + + /** + * 删除工序产量日报 + * + * @param objid 工序产量日报ID + * @return 结果 + */ + public int deleteRecordWorkprocedureamountDayById(Long objid); + + /** + * 批量删除工序产量日报 + * + * @param objids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordWorkprocedureamountDayByIds(String[] objids); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordDeviceamountDayService.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordDeviceamountDayService.java new file mode 100644 index 0000000..1e4debb --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordDeviceamountDayService.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.service; + +import java.util.List; +import com.ruoyi.report.domain.RecordDeviceamountDay; + +/** + * 设备产量日报Service接口 + * + * @author CaesarBao + * @date 2020-11-03 + */ +public interface IRecordDeviceamountDayService +{ + /** + * 查询设备产量日报 + * + * @param objid 设备产量日报ID + * @return 设备产量日报 + */ + public RecordDeviceamountDay selectRecordDeviceamountDayById(Long objid); + + /** + * 查询设备产量日报列表 + * + * @param recordDeviceamountDay 设备产量日报 + * @return 设备产量日报集合 + */ + public List selectRecordDeviceamountDayList(RecordDeviceamountDay recordDeviceamountDay); + + /** + * 新增设备产量日报 + * + * @param recordDeviceamountDay 设备产量日报 + * @return 结果 + */ + public int insertRecordDeviceamountDay(RecordDeviceamountDay recordDeviceamountDay); + + /** + * 修改设备产量日报 + * + * @param recordDeviceamountDay 设备产量日报 + * @return 结果 + */ + public int updateRecordDeviceamountDay(RecordDeviceamountDay recordDeviceamountDay); + + /** + * 批量删除设备产量日报 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordDeviceamountDayByIds(String ids); + + /** + * 删除设备产量日报信息 + * + * @param objid 设备产量日报ID + * @return 结果 + */ + public int deleteRecordDeviceamountDayById(Long objid); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordGroupamountDayService.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordGroupamountDayService.java new file mode 100644 index 0000000..de2aed3 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordGroupamountDayService.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.service; + +import java.util.List; +import com.ruoyi.report.domain.RecordGroupamountDay; + +/** + * 班组产量日报Service接口 + * + * @author CaesarBao + * @date 2020-11-04 + */ +public interface IRecordGroupamountDayService +{ + /** + * 查询班组产量日报 + * + * @param objid 班组产量日报ID + * @return 班组产量日报 + */ + public RecordGroupamountDay selectRecordGroupamountDayById(Long objid); + + /** + * 查询班组产量日报列表 + * + * @param recordGroupamountDay 班组产量日报 + * @return 班组产量日报集合 + */ + public List selectRecordGroupamountDayList(RecordGroupamountDay recordGroupamountDay); + + /** + * 新增班组产量日报 + * + * @param recordGroupamountDay 班组产量日报 + * @return 结果 + */ + public int insertRecordGroupamountDay(RecordGroupamountDay recordGroupamountDay); + + /** + * 修改班组产量日报 + * + * @param recordGroupamountDay 班组产量日报 + * @return 结果 + */ + public int updateRecordGroupamountDay(RecordGroupamountDay recordGroupamountDay); + + /** + * 批量删除班组产量日报 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordGroupamountDayByIds(String ids); + + /** + * 删除班组产量日报信息 + * + * @param objid 班组产量日报ID + * @return 结果 + */ + public int deleteRecordGroupamountDayById(Long objid); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordMaterialcodeamountDayService.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordMaterialcodeamountDayService.java new file mode 100644 index 0000000..efe3bc2 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordMaterialcodeamountDayService.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.service; + +import java.util.List; +import com.ruoyi.report.domain.RecordMaterialcodeamountDay; + +/** + * 规格产量日报Service接口 + * + * @author CaesarBao + * @date 2020-11-04 + */ +public interface IRecordMaterialcodeamountDayService +{ + /** + * 查询规格产量日报 + * + * @param objid 规格产量日报ID + * @return 规格产量日报 + */ + public RecordMaterialcodeamountDay selectRecordMaterialcodeamountDayById(Long objid); + + /** + * 查询规格产量日报列表 + * + * @param recordMaterialcodeamountDay 规格产量日报 + * @return 规格产量日报集合 + */ + public List selectRecordMaterialcodeamountDayList(RecordMaterialcodeamountDay recordMaterialcodeamountDay); + + /** + * 新增规格产量日报 + * + * @param recordMaterialcodeamountDay 规格产量日报 + * @return 结果 + */ + public int insertRecordMaterialcodeamountDay(RecordMaterialcodeamountDay recordMaterialcodeamountDay); + + /** + * 修改规格产量日报 + * + * @param recordMaterialcodeamountDay 规格产量日报 + * @return 结果 + */ + public int updateRecordMaterialcodeamountDay(RecordMaterialcodeamountDay recordMaterialcodeamountDay); + + /** + * 批量删除规格产量日报 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordMaterialcodeamountDayByIds(String ids); + + /** + * 删除规格产量日报信息 + * + * @param objid 规格产量日报ID + * @return 结果 + */ + public int deleteRecordMaterialcodeamountDayById(Long objid); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordPlanrateamountDayService.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordPlanrateamountDayService.java new file mode 100644 index 0000000..45d5af7 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordPlanrateamountDayService.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.service; + +import java.util.List; +import com.ruoyi.report.domain.RecordPlanrateamountDay; + +/** + * 计划完成率产量日报Service接口 + * + * @author CaesarBao + * @date 2020-11-04 + */ +public interface IRecordPlanrateamountDayService +{ + /** + * 查询计划完成率产量日报 + * + * @param objid 计划完成率产量日报ID + * @return 计划完成率产量日报 + */ + public RecordPlanrateamountDay selectRecordPlanrateamountDayById(Long objid); + + /** + * 查询计划完成率产量日报列表 + * + * @param recordPlanrateamountDay 计划完成率产量日报 + * @return 计划完成率产量日报集合 + */ + public List selectRecordPlanrateamountDayList(RecordPlanrateamountDay recordPlanrateamountDay); + + /** + * 新增计划完成率产量日报 + * + * @param recordPlanrateamountDay 计划完成率产量日报 + * @return 结果 + */ + public int insertRecordPlanrateamountDay(RecordPlanrateamountDay recordPlanrateamountDay); + + /** + * 修改计划完成率产量日报 + * + * @param recordPlanrateamountDay 计划完成率产量日报 + * @return 结果 + */ + public int updateRecordPlanrateamountDay(RecordPlanrateamountDay recordPlanrateamountDay); + + /** + * 批量删除计划完成率产量日报 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordPlanrateamountDayByIds(String ids); + + /** + * 删除计划完成率产量日报信息 + * + * @param objid 计划完成率产量日报ID + * @return 结果 + */ + public int deleteRecordPlanrateamountDayById(Long objid); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordShiftamountDayService.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordShiftamountDayService.java new file mode 100644 index 0000000..0af6a13 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordShiftamountDayService.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.service; + +import java.util.List; +import com.ruoyi.report.domain.RecordShiftamountDay; + +/** + * 班次产量日报Service接口 + * + * @author CaesarBao + * @date 2020-11-03 + */ +public interface IRecordShiftamountDayService +{ + /** + * 查询班次产量日报 + * + * @param objid 班次产量日报ID + * @return 班次产量日报 + */ + public RecordShiftamountDay selectRecordShiftamountDayById(Long objid); + + /** + * 查询班次产量日报列表 + * + * @param recordShiftamountDay 班次产量日报 + * @return 班次产量日报集合 + */ + public List selectRecordShiftamountDayList(RecordShiftamountDay recordShiftamountDay); + + /** + * 新增班次产量日报 + * + * @param recordShiftamountDay 班次产量日报 + * @return 结果 + */ + public int insertRecordShiftamountDay(RecordShiftamountDay recordShiftamountDay); + + /** + * 修改班次产量日报 + * + * @param recordShiftamountDay 班次产量日报 + * @return 结果 + */ + public int updateRecordShiftamountDay(RecordShiftamountDay recordShiftamountDay); + + /** + * 批量删除班次产量日报 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordShiftamountDayByIds(String ids); + + /** + * 删除班次产量日报信息 + * + * @param objid 班次产量日报ID + * @return 结果 + */ + public int deleteRecordShiftamountDayById(Long objid); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordWorkprocedureamountDayService.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordWorkprocedureamountDayService.java new file mode 100644 index 0000000..55b523f --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/IRecordWorkprocedureamountDayService.java @@ -0,0 +1,61 @@ +package com.ruoyi.report.service; + +import java.util.List; +import com.ruoyi.report.domain.RecordWorkprocedureamountDay; + +/** + * 工序产量日报Service接口 + * + * @author CaesarBao + * @date 2020-11-03 + */ +public interface IRecordWorkprocedureamountDayService +{ + /** + * 查询工序产量日报 + * + * @param objid 工序产量日报ID + * @return 工序产量日报 + */ + public RecordWorkprocedureamountDay selectRecordWorkprocedureamountDayById(Long objid); + + /** + * 查询工序产量日报列表 + * + * @param recordWorkprocedureamountDay 工序产量日报 + * @return 工序产量日报集合 + */ + public List selectRecordWorkprocedureamountDayList(RecordWorkprocedureamountDay recordWorkprocedureamountDay); + + /** + * 新增工序产量日报 + * + * @param recordWorkprocedureamountDay 工序产量日报 + * @return 结果 + */ + public int insertRecordWorkprocedureamountDay(RecordWorkprocedureamountDay recordWorkprocedureamountDay); + + /** + * 修改工序产量日报 + * + * @param recordWorkprocedureamountDay 工序产量日报 + * @return 结果 + */ + public int updateRecordWorkprocedureamountDay(RecordWorkprocedureamountDay recordWorkprocedureamountDay); + + /** + * 批量删除工序产量日报 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteRecordWorkprocedureamountDayByIds(String ids); + + /** + * 删除工序产量日报信息 + * + * @param objid 工序产量日报ID + * @return 结果 + */ + public int deleteRecordWorkprocedureamountDayById(Long objid); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordDeviceamountDayServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordDeviceamountDayServiceImpl.java new file mode 100644 index 0000000..75f2211 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordDeviceamountDayServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.report.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.report.mapper.RecordDeviceamountDayMapper; +import com.ruoyi.report.domain.RecordDeviceamountDay; +import com.ruoyi.report.service.IRecordDeviceamountDayService; +import com.ruoyi.common.core.text.Convert; + +/** + * 设备产量日报Service业务层处理 + * + * @author CaesarBao + * @date 2020-11-03 + */ +@Service +public class RecordDeviceamountDayServiceImpl implements IRecordDeviceamountDayService +{ + @Autowired + private RecordDeviceamountDayMapper recordDeviceamountDayMapper; + + /** + * 查询设备产量日报 + * + * @param objid 设备产量日报ID + * @return 设备产量日报 + */ + @Override + public RecordDeviceamountDay selectRecordDeviceamountDayById(Long objid) + { + return recordDeviceamountDayMapper.selectRecordDeviceamountDayById(objid); + } + + /** + * 查询设备产量日报列表 + * + * @param recordDeviceamountDay 设备产量日报 + * @return 设备产量日报 + */ + @Override + public List selectRecordDeviceamountDayList(RecordDeviceamountDay recordDeviceamountDay) + { + return recordDeviceamountDayMapper.selectRecordDeviceamountDayList(recordDeviceamountDay); + } + + /** + * 新增设备产量日报 + * + * @param recordDeviceamountDay 设备产量日报 + * @return 结果 + */ + @Override + public int insertRecordDeviceamountDay(RecordDeviceamountDay recordDeviceamountDay) + { + return recordDeviceamountDayMapper.insertRecordDeviceamountDay(recordDeviceamountDay); + } + + /** + * 修改设备产量日报 + * + * @param recordDeviceamountDay 设备产量日报 + * @return 结果 + */ + @Override + public int updateRecordDeviceamountDay(RecordDeviceamountDay recordDeviceamountDay) + { + return recordDeviceamountDayMapper.updateRecordDeviceamountDay(recordDeviceamountDay); + } + + /** + * 删除设备产量日报对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteRecordDeviceamountDayByIds(String ids) + { + return recordDeviceamountDayMapper.deleteRecordDeviceamountDayByIds(Convert.toStrArray(ids)); + } + + /** + * 删除设备产量日报信息 + * + * @param objid 设备产量日报ID + * @return 结果 + */ + @Override + public int deleteRecordDeviceamountDayById(Long objid) + { + return recordDeviceamountDayMapper.deleteRecordDeviceamountDayById(objid); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordGroupamountDayServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordGroupamountDayServiceImpl.java new file mode 100644 index 0000000..a0e2077 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordGroupamountDayServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.report.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.report.mapper.RecordGroupamountDayMapper; +import com.ruoyi.report.domain.RecordGroupamountDay; +import com.ruoyi.report.service.IRecordGroupamountDayService; +import com.ruoyi.common.core.text.Convert; + +/** + * 班组产量日报Service业务层处理 + * + * @author CaesarBao + * @date 2020-11-04 + */ +@Service +public class RecordGroupamountDayServiceImpl implements IRecordGroupamountDayService +{ + @Autowired + private RecordGroupamountDayMapper recordGroupamountDayMapper; + + /** + * 查询班组产量日报 + * + * @param objid 班组产量日报ID + * @return 班组产量日报 + */ + @Override + public RecordGroupamountDay selectRecordGroupamountDayById(Long objid) + { + return recordGroupamountDayMapper.selectRecordGroupamountDayById(objid); + } + + /** + * 查询班组产量日报列表 + * + * @param recordGroupamountDay 班组产量日报 + * @return 班组产量日报 + */ + @Override + public List selectRecordGroupamountDayList(RecordGroupamountDay recordGroupamountDay) + { + return recordGroupamountDayMapper.selectRecordGroupamountDayList(recordGroupamountDay); + } + + /** + * 新增班组产量日报 + * + * @param recordGroupamountDay 班组产量日报 + * @return 结果 + */ + @Override + public int insertRecordGroupamountDay(RecordGroupamountDay recordGroupamountDay) + { + return recordGroupamountDayMapper.insertRecordGroupamountDay(recordGroupamountDay); + } + + /** + * 修改班组产量日报 + * + * @param recordGroupamountDay 班组产量日报 + * @return 结果 + */ + @Override + public int updateRecordGroupamountDay(RecordGroupamountDay recordGroupamountDay) + { + return recordGroupamountDayMapper.updateRecordGroupamountDay(recordGroupamountDay); + } + + /** + * 删除班组产量日报对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteRecordGroupamountDayByIds(String ids) + { + return recordGroupamountDayMapper.deleteRecordGroupamountDayByIds(Convert.toStrArray(ids)); + } + + /** + * 删除班组产量日报信息 + * + * @param objid 班组产量日报ID + * @return 结果 + */ + @Override + public int deleteRecordGroupamountDayById(Long objid) + { + return recordGroupamountDayMapper.deleteRecordGroupamountDayById(objid); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordMaterialcodeamountDayServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordMaterialcodeamountDayServiceImpl.java new file mode 100644 index 0000000..8fd5011 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordMaterialcodeamountDayServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.report.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.report.mapper.RecordMaterialcodeamountDayMapper; +import com.ruoyi.report.domain.RecordMaterialcodeamountDay; +import com.ruoyi.report.service.IRecordMaterialcodeamountDayService; +import com.ruoyi.common.core.text.Convert; + +/** + * 规格产量日报Service业务层处理 + * + * @author CaesarBao + * @date 2020-11-04 + */ +@Service +public class RecordMaterialcodeamountDayServiceImpl implements IRecordMaterialcodeamountDayService +{ + @Autowired + private RecordMaterialcodeamountDayMapper recordMaterialcodeamountDayMapper; + + /** + * 查询规格产量日报 + * + * @param objid 规格产量日报ID + * @return 规格产量日报 + */ + @Override + public RecordMaterialcodeamountDay selectRecordMaterialcodeamountDayById(Long objid) + { + return recordMaterialcodeamountDayMapper.selectRecordMaterialcodeamountDayById(objid); + } + + /** + * 查询规格产量日报列表 + * + * @param recordMaterialcodeamountDay 规格产量日报 + * @return 规格产量日报 + */ + @Override + public List selectRecordMaterialcodeamountDayList(RecordMaterialcodeamountDay recordMaterialcodeamountDay) + { + return recordMaterialcodeamountDayMapper.selectRecordMaterialcodeamountDayList(recordMaterialcodeamountDay); + } + + /** + * 新增规格产量日报 + * + * @param recordMaterialcodeamountDay 规格产量日报 + * @return 结果 + */ + @Override + public int insertRecordMaterialcodeamountDay(RecordMaterialcodeamountDay recordMaterialcodeamountDay) + { + return recordMaterialcodeamountDayMapper.insertRecordMaterialcodeamountDay(recordMaterialcodeamountDay); + } + + /** + * 修改规格产量日报 + * + * @param recordMaterialcodeamountDay 规格产量日报 + * @return 结果 + */ + @Override + public int updateRecordMaterialcodeamountDay(RecordMaterialcodeamountDay recordMaterialcodeamountDay) + { + return recordMaterialcodeamountDayMapper.updateRecordMaterialcodeamountDay(recordMaterialcodeamountDay); + } + + /** + * 删除规格产量日报对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteRecordMaterialcodeamountDayByIds(String ids) + { + return recordMaterialcodeamountDayMapper.deleteRecordMaterialcodeamountDayByIds(Convert.toStrArray(ids)); + } + + /** + * 删除规格产量日报信息 + * + * @param objid 规格产量日报ID + * @return 结果 + */ + @Override + public int deleteRecordMaterialcodeamountDayById(Long objid) + { + return recordMaterialcodeamountDayMapper.deleteRecordMaterialcodeamountDayById(objid); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordPlanrateamountDayServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordPlanrateamountDayServiceImpl.java new file mode 100644 index 0000000..a0f7c38 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordPlanrateamountDayServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.report.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.report.mapper.RecordPlanrateamountDayMapper; +import com.ruoyi.report.domain.RecordPlanrateamountDay; +import com.ruoyi.report.service.IRecordPlanrateamountDayService; +import com.ruoyi.common.core.text.Convert; + +/** + * 计划完成率产量日报Service业务层处理 + * + * @author CaesarBao + * @date 2020-11-04 + */ +@Service +public class RecordPlanrateamountDayServiceImpl implements IRecordPlanrateamountDayService +{ + @Autowired + private RecordPlanrateamountDayMapper recordPlanrateamountDayMapper; + + /** + * 查询计划完成率产量日报 + * + * @param objid 计划完成率产量日报ID + * @return 计划完成率产量日报 + */ + @Override + public RecordPlanrateamountDay selectRecordPlanrateamountDayById(Long objid) + { + return recordPlanrateamountDayMapper.selectRecordPlanrateamountDayById(objid); + } + + /** + * 查询计划完成率产量日报列表 + * + * @param recordPlanrateamountDay 计划完成率产量日报 + * @return 计划完成率产量日报 + */ + @Override + public List selectRecordPlanrateamountDayList(RecordPlanrateamountDay recordPlanrateamountDay) + { + return recordPlanrateamountDayMapper.selectRecordPlanrateamountDayList(recordPlanrateamountDay); + } + + /** + * 新增计划完成率产量日报 + * + * @param recordPlanrateamountDay 计划完成率产量日报 + * @return 结果 + */ + @Override + public int insertRecordPlanrateamountDay(RecordPlanrateamountDay recordPlanrateamountDay) + { + return recordPlanrateamountDayMapper.insertRecordPlanrateamountDay(recordPlanrateamountDay); + } + + /** + * 修改计划完成率产量日报 + * + * @param recordPlanrateamountDay 计划完成率产量日报 + * @return 结果 + */ + @Override + public int updateRecordPlanrateamountDay(RecordPlanrateamountDay recordPlanrateamountDay) + { + return recordPlanrateamountDayMapper.updateRecordPlanrateamountDay(recordPlanrateamountDay); + } + + /** + * 删除计划完成率产量日报对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteRecordPlanrateamountDayByIds(String ids) + { + return recordPlanrateamountDayMapper.deleteRecordPlanrateamountDayByIds(Convert.toStrArray(ids)); + } + + /** + * 删除计划完成率产量日报信息 + * + * @param objid 计划完成率产量日报ID + * @return 结果 + */ + @Override + public int deleteRecordPlanrateamountDayById(Long objid) + { + return recordPlanrateamountDayMapper.deleteRecordPlanrateamountDayById(objid); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordShiftamountDayServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordShiftamountDayServiceImpl.java new file mode 100644 index 0000000..bf5d656 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordShiftamountDayServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.report.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.report.mapper.RecordShiftamountDayMapper; +import com.ruoyi.report.domain.RecordShiftamountDay; +import com.ruoyi.report.service.IRecordShiftamountDayService; +import com.ruoyi.common.core.text.Convert; + +/** + * 班次产量日报Service业务层处理 + * + * @author CaesarBao + * @date 2020-11-03 + */ +@Service +public class RecordShiftamountDayServiceImpl implements IRecordShiftamountDayService +{ + @Autowired + private RecordShiftamountDayMapper recordShiftamountDayMapper; + + /** + * 查询班次产量日报 + * + * @param objid 班次产量日报ID + * @return 班次产量日报 + */ + @Override + public RecordShiftamountDay selectRecordShiftamountDayById(Long objid) + { + return recordShiftamountDayMapper.selectRecordShiftamountDayById(objid); + } + + /** + * 查询班次产量日报列表 + * + * @param recordShiftamountDay 班次产量日报 + * @return 班次产量日报 + */ + @Override + public List selectRecordShiftamountDayList(RecordShiftamountDay recordShiftamountDay) + { + return recordShiftamountDayMapper.selectRecordShiftamountDayList(recordShiftamountDay); + } + + /** + * 新增班次产量日报 + * + * @param recordShiftamountDay 班次产量日报 + * @return 结果 + */ + @Override + public int insertRecordShiftamountDay(RecordShiftamountDay recordShiftamountDay) + { + return recordShiftamountDayMapper.insertRecordShiftamountDay(recordShiftamountDay); + } + + /** + * 修改班次产量日报 + * + * @param recordShiftamountDay 班次产量日报 + * @return 结果 + */ + @Override + public int updateRecordShiftamountDay(RecordShiftamountDay recordShiftamountDay) + { + return recordShiftamountDayMapper.updateRecordShiftamountDay(recordShiftamountDay); + } + + /** + * 删除班次产量日报对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteRecordShiftamountDayByIds(String ids) + { + return recordShiftamountDayMapper.deleteRecordShiftamountDayByIds(Convert.toStrArray(ids)); + } + + /** + * 删除班次产量日报信息 + * + * @param objid 班次产量日报ID + * @return 结果 + */ + @Override + public int deleteRecordShiftamountDayById(Long objid) + { + return recordShiftamountDayMapper.deleteRecordShiftamountDayById(objid); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordWorkprocedureamountDayServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordWorkprocedureamountDayServiceImpl.java new file mode 100644 index 0000000..586f83f --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/report/service/impl/RecordWorkprocedureamountDayServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.report.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.report.mapper.RecordWorkprocedureamountDayMapper; +import com.ruoyi.report.domain.RecordWorkprocedureamountDay; +import com.ruoyi.report.service.IRecordWorkprocedureamountDayService; +import com.ruoyi.common.core.text.Convert; + +/** + * 工序产量日报Service业务层处理 + * + * @author CaesarBao + * @date 2020-11-03 + */ +@Service +public class RecordWorkprocedureamountDayServiceImpl implements IRecordWorkprocedureamountDayService +{ + @Autowired + private RecordWorkprocedureamountDayMapper recordWorkprocedureamountDayMapper; + + /** + * 查询工序产量日报 + * + * @param objid 工序产量日报ID + * @return 工序产量日报 + */ + @Override + public RecordWorkprocedureamountDay selectRecordWorkprocedureamountDayById(Long objid) + { + return recordWorkprocedureamountDayMapper.selectRecordWorkprocedureamountDayById(objid); + } + + /** + * 查询工序产量日报列表 + * + * @param recordWorkprocedureamountDay 工序产量日报 + * @return 工序产量日报 + */ + @Override + public List selectRecordWorkprocedureamountDayList(RecordWorkprocedureamountDay recordWorkprocedureamountDay) + { + return recordWorkprocedureamountDayMapper.selectRecordWorkprocedureamountDayList(recordWorkprocedureamountDay); + } + + /** + * 新增工序产量日报 + * + * @param recordWorkprocedureamountDay 工序产量日报 + * @return 结果 + */ + @Override + public int insertRecordWorkprocedureamountDay(RecordWorkprocedureamountDay recordWorkprocedureamountDay) + { + return recordWorkprocedureamountDayMapper.insertRecordWorkprocedureamountDay(recordWorkprocedureamountDay); + } + + /** + * 修改工序产量日报 + * + * @param recordWorkprocedureamountDay 工序产量日报 + * @return 结果 + */ + @Override + public int updateRecordWorkprocedureamountDay(RecordWorkprocedureamountDay recordWorkprocedureamountDay) + { + return recordWorkprocedureamountDayMapper.updateRecordWorkprocedureamountDay(recordWorkprocedureamountDay); + } + + /** + * 删除工序产量日报对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteRecordWorkprocedureamountDayByIds(String ids) + { + return recordWorkprocedureamountDayMapper.deleteRecordWorkprocedureamountDayByIds(Convert.toStrArray(ids)); + } + + /** + * 删除工序产量日报信息 + * + * @param objid 工序产量日报ID + * @return 结果 + */ + @Override + public int deleteRecordWorkprocedureamountDayById(Long objid) + { + return recordWorkprocedureamountDayMapper.deleteRecordWorkprocedureamountDayById(objid); + } +} diff --git a/ruoyi-system/src/main/resources/mapper/report/RecordDeviceamountDayMapper.xml b/ruoyi-system/src/main/resources/mapper/report/RecordDeviceamountDayMapper.xml new file mode 100644 index 0000000..8bf33d2 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/report/RecordDeviceamountDayMapper.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + select objid, device_id, device_name, real_amount, unit_id, recordtime from record_deviceamount_day + + + + + + + + insert into record_deviceamount_day + + objid, + device_id, + device_name, + real_amount, + unit_id, + recordtime, + + + #{objid}, + #{deviceId}, + #{deviceName}, + #{realAmount}, + #{unitId}, + #{recordtime}, + + + + + update record_deviceamount_day + + device_id = #{deviceId}, + device_name = #{deviceName}, + real_amount = #{realAmount}, + unit_id = #{unitId}, + recordtime = #{recordtime}, + + where objid = #{objid} + + + + delete from record_deviceamount_day where objid = #{objid} + + + + delete from record_deviceamount_day where objid in + + #{objid} + + + + diff --git a/ruoyi-system/src/main/resources/mapper/report/RecordGroupamountDayMapper.xml b/ruoyi-system/src/main/resources/mapper/report/RecordGroupamountDayMapper.xml new file mode 100644 index 0000000..c99e05f --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/report/RecordGroupamountDayMapper.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + select objid, groupid, groupname, real_amount, unit_id, recordtime from record_groupamount_day + + + + + + + + insert into record_groupamount_day + + objid, + groupid, + groupname, + real_amount, + unit_id, + recordtime, + + + #{objid}, + #{groupid}, + #{groupname}, + #{realAmount}, + #{unitId}, + #{recordtime}, + + + + + update record_groupamount_day + + groupid = #{groupid}, + groupname = #{groupname}, + real_amount = #{realAmount}, + unit_id = #{unitId}, + recordtime = #{recordtime}, + + where objid = #{objid} + + + + delete from record_groupamount_day where objid = #{objid} + + + + delete from record_groupamount_day where objid in + + #{objid} + + + + diff --git a/ruoyi-system/src/main/resources/mapper/report/RecordMaterialcodeamountDayMapper.xml b/ruoyi-system/src/main/resources/mapper/report/RecordMaterialcodeamountDayMapper.xml new file mode 100644 index 0000000..9c25eb6 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/report/RecordMaterialcodeamountDayMapper.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + select objid, material_id, material_code, real_amount, unit_id, recordtime from record_materialcodeamount_day + + + + + + + + insert into record_materialcodeamount_day + + objid, + material_id, + material_code, + real_amount, + unit_id, + recordtime, + + + #{objid}, + #{materialId}, + #{materialCode}, + #{realAmount}, + #{unitId}, + #{recordtime}, + + + + + update record_materialcodeamount_day + + material_id = #{materialId}, + material_code = #{materialCode}, + real_amount = #{realAmount}, + unit_id = #{unitId}, + recordtime = #{recordtime}, + + where objid = #{objid} + + + + delete from record_materialcodeamount_day where objid = #{objid} + + + + delete from record_materialcodeamount_day where objid in + + #{objid} + + + + diff --git a/ruoyi-system/src/main/resources/mapper/report/RecordPlanrateamountDayMapper.xml b/ruoyi-system/src/main/resources/mapper/report/RecordPlanrateamountDayMapper.xml new file mode 100644 index 0000000..feefd3e --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/report/RecordPlanrateamountDayMapper.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + select objid, planid, plan_amount, real_amount, plancompleterate, unit_id, recordtime from record_planrateamount_day + + + + + + + + insert into record_planrateamount_day + + objid, + planid, + plan_amount, + real_amount, + plancompleterate, + unit_id, + recordtime, + + + #{objid}, + #{planid}, + #{planAmount}, + #{realAmount}, + #{plancompleterate}, + #{unitId}, + #{recordtime}, + + + + + update record_planrateamount_day + + planid = #{planid}, + plan_amount = #{planAmount}, + real_amount = #{realAmount}, + plancompleterate = #{plancompleterate}, + unit_id = #{unitId}, + recordtime = #{recordtime}, + + where objid = #{objid} + + + + delete from record_planrateamount_day where objid = #{objid} + + + + delete from record_planrateamount_day where objid in + + #{objid} + + + + diff --git a/ruoyi-system/src/main/resources/mapper/report/RecordShiftamountDayMapper.xml b/ruoyi-system/src/main/resources/mapper/report/RecordShiftamountDayMapper.xml new file mode 100644 index 0000000..c2c537b --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/report/RecordShiftamountDayMapper.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + select objid, shift_id, shift_name, real_amount, unit_id, recordtime from record_shiftamount_day + + + + + + + + insert into record_shiftamount_day + + objid, + shift_id, + shift_name, + real_amount, + unit_id, + recordtime, + + + #{objid}, + #{shiftId}, + #{shiftName}, + #{realAmount}, + #{unitId}, + #{recordtime}, + + + + + update record_shiftamount_day + + shift_id = #{shiftId}, + shift_name = #{shiftName}, + real_amount = #{realAmount}, + unit_id = #{unitId}, + recordtime = #{recordtime}, + + where objid = #{objid} + + + + delete from record_shiftamount_day where objid = #{objid} + + + + delete from record_shiftamount_day where objid in + + #{objid} + + + + diff --git a/ruoyi-system/src/main/resources/mapper/report/RecordWorkprocedureamountDayMapper.xml b/ruoyi-system/src/main/resources/mapper/report/RecordWorkprocedureamountDayMapper.xml new file mode 100644 index 0000000..d0c6e62 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/report/RecordWorkprocedureamountDayMapper.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + select objid, working_procedure_id, working_procedure_name, real_amount, unit_id, recordtime from record_workprocedureamount_day + + + + + + + + insert into record_workprocedureamount_day + + objid, + working_procedure_id, + working_procedure_name, + real_amount, + unit_id, + recordtime, + + + #{objid}, + #{workingProcedureId}, + #{workingProcedureName}, + #{realAmount}, + #{unitId}, + #{recordtime}, + + + + + update record_workprocedureamount_day + + working_procedure_id = #{workingProcedureId}, + working_procedure_name = #{workingProcedureName}, + real_amount = #{realAmount}, + unit_id = #{unitId}, + recordtime = #{recordtime}, + + where objid = #{objid} + + + + delete from record_workprocedureamount_day where objid = #{objid} + + + + delete from record_workprocedureamount_day where objid in + + #{objid} + + + + diff --git a/sql/20201031.sql b/sql/20201031.sql new file mode 100644 index 0000000..9d5cf9e --- /dev/null +++ b/sql/20201031.sql @@ -0,0 +1,100 @@ +USE [master] +GO + +/****** Object: Database [manufacture_db] Script Date: 2020/10/31 12:49:24 ******/ +CREATE DATABASE [manufacture_db] ON PRIMARY +( NAME = N'manufacture_db', FILENAME = N'D:\编程软件\SQLServer实例根目录\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\manufacture_db.mdf' , SIZE = 4096KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) + LOG ON +( NAME = N'manufacture_db_log', FILENAME = N'D:\编程软件\SQLServer实例根目录\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\manufacture_db_log.ldf' , SIZE = 9216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) +GO + +ALTER DATABASE [manufacture_db] SET COMPATIBILITY_LEVEL = 100 +GO + +IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')) +begin +EXEC [manufacture_db].[dbo].[sp_fulltext_database] @action = 'enable' +end +GO + +ALTER DATABASE [manufacture_db] SET ANSI_NULL_DEFAULT OFF +GO + +ALTER DATABASE [manufacture_db] SET ANSI_NULLS OFF +GO + +ALTER DATABASE [manufacture_db] SET ANSI_PADDING OFF +GO + +ALTER DATABASE [manufacture_db] SET ANSI_WARNINGS OFF +GO + +ALTER DATABASE [manufacture_db] SET ARITHABORT OFF +GO + +ALTER DATABASE [manufacture_db] SET AUTO_CLOSE OFF +GO + +ALTER DATABASE [manufacture_db] SET AUTO_SHRINK OFF +GO + +ALTER DATABASE [manufacture_db] SET AUTO_UPDATE_STATISTICS ON +GO + +ALTER DATABASE [manufacture_db] SET CURSOR_CLOSE_ON_COMMIT OFF +GO + +ALTER DATABASE [manufacture_db] SET CURSOR_DEFAULT GLOBAL +GO + +ALTER DATABASE [manufacture_db] SET CONCAT_NULL_YIELDS_NULL OFF +GO + +ALTER DATABASE [manufacture_db] SET NUMERIC_ROUNDABORT OFF +GO + +ALTER DATABASE [manufacture_db] SET QUOTED_IDENTIFIER OFF +GO + +ALTER DATABASE [manufacture_db] SET RECURSIVE_TRIGGERS OFF +GO + +ALTER DATABASE [manufacture_db] SET ENABLE_BROKER +GO + +ALTER DATABASE [manufacture_db] SET AUTO_UPDATE_STATISTICS_ASYNC OFF +GO + +ALTER DATABASE [manufacture_db] SET DATE_CORRELATION_OPTIMIZATION OFF +GO + +ALTER DATABASE [manufacture_db] SET TRUSTWORTHY OFF +GO + +ALTER DATABASE [manufacture_db] SET ALLOW_SNAPSHOT_ISOLATION OFF +GO + +ALTER DATABASE [manufacture_db] SET PARAMETERIZATION SIMPLE +GO + +ALTER DATABASE [manufacture_db] SET READ_COMMITTED_SNAPSHOT OFF +GO + +ALTER DATABASE [manufacture_db] SET HONOR_BROKER_PRIORITY OFF +GO + +ALTER DATABASE [manufacture_db] SET RECOVERY FULL +GO + +ALTER DATABASE [manufacture_db] SET MULTI_USER +GO + +ALTER DATABASE [manufacture_db] SET PAGE_VERIFY CHECKSUM +GO + +ALTER DATABASE [manufacture_db] SET DB_CHAINING OFF +GO + +ALTER DATABASE [manufacture_db] SET READ_WRITE +GO +