实现统计分析功能模块
parent
5be9e8d18b
commit
2e27371bb8
@ -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<RecordDeviceamountDay> 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<RecordDeviceamountDay> list = recordDeviceamountDayService.selectRecordDeviceamountDayList(recordDeviceamountDay);
|
||||
ExcelUtil<RecordDeviceamountDay> util = new ExcelUtil<RecordDeviceamountDay>(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));
|
||||
}
|
||||
}
|
||||
@ -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<RecordGroupamountDay> 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<RecordGroupamountDay> list = recordGroupamountDayService.selectRecordGroupamountDayList(recordGroupamountDay);
|
||||
ExcelUtil<RecordGroupamountDay> util = new ExcelUtil<RecordGroupamountDay>(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));
|
||||
}
|
||||
}
|
||||
@ -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<RecordMaterialcodeamountDay> 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<RecordMaterialcodeamountDay> list = recordMaterialcodeamountDayService.selectRecordMaterialcodeamountDayList(recordMaterialcodeamountDay);
|
||||
ExcelUtil<RecordMaterialcodeamountDay> util = new ExcelUtil<RecordMaterialcodeamountDay>(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));
|
||||
}
|
||||
}
|
||||
@ -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<RecordPlanrateamountDay> 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<RecordPlanrateamountDay> list = recordPlanrateamountDayService.selectRecordPlanrateamountDayList(recordPlanrateamountDay);
|
||||
ExcelUtil<RecordPlanrateamountDay> util = new ExcelUtil<RecordPlanrateamountDay>(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));
|
||||
}
|
||||
}
|
||||
@ -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<RecordShiftamountDay> 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<RecordShiftamountDay> list = recordShiftamountDayService.selectRecordShiftamountDayList(recordShiftamountDay);
|
||||
ExcelUtil<RecordShiftamountDay> util = new ExcelUtil<RecordShiftamountDay>(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));
|
||||
}
|
||||
}
|
||||
@ -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<RecordWorkprocedureamountDay> 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<RecordWorkprocedureamountDay> list = recordWorkprocedureamountDayService.selectRecordWorkprocedureamountDayList(recordWorkprocedureamountDay);
|
||||
ExcelUtil<RecordWorkprocedureamountDay> util = new ExcelUtil<RecordWorkprocedureamountDay>(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));
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
@ -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<RecordDeviceamountDay> 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);
|
||||
}
|
||||
@ -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<RecordGroupamountDay> 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);
|
||||
}
|
||||
@ -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<RecordMaterialcodeamountDay> 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);
|
||||
}
|
||||
@ -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<RecordPlanrateamountDay> 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);
|
||||
}
|
||||
@ -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<RecordShiftamountDay> 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);
|
||||
}
|
||||
@ -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<RecordWorkprocedureamountDay> 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);
|
||||
}
|
||||
@ -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<RecordDeviceamountDay> 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);
|
||||
}
|
||||
@ -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<RecordGroupamountDay> 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);
|
||||
}
|
||||
@ -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<RecordMaterialcodeamountDay> 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);
|
||||
}
|
||||
@ -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<RecordPlanrateamountDay> 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);
|
||||
}
|
||||
@ -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<RecordShiftamountDay> 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);
|
||||
}
|
||||
@ -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<RecordWorkprocedureamountDay> 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);
|
||||
}
|
||||
@ -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<RecordDeviceamountDay> 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);
|
||||
}
|
||||
}
|
||||
@ -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<RecordGroupamountDay> 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);
|
||||
}
|
||||
}
|
||||
@ -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<RecordMaterialcodeamountDay> 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);
|
||||
}
|
||||
}
|
||||
@ -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<RecordPlanrateamountDay> 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);
|
||||
}
|
||||
}
|
||||
@ -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<RecordShiftamountDay> 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);
|
||||
}
|
||||
}
|
||||
@ -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<RecordWorkprocedureamountDay> 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);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.report.mapper.RecordDeviceamountDayMapper">
|
||||
|
||||
<resultMap type="RecordDeviceamountDay" id="RecordDeviceamountDayResult">
|
||||
<result property="objid" column="objid" />
|
||||
<result property="deviceId" column="device_id" />
|
||||
<result property="deviceName" column="device_name" />
|
||||
<result property="realAmount" column="real_amount" />
|
||||
<result property="unitId" column="unit_id" />
|
||||
<result property="recordtime" column="recordtime" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectRecordDeviceamountDayVo">
|
||||
select objid, device_id, device_name, real_amount, unit_id, recordtime from record_deviceamount_day
|
||||
</sql>
|
||||
|
||||
<select id="selectRecordDeviceamountDayList" parameterType="RecordDeviceamountDay" resultMap="RecordDeviceamountDayResult">
|
||||
<include refid="selectRecordDeviceamountDayVo"/>
|
||||
<where>
|
||||
<if test="deviceId != null and deviceId != ''"> and device_id = #{deviceId}</if>
|
||||
<if test="deviceName != null and deviceName != ''"> and device_name like ('%' + #{deviceName} + '%')</if>
|
||||
<if test="recordtime != null "> and recordtime = #{recordtime}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectRecordDeviceamountDayById" parameterType="Long" resultMap="RecordDeviceamountDayResult">
|
||||
<include refid="selectRecordDeviceamountDayVo"/>
|
||||
where objid = #{objid}
|
||||
</select>
|
||||
|
||||
<insert id="insertRecordDeviceamountDay" parameterType="RecordDeviceamountDay">
|
||||
insert into record_deviceamount_day
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">objid,</if>
|
||||
<if test="deviceId != null">device_id,</if>
|
||||
<if test="deviceName != null">device_name,</if>
|
||||
<if test="realAmount != null">real_amount,</if>
|
||||
<if test="unitId != null">unit_id,</if>
|
||||
<if test="recordtime != null">recordtime,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">#{objid},</if>
|
||||
<if test="deviceId != null">#{deviceId},</if>
|
||||
<if test="deviceName != null">#{deviceName},</if>
|
||||
<if test="realAmount != null">#{realAmount},</if>
|
||||
<if test="unitId != null">#{unitId},</if>
|
||||
<if test="recordtime != null">#{recordtime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateRecordDeviceamountDay" parameterType="RecordDeviceamountDay">
|
||||
update record_deviceamount_day
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="deviceId != null">device_id = #{deviceId},</if>
|
||||
<if test="deviceName != null">device_name = #{deviceName},</if>
|
||||
<if test="realAmount != null">real_amount = #{realAmount},</if>
|
||||
<if test="unitId != null">unit_id = #{unitId},</if>
|
||||
<if test="recordtime != null">recordtime = #{recordtime},</if>
|
||||
</trim>
|
||||
where objid = #{objid}
|
||||
</update>
|
||||
|
||||
<delete id="deleteRecordDeviceamountDayById" parameterType="Long">
|
||||
delete from record_deviceamount_day where objid = #{objid}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteRecordDeviceamountDayByIds" parameterType="String">
|
||||
delete from record_deviceamount_day where objid in
|
||||
<foreach item="objid" collection="array" open="(" separator="," close=")">
|
||||
#{objid}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.report.mapper.RecordGroupamountDayMapper">
|
||||
|
||||
<resultMap type="RecordGroupamountDay" id="RecordGroupamountDayResult">
|
||||
<result property="objid" column="objid" />
|
||||
<result property="groupid" column="groupid" />
|
||||
<result property="groupname" column="groupname" />
|
||||
<result property="realAmount" column="real_amount" />
|
||||
<result property="unitId" column="unit_id" />
|
||||
<result property="recordtime" column="recordtime" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectRecordGroupamountDayVo">
|
||||
select objid, groupid, groupname, real_amount, unit_id, recordtime from record_groupamount_day
|
||||
</sql>
|
||||
|
||||
<select id="selectRecordGroupamountDayList" parameterType="RecordGroupamountDay" resultMap="RecordGroupamountDayResult">
|
||||
<include refid="selectRecordGroupamountDayVo"/>
|
||||
<where>
|
||||
<if test="groupid != null and groupid != ''"> and groupid = #{groupid}</if>
|
||||
<if test="groupname != null and groupname != ''"> and groupname like ('%' + #{groupname} + '%')</if>
|
||||
<if test="recordtime != null "> and recordtime = #{recordtime}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectRecordGroupamountDayById" parameterType="Long" resultMap="RecordGroupamountDayResult">
|
||||
<include refid="selectRecordGroupamountDayVo"/>
|
||||
where objid = #{objid}
|
||||
</select>
|
||||
|
||||
<insert id="insertRecordGroupamountDay" parameterType="RecordGroupamountDay">
|
||||
insert into record_groupamount_day
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">objid,</if>
|
||||
<if test="groupid != null">groupid,</if>
|
||||
<if test="groupname != null">groupname,</if>
|
||||
<if test="realAmount != null">real_amount,</if>
|
||||
<if test="unitId != null">unit_id,</if>
|
||||
<if test="recordtime != null">recordtime,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">#{objid},</if>
|
||||
<if test="groupid != null">#{groupid},</if>
|
||||
<if test="groupname != null">#{groupname},</if>
|
||||
<if test="realAmount != null">#{realAmount},</if>
|
||||
<if test="unitId != null">#{unitId},</if>
|
||||
<if test="recordtime != null">#{recordtime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateRecordGroupamountDay" parameterType="RecordGroupamountDay">
|
||||
update record_groupamount_day
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="groupid != null">groupid = #{groupid},</if>
|
||||
<if test="groupname != null">groupname = #{groupname},</if>
|
||||
<if test="realAmount != null">real_amount = #{realAmount},</if>
|
||||
<if test="unitId != null">unit_id = #{unitId},</if>
|
||||
<if test="recordtime != null">recordtime = #{recordtime},</if>
|
||||
</trim>
|
||||
where objid = #{objid}
|
||||
</update>
|
||||
|
||||
<delete id="deleteRecordGroupamountDayById" parameterType="Long">
|
||||
delete from record_groupamount_day where objid = #{objid}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteRecordGroupamountDayByIds" parameterType="String">
|
||||
delete from record_groupamount_day where objid in
|
||||
<foreach item="objid" collection="array" open="(" separator="," close=")">
|
||||
#{objid}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.report.mapper.RecordMaterialcodeamountDayMapper">
|
||||
|
||||
<resultMap type="RecordMaterialcodeamountDay" id="RecordMaterialcodeamountDayResult">
|
||||
<result property="objid" column="objid" />
|
||||
<result property="materialId" column="material_id" />
|
||||
<result property="materialCode" column="material_code" />
|
||||
<result property="realAmount" column="real_amount" />
|
||||
<result property="unitId" column="unit_id" />
|
||||
<result property="recordtime" column="recordtime" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectRecordMaterialcodeamountDayVo">
|
||||
select objid, material_id, material_code, real_amount, unit_id, recordtime from record_materialcodeamount_day
|
||||
</sql>
|
||||
|
||||
<select id="selectRecordMaterialcodeamountDayList" parameterType="RecordMaterialcodeamountDay" resultMap="RecordMaterialcodeamountDayResult">
|
||||
<include refid="selectRecordMaterialcodeamountDayVo"/>
|
||||
<where>
|
||||
<if test="materialId != null and materialId != ''"> and material_id = #{materialId}</if>
|
||||
<if test="materialCode != null and materialCode != ''"> and material_code = #{materialCode}</if>
|
||||
<if test="recordtime != null "> and recordtime = #{recordtime}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectRecordMaterialcodeamountDayById" parameterType="Long" resultMap="RecordMaterialcodeamountDayResult">
|
||||
<include refid="selectRecordMaterialcodeamountDayVo"/>
|
||||
where objid = #{objid}
|
||||
</select>
|
||||
|
||||
<insert id="insertRecordMaterialcodeamountDay" parameterType="RecordMaterialcodeamountDay">
|
||||
insert into record_materialcodeamount_day
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">objid,</if>
|
||||
<if test="materialId != null">material_id,</if>
|
||||
<if test="materialCode != null">material_code,</if>
|
||||
<if test="realAmount != null">real_amount,</if>
|
||||
<if test="unitId != null">unit_id,</if>
|
||||
<if test="recordtime != null">recordtime,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">#{objid},</if>
|
||||
<if test="materialId != null">#{materialId},</if>
|
||||
<if test="materialCode != null">#{materialCode},</if>
|
||||
<if test="realAmount != null">#{realAmount},</if>
|
||||
<if test="unitId != null">#{unitId},</if>
|
||||
<if test="recordtime != null">#{recordtime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateRecordMaterialcodeamountDay" parameterType="RecordMaterialcodeamountDay">
|
||||
update record_materialcodeamount_day
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="materialId != null">material_id = #{materialId},</if>
|
||||
<if test="materialCode != null">material_code = #{materialCode},</if>
|
||||
<if test="realAmount != null">real_amount = #{realAmount},</if>
|
||||
<if test="unitId != null">unit_id = #{unitId},</if>
|
||||
<if test="recordtime != null">recordtime = #{recordtime},</if>
|
||||
</trim>
|
||||
where objid = #{objid}
|
||||
</update>
|
||||
|
||||
<delete id="deleteRecordMaterialcodeamountDayById" parameterType="Long">
|
||||
delete from record_materialcodeamount_day where objid = #{objid}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteRecordMaterialcodeamountDayByIds" parameterType="String">
|
||||
delete from record_materialcodeamount_day where objid in
|
||||
<foreach item="objid" collection="array" open="(" separator="," close=")">
|
||||
#{objid}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.report.mapper.RecordPlanrateamountDayMapper">
|
||||
|
||||
<resultMap type="RecordPlanrateamountDay" id="RecordPlanrateamountDayResult">
|
||||
<result property="objid" column="objid" />
|
||||
<result property="planid" column="planid" />
|
||||
<result property="planAmount" column="plan_amount" />
|
||||
<result property="realAmount" column="real_amount" />
|
||||
<result property="plancompleterate" column="plancompleterate" />
|
||||
<result property="unitId" column="unit_id" />
|
||||
<result property="recordtime" column="recordtime" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectRecordPlanrateamountDayVo">
|
||||
select objid, planid, plan_amount, real_amount, plancompleterate, unit_id, recordtime from record_planrateamount_day
|
||||
</sql>
|
||||
|
||||
<select id="selectRecordPlanrateamountDayList" parameterType="RecordPlanrateamountDay" resultMap="RecordPlanrateamountDayResult">
|
||||
<include refid="selectRecordPlanrateamountDayVo"/>
|
||||
<where>
|
||||
<if test="planid != null and planid != ''"> and planid = #{planid}</if>
|
||||
<if test="planAmount != null "> and plan_amount = #{planAmount}</if>
|
||||
<if test="realAmount != null "> and real_amount = #{realAmount}</if>
|
||||
<if test="recordtime != null "> and recordtime = #{recordtime}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectRecordPlanrateamountDayById" parameterType="Long" resultMap="RecordPlanrateamountDayResult">
|
||||
<include refid="selectRecordPlanrateamountDayVo"/>
|
||||
where objid = #{objid}
|
||||
</select>
|
||||
|
||||
<insert id="insertRecordPlanrateamountDay" parameterType="RecordPlanrateamountDay">
|
||||
insert into record_planrateamount_day
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">objid,</if>
|
||||
<if test="planid != null">planid,</if>
|
||||
<if test="planAmount != null">plan_amount,</if>
|
||||
<if test="realAmount != null">real_amount,</if>
|
||||
<if test="plancompleterate != null">plancompleterate,</if>
|
||||
<if test="unitId != null">unit_id,</if>
|
||||
<if test="recordtime != null">recordtime,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">#{objid},</if>
|
||||
<if test="planid != null">#{planid},</if>
|
||||
<if test="planAmount != null">#{planAmount},</if>
|
||||
<if test="realAmount != null">#{realAmount},</if>
|
||||
<if test="plancompleterate != null">#{plancompleterate},</if>
|
||||
<if test="unitId != null">#{unitId},</if>
|
||||
<if test="recordtime != null">#{recordtime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateRecordPlanrateamountDay" parameterType="RecordPlanrateamountDay">
|
||||
update record_planrateamount_day
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="planid != null">planid = #{planid},</if>
|
||||
<if test="planAmount != null">plan_amount = #{planAmount},</if>
|
||||
<if test="realAmount != null">real_amount = #{realAmount},</if>
|
||||
<if test="plancompleterate != null">plancompleterate = #{plancompleterate},</if>
|
||||
<if test="unitId != null">unit_id = #{unitId},</if>
|
||||
<if test="recordtime != null">recordtime = #{recordtime},</if>
|
||||
</trim>
|
||||
where objid = #{objid}
|
||||
</update>
|
||||
|
||||
<delete id="deleteRecordPlanrateamountDayById" parameterType="Long">
|
||||
delete from record_planrateamount_day where objid = #{objid}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteRecordPlanrateamountDayByIds" parameterType="String">
|
||||
delete from record_planrateamount_day where objid in
|
||||
<foreach item="objid" collection="array" open="(" separator="," close=")">
|
||||
#{objid}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.report.mapper.RecordShiftamountDayMapper">
|
||||
|
||||
<resultMap type="RecordShiftamountDay" id="RecordShiftamountDayResult">
|
||||
<result property="objid" column="objid" />
|
||||
<result property="shiftId" column="shift_id" />
|
||||
<result property="shiftName" column="shift_name" />
|
||||
<result property="realAmount" column="real_amount" />
|
||||
<result property="unitId" column="unit_id" />
|
||||
<result property="recordtime" column="recordtime" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectRecordShiftamountDayVo">
|
||||
select objid, shift_id, shift_name, real_amount, unit_id, recordtime from record_shiftamount_day
|
||||
</sql>
|
||||
|
||||
<select id="selectRecordShiftamountDayList" parameterType="RecordShiftamountDay" resultMap="RecordShiftamountDayResult">
|
||||
<include refid="selectRecordShiftamountDayVo"/>
|
||||
<where>
|
||||
<if test="shiftId != null and shiftId != ''"> and shift_id = #{shiftId}</if>
|
||||
<if test="shiftName != null and shiftName != ''"> and shift_name like ('%' + #{shiftName} + '%')</if>
|
||||
<if test="recordtime != null "> and recordtime = #{recordtime}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectRecordShiftamountDayById" parameterType="Long" resultMap="RecordShiftamountDayResult">
|
||||
<include refid="selectRecordShiftamountDayVo"/>
|
||||
where objid = #{objid}
|
||||
</select>
|
||||
|
||||
<insert id="insertRecordShiftamountDay" parameterType="RecordShiftamountDay">
|
||||
insert into record_shiftamount_day
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">objid,</if>
|
||||
<if test="shiftId != null">shift_id,</if>
|
||||
<if test="shiftName != null">shift_name,</if>
|
||||
<if test="realAmount != null">real_amount,</if>
|
||||
<if test="unitId != null">unit_id,</if>
|
||||
<if test="recordtime != null">recordtime,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">#{objid},</if>
|
||||
<if test="shiftId != null">#{shiftId},</if>
|
||||
<if test="shiftName != null">#{shiftName},</if>
|
||||
<if test="realAmount != null">#{realAmount},</if>
|
||||
<if test="unitId != null">#{unitId},</if>
|
||||
<if test="recordtime != null">#{recordtime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateRecordShiftamountDay" parameterType="RecordShiftamountDay">
|
||||
update record_shiftamount_day
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="shiftId != null">shift_id = #{shiftId},</if>
|
||||
<if test="shiftName != null">shift_name = #{shiftName},</if>
|
||||
<if test="realAmount != null">real_amount = #{realAmount},</if>
|
||||
<if test="unitId != null">unit_id = #{unitId},</if>
|
||||
<if test="recordtime != null">recordtime = #{recordtime},</if>
|
||||
</trim>
|
||||
where objid = #{objid}
|
||||
</update>
|
||||
|
||||
<delete id="deleteRecordShiftamountDayById" parameterType="Long">
|
||||
delete from record_shiftamount_day where objid = #{objid}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteRecordShiftamountDayByIds" parameterType="String">
|
||||
delete from record_shiftamount_day where objid in
|
||||
<foreach item="objid" collection="array" open="(" separator="," close=")">
|
||||
#{objid}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.report.mapper.RecordWorkprocedureamountDayMapper">
|
||||
|
||||
<resultMap type="RecordWorkprocedureamountDay" id="RecordWorkprocedureamountDayResult">
|
||||
<result property="objid" column="objid" />
|
||||
<result property="workingProcedureId" column="working_procedure_id" />
|
||||
<result property="workingProcedureName" column="working_procedure_name" />
|
||||
<result property="realAmount" column="real_amount" />
|
||||
<result property="unitId" column="unit_id" />
|
||||
<result property="recordtime" column="recordtime" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectRecordWorkprocedureamountDayVo">
|
||||
select objid, working_procedure_id, working_procedure_name, real_amount, unit_id, recordtime from record_workprocedureamount_day
|
||||
</sql>
|
||||
|
||||
<select id="selectRecordWorkprocedureamountDayList" parameterType="RecordWorkprocedureamountDay" resultMap="RecordWorkprocedureamountDayResult">
|
||||
<include refid="selectRecordWorkprocedureamountDayVo"/>
|
||||
<where>
|
||||
<if test="workingProcedureId != null and workingProcedureId != ''"> and working_procedure_id = #{workingProcedureId}</if>
|
||||
<if test="workingProcedureName != null and workingProcedureName != ''"> and working_procedure_name like ('%' + #{workingProcedureName} + '%')</if>
|
||||
<if test="recordtime != null "> and recordtime = #{recordtime}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectRecordWorkprocedureamountDayById" parameterType="Long" resultMap="RecordWorkprocedureamountDayResult">
|
||||
<include refid="selectRecordWorkprocedureamountDayVo"/>
|
||||
where objid = #{objid}
|
||||
</select>
|
||||
|
||||
<insert id="insertRecordWorkprocedureamountDay" parameterType="RecordWorkprocedureamountDay">
|
||||
insert into record_workprocedureamount_day
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">objid,</if>
|
||||
<if test="workingProcedureId != null">working_procedure_id,</if>
|
||||
<if test="workingProcedureName != null">working_procedure_name,</if>
|
||||
<if test="realAmount != null">real_amount,</if>
|
||||
<if test="unitId != null">unit_id,</if>
|
||||
<if test="recordtime != null">recordtime,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="objid != null">#{objid},</if>
|
||||
<if test="workingProcedureId != null">#{workingProcedureId},</if>
|
||||
<if test="workingProcedureName != null">#{workingProcedureName},</if>
|
||||
<if test="realAmount != null">#{realAmount},</if>
|
||||
<if test="unitId != null">#{unitId},</if>
|
||||
<if test="recordtime != null">#{recordtime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateRecordWorkprocedureamountDay" parameterType="RecordWorkprocedureamountDay">
|
||||
update record_workprocedureamount_day
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="workingProcedureId != null">working_procedure_id = #{workingProcedureId},</if>
|
||||
<if test="workingProcedureName != null">working_procedure_name = #{workingProcedureName},</if>
|
||||
<if test="realAmount != null">real_amount = #{realAmount},</if>
|
||||
<if test="unitId != null">unit_id = #{unitId},</if>
|
||||
<if test="recordtime != null">recordtime = #{recordtime},</if>
|
||||
</trim>
|
||||
where objid = #{objid}
|
||||
</update>
|
||||
|
||||
<delete id="deleteRecordWorkprocedureamountDayById" parameterType="Long">
|
||||
delete from record_workprocedureamount_day where objid = #{objid}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteRecordWorkprocedureamountDayByIds" parameterType="String">
|
||||
delete from record_workprocedureamount_day where objid in
|
||||
<foreach item="objid" collection="array" open="(" separator="," close=")">
|
||||
#{objid}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue