增加 发泡看板
parent
6a9c07245d
commit
af56cc86e7
@ -0,0 +1,54 @@
|
||||
package com.ruoyi.web.controller.broad;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.ruoyi.system.domain.BoxPlanCompletion;
|
||||
import com.ruoyi.system.domain.OrderInfo;
|
||||
import com.ruoyi.system.service.IBroadDataService;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author wanghao
|
||||
* @date 2022/7/14 9:49
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("/broad/fp")
|
||||
@ApiOperation("发泡")
|
||||
public class FPBroadController {
|
||||
@Autowired
|
||||
IBroadDataService service;
|
||||
|
||||
@GetMapping()
|
||||
private String getBroad() {
|
||||
return "/broad/fp";
|
||||
}
|
||||
|
||||
@PostMapping("/selectOrderExecution")
|
||||
@ApiOperation("订单执行、生产统计")
|
||||
@ResponseBody
|
||||
private String selectOrderExecution() {
|
||||
return JSONArray.toJSONString(service.fp_selectOrderExecution());
|
||||
}
|
||||
|
||||
@PostMapping("/selectOrderInfo")
|
||||
@ApiOperation("中间生产数量统计")
|
||||
@ResponseBody
|
||||
private String selectProductionStatistics() {
|
||||
return JSONObject.toJSONString(service.selectplanCompletion("1005"));
|
||||
}
|
||||
|
||||
@PostMapping("/selectDeviceStation")
|
||||
@ResponseBody
|
||||
@ApiOperation("POL压力、SO温度")
|
||||
private String selectDeviceStation() {
|
||||
return JSONObject.toJSONString(service.fp_selectDeviceStation());
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
@ -0,0 +1,50 @@
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
/**
|
||||
* @author wanghao
|
||||
* 发泡线 压力、温度
|
||||
* @date 2022/7/14 15:00
|
||||
*/
|
||||
public class DeviceStation {
|
||||
private String station_no, pol_yl, so_yl, pol_wd, so_wd;
|
||||
|
||||
public String getStation_no() {
|
||||
return station_no;
|
||||
}
|
||||
|
||||
public void setStation_no(String station_no) {
|
||||
this.station_no = station_no;
|
||||
}
|
||||
|
||||
public String getPol_yl() {
|
||||
return pol_yl;
|
||||
}
|
||||
|
||||
public void setPol_yl(String pol_yl) {
|
||||
this.pol_yl = pol_yl;
|
||||
}
|
||||
|
||||
public String getSo_yl() {
|
||||
return so_yl;
|
||||
}
|
||||
|
||||
public void setSo_yl(String so_yl) {
|
||||
this.so_yl = so_yl;
|
||||
}
|
||||
|
||||
public String getPol_wd() {
|
||||
return pol_wd;
|
||||
}
|
||||
|
||||
public void setPol_wd(String pol_wd) {
|
||||
this.pol_wd = pol_wd;
|
||||
}
|
||||
|
||||
public String getSo_wd() {
|
||||
return so_wd;
|
||||
}
|
||||
|
||||
public void setSo_wd(String so_wd) {
|
||||
this.so_wd = so_wd;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue