实现统计分析功能模块

master
baogq 5 years ago
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));
}
}

@ -1,138 +1,138 @@
# 项目相关配置
ruoyi:
# 名称
name: RuoYi
# 版本
version: 4.3.1
# 版权年份
copyrightYear: 2019
# 实例演示开关
demoEnabled: true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPathLinux配置 /home/ruoyi/uploadPath
profile: D:/ruoyi/uploadPath
# profile: /Users/sxile/MyWorkSpase/WorkSpase/uploadPath/RuoYi-SqlServer
# 获取ip地址开关
addressEnabled: false
# 开发环境配置
server:
# 服务器的HTTP端口默认为80
port: 80
servlet:
# 应用的访问路径
context-path: /
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# tomcat最大线程数默认为200
max-threads: 800
# Tomcat启动初始化的线程数默认值25
min-spare-threads: 30
# 日志配置
logging:
level:
com.ruoyi: debug
org.springframework: warn
# 用户配置
user:
password:
# 密码错误{maxRetryCount}次锁定10分钟
maxRetryCount: 5
# Spring配置
spring:
# 模板引擎
thymeleaf:
mode: HTML
encoding: utf-8
# 禁用缓存
cache: false
# 资源信息
messages:
# 国际化资源文件路径
basename: static/i18n/messages
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
profiles:
active: druid
# 文件上传
servlet:
multipart:
# 单个文件大小
max-file-size: 10MB
# 设置总上传的文件大小
max-request-size: 20MB
# 服务模块
devtools:
restart:
# 热部署开关
enabled: true
# MyBatis
mybatis:
# 搜索指定包别名
typeAliasesPackage: com.ruoyi.**.domain
# 配置mapper的扫描找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml
# 加载全局的配置文件
configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件
pagehelper:
helperDialect: sqlserver
reasonable: true
supportMethodsArguments: true
params: count=countSql
# Shiro
shiro:
user:
# 登录地址
loginUrl: /login
# 权限认证失败地址
unauthorizedUrl: /unauth
# 首页地址
indexUrl: /index
# 验证码开关
captchaEnabled: false
# 验证码类型 math 数组计算 char 字符
captchaType: math
cookie:
# 设置Cookie的域名 默认空,即当前访问的域名
domain:
# 设置cookie的有效访问路径
path: /
# 设置HttpOnly属性
httpOnly: true
# 设置Cookie的过期时间天为单位
maxAge: 30
# 设置密钥务必保持唯一性生成方式直接拷贝到main运行即可KeyGenerator keygen = KeyGenerator.getInstance("AES"); SecretKey deskey = keygen.generateKey(); System.out.println(Base64.encodeToString(deskey.getEncoded()));
cipherKey: zSyK5Kp6PZAAjlT+eeNMlg==
session:
# Session超时时间-1代表永不过期默认30分钟
expireTime: 30
# 同步session到数据库的周期默认1分钟
dbSyncPeriod: 1
# 相隔多久检查一次session的有效性默认就是10分钟
validationInterval: 10
# 同一个用户最大会话数比如2的意思是同一个账号允许最多同时两个人登录默认-1不限制
maxSession: -1
# 踢出之前登录的/之后登录的用户,默认踢出之前登录的用户
kickoutAfter: false
# 防止XSS攻击
xss:
# 过滤开关
enabled: true
# 排除链接(多个用逗号分隔)
excludes: /system/notice/*
# 匹配链接
urlPatterns: /system/*,/monitor/*,/tool/*
# Swagger配置
swagger:
# 是否开启swagger
enabled: true
# 项目相关配置
ruoyi:
# 名称
name: RuoYi
# 版本
version: 4.3.1
# 版权年份
copyrightYear: 2019
# 实例演示开关
demoEnabled: true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPathLinux配置 /home/ruoyi/uploadPath
profile: D:/ruoyi/uploadPath
# profile: /Users/sxile/MyWorkSpase/WorkSpase/uploadPath/RuoYi-SqlServer
# 获取ip地址开关
addressEnabled: false
# 开发环境配置
server:
# 服务器的HTTP端口默认为80
port: 8088
servlet:
# 应用的访问路径
context-path: /
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# tomcat最大线程数默认为200
max-threads: 800
# Tomcat启动初始化的线程数默认值25
min-spare-threads: 30
# 日志配置
logging:
level:
com.ruoyi: debug
org.springframework: warn
# 用户配置
user:
password:
# 密码错误{maxRetryCount}次锁定10分钟
maxRetryCount: 5
# Spring配置
spring:
# 模板引擎
thymeleaf:
mode: HTML
encoding: utf-8
# 禁用缓存
cache: false
# 资源信息
messages:
# 国际化资源文件路径
basename: static/i18n/messages
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
profiles:
active: druid
# 文件上传
servlet:
multipart:
# 单个文件大小
max-file-size: 10MB
# 设置总上传的文件大小
max-request-size: 20MB
# 服务模块
devtools:
restart:
# 热部署开关
enabled: true
# MyBatis
mybatis:
# 搜索指定包别名
typeAliasesPackage: com.ruoyi.**.domain
# 配置mapper的扫描找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml
# 加载全局的配置文件
configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件
pagehelper:
helperDialect: sqlserver
reasonable: true
supportMethodsArguments: true
params: count=countSql
# Shiro
shiro:
user:
# 登录地址
loginUrl: /login
# 权限认证失败地址
unauthorizedUrl: /unauth
# 首页地址
indexUrl: /index
# 验证码开关
captchaEnabled: false
# 验证码类型 math 数组计算 char 字符
captchaType: math
cookie:
# 设置Cookie的域名 默认空,即当前访问的域名
domain:
# 设置cookie的有效访问路径
path: /
# 设置HttpOnly属性
httpOnly: true
# 设置Cookie的过期时间天为单位
maxAge: 30
# 设置密钥务必保持唯一性生成方式直接拷贝到main运行即可KeyGenerator keygen = KeyGenerator.getInstance("AES"); SecretKey deskey = keygen.generateKey(); System.out.println(Base64.encodeToString(deskey.getEncoded()));
cipherKey: zSyK5Kp6PZAAjlT+eeNMlg==
session:
# Session超时时间-1代表永不过期默认30分钟
expireTime: 30
# 同步session到数据库的周期默认1分钟
dbSyncPeriod: 1
# 相隔多久检查一次session的有效性默认就是10分钟
validationInterval: 10
# 同一个用户最大会话数比如2的意思是同一个账号允许最多同时两个人登录默认-1不限制
maxSession: -1
# 踢出之前登录的/之后登录的用户,默认踢出之前登录的用户
kickoutAfter: false
# 防止XSS攻击
xss:
# 过滤开关
enabled: true
# 排除链接(多个用逗号分隔)
excludes: /system/notice/*
# 匹配链接
urlPatterns: /system/*,/monitor/*,/tool/*
# Swagger配置
swagger:
# 是否开启swagger
enabled: true

@ -0,0 +1,126 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('设备产量日报列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
<label>设备ID</label>
<input type="text" name="deviceId"/>
</li>
<li>
<label>设备名称:</label>
<input type="text" name="deviceName"/>
</li>
<li class="select-time">
<label>记录时间:</label>
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginRecordtime]"/>
<span>-</span>
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endRecordtime]"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="report:DeviceAmountDayReport:add">-->
<!-- <i class="fa fa-plus"></i> 添加-->
<!-- </a>-->
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="report:DeviceAmountDayReport:edit">-->
<!-- <i class="fa fa-edit"></i> 修改-->
<!-- </a>-->
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="report:DeviceAmountDayReport:remove">-->
<!-- <i class="fa fa-remove"></i> 删除-->
<!-- </a>-->
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="report:DeviceAmountDayReport:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
</div>
</div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('report:DeviceAmountDayReport:edit')}]];
var removeFlag = [[${@permission.hasPermi('report:DeviceAmountDayReport:remove')}]];
var unitIdDatas = [[${@dict.getType('sys_unit_info')}]];
var prefix = ctx + "report/DeviceAmountDayReport";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "设备产量日报",
showFooter: true,
columns: [{
checkbox: true
},
{
field: 'objid',
title: '主键ID',
visible: false
},
{
field: 'deviceId',
title: '设备ID'
},
{
field: 'deviceName',
title: '设备名称'
},
{
field: 'recordtime',
title: '记录时间'
},
{
field: 'realAmount',
title: '实际产量',
footerFormatter:function (value) {
var realAmount = 0;
for (var i in value) {
realAmount += parseFloat(value[i].realAmount);
}
return "总产量:" + realAmount;
}
},
{
field: 'unitId',
title: '单位',
formatter: function(value, row, index) {
return $.table.selectDictLabel(unitIdDatas, value);
}
},
// {
// title: '操作',
// align: 'center',
// formatter: function(value, row, index) {
// var actions = [];
// actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.objid + '\')"><i class="fa fa-edit"></i>编辑</a> ');
// actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.objid + '\')"><i class="fa fa-remove"></i>删除</a>');
// return actions.join('');
// }
// }
]
};
$.table.init(options);
});
</script>
</body>
</html>

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增设备产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-DeviceAmountDayReport-add">
<div class="form-group">
<label class="col-sm-3 control-label">设备ID</label>
<div class="col-sm-8">
<input name="deviceId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">设备名称:</label>
<div class="col-sm-8">
<input name="deviceName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际产量:</label>
<div class="col-sm-8">
<input name="realAmount" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/DeviceAmountDayReport"
$("#form-DeviceAmountDayReport-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-DeviceAmountDayReport-add').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改设备产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-DeviceAmountDayReport-edit" th:object="${recordDeviceamountDay}">
<input name="objid" th:field="*{objid}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">设备ID</label>
<div class="col-sm-8">
<input name="deviceId" th:field="*{deviceId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">设备名称:</label>
<div class="col-sm-8">
<input name="deviceName" th:field="*{deviceName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际产量:</label>
<div class="col-sm-8">
<input name="realAmount" th:field="*{realAmount}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" th:field="*{unitId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" th:value="${#dates.format(recordDeviceamountDay.recordtime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/DeviceAmountDayReport";
$("#form-DeviceAmountDayReport-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-DeviceAmountDayReport-edit').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,115 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('班组产量日报列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
<label>班组ID</label>
<input type="text" name="groupid"/>
</li>
<li>
<label>班组名称:</label>
<input type="text" name="groupname"/>
</li>
<li class="select-time">
<label>记录时间:</label>
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginRecordtime]"/>
<span>-</span>
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endRecordtime]"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="report:GroupAmountDatReport:add">-->
<!-- <i class="fa fa-plus"></i> 添加-->
<!-- </a>-->
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="report:GroupAmountDatReport:edit">-->
<!-- <i class="fa fa-edit"></i> 修改-->
<!-- </a>-->
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="report:GroupAmountDatReport:remove">-->
<!-- <i class="fa fa-remove"></i> 删除-->
<!-- </a>-->
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="report:GroupAmountDatReport:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
</div>
</div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('report:GroupAmountDatReport:edit')}]];
var removeFlag = [[${@permission.hasPermi('report:GroupAmountDatReport:remove')}]];
var unitIdDatas = [[${@dict.getType('sys_unit_info')}]];
var prefix = ctx + "report/GroupAmountDatReport";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "班组产量日报",
showFooter: true,
columns: [{
checkbox: true
},
{
field: 'objid',
title: '主键ID',
visible: false
},
{
field: 'groupid',
title: '班组ID'
},
{
field: 'groupname',
title: '班组名称'
},
{
field: 'recordtime',
title: '记录时间'
},
{
field: 'realAmount',
title: '实际产量',
footerFormatter:function (value) {
var realAmount = 0;
for (var i in value) {
realAmount += parseFloat(value[i].realAmount);
}
return "总产量:" + realAmount;
}
},
{
field: 'unitId',
title: '单位',
formatter: function(value, row, index) {
return $.table.selectDictLabel(unitIdDatas, value);
}
},
]
};
$.table.init(options);
});
</script>
</body>
</html>

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增班组产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-GroupAmountDatReport-add">
<div class="form-group">
<label class="col-sm-3 control-label">班组ID</label>
<div class="col-sm-8">
<input name="groupid" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">班组名称:</label>
<div class="col-sm-8">
<input name="groupname" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际产量:</label>
<div class="col-sm-8">
<input name="realAmount" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/GroupAmountDatReport"
$("#form-GroupAmountDatReport-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-GroupAmountDatReport-add').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改班组产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-GroupAmountDatReport-edit" th:object="${recordGroupamountDay}">
<input name="objid" th:field="*{objid}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">班组ID</label>
<div class="col-sm-8">
<input name="groupid" th:field="*{groupid}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">班组名称:</label>
<div class="col-sm-8">
<input name="groupname" th:field="*{groupname}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际产量:</label>
<div class="col-sm-8">
<input name="realAmount" th:field="*{realAmount}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" th:field="*{unitId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" th:value="${#dates.format(recordGroupamountDay.recordtime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/GroupAmountDatReport";
$("#form-GroupAmountDatReport-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-GroupAmountDatReport-edit').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,115 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('规格产量日报列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
<label>物料ID</label>
<input type="text" name="materialId"/>
</li>
<li>
<label>规格名称:</label>
<input type="text" name="materialCode"/>
</li>
<li class="select-time">
<label>记录时间:</label>
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginRecordtime]"/>
<span>-</span>
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endRecordtime]"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="report:MaterialCodeAmountDatReport:add">-->
<!-- <i class="fa fa-plus"></i> 添加-->
<!-- </a>-->
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="report:MaterialCodeAmountDatReport:edit">-->
<!-- <i class="fa fa-edit"></i> 修改-->
<!-- </a>-->
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="report:MaterialCodeAmountDatReport:remove">-->
<!-- <i class="fa fa-remove"></i> 删除-->
<!-- </a>-->
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="report:MaterialCodeAmountDatReport:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
</div>
</div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('report:MaterialCodeAmountDatReport:edit')}]];
var removeFlag = [[${@permission.hasPermi('report:MaterialCodeAmountDatReport:remove')}]];
var unitIdDatas = [[${@dict.getType('sys_unit_info')}]];
var prefix = ctx + "report/MaterialCodeAmountDatReport";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "规格产量日报",
showFooter: true,
columns: [{
checkbox: true
},
{
field: 'objid',
title: '主键ID',
visible: false
},
{
field: 'materialId',
title: '物料ID'
},
{
field: 'materialCode',
title: '规格名称'
},
{
field: 'recordtime',
title: '记录时间'
},
{
field: 'realAmount',
title: '实际产量',
footerFormatter:function (value) {
var realAmount = 0;
for (var i in value) {
realAmount += parseFloat(value[i].realAmount);
}
return "总产量:" + realAmount;
}
},
{
field: 'unitId',
title: '单位',
formatter: function(value, row, index) {
return $.table.selectDictLabel(unitIdDatas, value);
}
},
]
};
$.table.init(options);
});
</script>
</body>
</html>

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增规格产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-MaterialCodeAmountDatReport-add">
<div class="form-group">
<label class="col-sm-3 control-label">物料ID</label>
<div class="col-sm-8">
<input name="materialId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">规格名称:</label>
<div class="col-sm-8">
<input name="materialCode" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际产量:</label>
<div class="col-sm-8">
<input name="realAmount" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/MaterialCodeAmountDatReport"
$("#form-MaterialCodeAmountDatReport-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-MaterialCodeAmountDatReport-add').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改规格产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-MaterialCodeAmountDatReport-edit" th:object="${recordMaterialcodeamountDay}">
<input name="objid" th:field="*{objid}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">物料ID</label>
<div class="col-sm-8">
<input name="materialId" th:field="*{materialId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">规格名称:</label>
<div class="col-sm-8">
<input name="materialCode" th:field="*{materialCode}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际产量:</label>
<div class="col-sm-8">
<input name="realAmount" th:field="*{realAmount}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" th:field="*{unitId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" th:value="${#dates.format(recordMaterialcodeamountDay.recordtime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/MaterialCodeAmountDatReport";
$("#form-MaterialCodeAmountDatReport-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-MaterialCodeAmountDatReport-edit').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,116 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('计划完成率产量日报列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
<label>计划ID</label>
<input type="text" name="planid"/>
</li>
<li>
<label>计划总产量:</label>
<input type="text" name="planAmount"/>
</li>
<li>
<label>实际总产量:</label>
<input type="text" name="realAmount"/>
</li>
<li class="select-time">
<label>记录时间:</label>
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginRecordtime]"/>
<span>-</span>
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endRecordtime]"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="report:PlanRateAmountDatReport:add">-->
<!-- <i class="fa fa-plus"></i> 添加-->
<!-- </a>-->
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="report:PlanRateAmountDatReport:edit">-->
<!-- <i class="fa fa-edit"></i> 修改-->
<!-- </a>-->
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="report:PlanRateAmountDatReport:remove">-->
<!-- <i class="fa fa-remove"></i> 删除-->
<!-- </a>-->
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="report:PlanRateAmountDatReport:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
</div>
</div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('report:PlanRateAmountDatReport:edit')}]];
var removeFlag = [[${@permission.hasPermi('report:PlanRateAmountDatReport:remove')}]];
var unitIdDatas = [[${@dict.getType('sys_unit_info')}]];
var prefix = ctx + "report/PlanRateAmountDatReport";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "计划完成率产量日报",
columns: [{
checkbox: true
},
{
field: 'objid',
title: '主键ID',
visible: false
},
{
field: 'planid',
title: '计划ID'
},
{
field: 'planAmount',
title: '计划总产量'
},
{
field: 'realAmount',
title: '实际总产量'
},
{
field: 'unitId',
title: '单位',
formatter: function(value, row, index) {
return $.table.selectDictLabel(unitIdDatas, value);
}
},
{
field: 'plancompleterate',
title: '计划完成率(%)'
},
{
field: 'recordtime',
title: '记录时间'
},
]
};
$.table.init(options);
});
</script>
</body>
</html>

@ -0,0 +1,72 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增计划完成率产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-PlanRateAmountDatReport-add">
<div class="form-group">
<label class="col-sm-3 control-label">计划ID</label>
<div class="col-sm-8">
<input name="planid" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">计划总产量:</label>
<div class="col-sm-8">
<input name="planAmount" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际总产量:</label>
<div class="col-sm-8">
<input name="realAmount" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">计划完成率:</label>
<div class="col-sm-8">
<input name="realAmount2" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/PlanRateAmountDatReport"
$("#form-PlanRateAmountDatReport-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-PlanRateAmountDatReport-add').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改计划完成率产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-PlanRateAmountDatReport-edit" th:object="${recordPlanrateamountDay}">
<input name="objid" th:field="*{objid}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">计划ID</label>
<div class="col-sm-8">
<input name="planid" th:field="*{planid}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">计划总产量:</label>
<div class="col-sm-8">
<input name="planAmount" th:field="*{planAmount}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际总产量:</label>
<div class="col-sm-8">
<input name="realAmount" th:field="*{realAmount}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">计划完成率:</label>
<div class="col-sm-8">
<input name="realAmount2" th:field="*{realAmount2}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" th:field="*{unitId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" th:value="${#dates.format(recordPlanrateamountDay.recordtime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/PlanRateAmountDatReport";
$("#form-PlanRateAmountDatReport-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-PlanRateAmountDatReport-edit').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,116 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('班次产量日报列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
<label>班次ID</label>
<input type="text" name="shiftId"/>
</li>
<li>
<label>班次名称:</label>
<input type="text" name="shiftName"/>
</li>
<li class="select-time">
<label>记录时间:</label>
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginRecordtime]"/>
<span>-</span>
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endRecordtime]"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="report:ShiftAmountDatReport:add">-->
<!-- <i class="fa fa-plus"></i> 添加-->
<!-- </a>-->
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="report:ShiftAmountDatReport:edit">-->
<!-- <i class="fa fa-edit"></i> 修改-->
<!-- </a>-->
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="report:ShiftAmountDatReport:remove">-->
<!-- <i class="fa fa-remove"></i> 删除-->
<!-- </a>-->
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="report:ShiftAmountDatReport:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
</div>
</div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('report:ShiftAmountDatReport:edit')}]];
var removeFlag = [[${@permission.hasPermi('report:ShiftAmountDatReport:remove')}]];
var unitIdDatas = [[${@dict.getType('sys_unit_info')}]];
var prefix = ctx + "report/ShiftAmountDatReport";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "班次产量日报",
showFooter: true,
columns: [{
checkbox: true
},
{
field: 'objid',
title: '主键ID',
visible: false
},
{
field: 'shiftId',
title: '班次ID'
},
{
field: 'shiftName',
title: '班次名称'
},
{
field: 'recordtime',
title: '记录时间'
},
{
field: 'realAmount',
title: '实际产量',
footerFormatter:function (value) {
var realAmount = 0;
for (var i in value) {
realAmount += parseFloat(value[i].realAmount);
}
return "总产量:" + realAmount;
}
},
{
field: 'unitId',
title: '单位',
formatter: function(value, row, index) {
return $.table.selectDictLabel(unitIdDatas, value);
}
},
]
};
$.table.init(options);
});
</script>
</body>
</html>

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增班次产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-ShiftAmountDatReport-add">
<div class="form-group">
<label class="col-sm-3 control-label">班次ID</label>
<div class="col-sm-8">
<input name="shiftId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">班次名称:</label>
<div class="col-sm-8">
<input name="shiftName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际产量:</label>
<div class="col-sm-8">
<input name="realAmount" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/ShiftAmountDatReport"
$("#form-ShiftAmountDatReport-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-ShiftAmountDatReport-add').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改班次产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-ShiftAmountDatReport-edit" th:object="${recordShiftamountDay}">
<input name="objid" th:field="*{objid}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">班次ID</label>
<div class="col-sm-8">
<input name="shiftId" th:field="*{shiftId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">班次名称:</label>
<div class="col-sm-8">
<input name="shiftName" th:field="*{shiftName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际产量:</label>
<div class="col-sm-8">
<input name="realAmount" th:field="*{realAmount}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" th:field="*{unitId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" th:value="${#dates.format(recordShiftamountDay.recordtime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/ShiftAmountDatReport";
$("#form-ShiftAmountDatReport-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-ShiftAmountDatReport-edit').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,116 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('工序产量日报列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
<label>设备ID</label>
<input type="text" name="workingProcedureId"/>
</li>
<li>
<label>工序名称:</label>
<input type="text" name="workingProcedureName"/>
</li>
<li class="select-time">
<label>记录时间:</label>
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginRecordtime]"/>
<span>-</span>
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endRecordtime]"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="report:WorkProcedureAmountDatReport:add">-->
<!-- <i class="fa fa-plus"></i> 添加-->
<!-- </a>-->
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="report:WorkProcedureAmountDatReport:edit">-->
<!-- <i class="fa fa-edit"></i> 修改-->
<!-- </a>-->
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="report:WorkProcedureAmountDatReport:remove">-->
<!-- <i class="fa fa-remove"></i> 删除-->
<!-- </a>-->
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="report:WorkProcedureAmountDatReport:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
</div>
</div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('report:WorkProcedureAmountDatReport:edit')}]];
var removeFlag = [[${@permission.hasPermi('report:WorkProcedureAmountDatReport:remove')}]];
var unitIdDatas = [[${@dict.getType('sys_unit_info')}]];
var prefix = ctx + "report/WorkProcedureAmountDatReport";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "工序产量日报",
showFooter: true,
columns: [{
checkbox: true
},
{
field: 'objid',
title: '主键ID',
visible: false
},
{
field: 'workingProcedureId',
title: '设备ID'
},
{
field: 'workingProcedureName',
title: '工序名称'
},
{
field: 'recordtime',
title: '记录时间'
},
{
field: 'realAmount',
title: '实际产量',
footerFormatter:function (value) {
var realAmount = 0;
for (var i in value) {
realAmount += parseFloat(value[i].realAmount);
}
return "总产量:" + realAmount;
}
},
{
field: 'unitId',
title: '单位',
formatter: function(value, row, index) {
return $.table.selectDictLabel(unitIdDatas, value);
}
},
]
};
$.table.init(options);
});
</script>
</body>
</html>

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增工序产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-WorkProcedureAmountDatReport-add">
<div class="form-group">
<label class="col-sm-3 control-label">设备ID</label>
<div class="col-sm-8">
<input name="workingProcedureId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">工序名称:</label>
<div class="col-sm-8">
<input name="workingProcedureName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际产量:</label>
<div class="col-sm-8">
<input name="realAmount" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/WorkProcedureAmountDatReport"
$("#form-WorkProcedureAmountDatReport-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-WorkProcedureAmountDatReport-add').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改工序产量日报')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-WorkProcedureAmountDatReport-edit" th:object="${recordWorkprocedureamountDay}">
<input name="objid" th:field="*{objid}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">设备ID</label>
<div class="col-sm-8">
<input name="workingProcedureId" th:field="*{workingProcedureId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">工序名称:</label>
<div class="col-sm-8">
<input name="workingProcedureName" th:field="*{workingProcedureName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">实际产量:</label>
<div class="col-sm-8">
<input name="realAmount" th:field="*{realAmount}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">单位:</label>
<div class="col-sm-8">
<input name="unitId" th:field="*{unitId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">记录时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="recordtime" th:value="${#dates.format(recordWorkprocedureamountDay.recordtime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "report/WorkProcedureAmountDatReport";
$("#form-WorkProcedureAmountDatReport-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-WorkProcedureAmountDatReport-edit').serialize());
}
}
$("input[name='recordtime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

@ -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…
Cancel
Save