代码更新

This commit is contained in:
ldj_willow
2022-07-13 14:10:37 +08:00
parent 6aa50e18bc
commit b2146797be
11 changed files with 667 additions and 15 deletions

View File

@@ -31,6 +31,12 @@ public class BigScreenController {
public ResponseEntity<Object> getData(@RequestBody JSONObject whereJson) {
return new ResponseEntity<>(bigScreenService.getData(whereJson), HttpStatus.OK);
}
@PostMapping("/query3Dcartoon")
@Log("查询三维动画大屏")
@ApiOperation("查询三维动画大屏")
public ResponseEntity<Object> query3Dcartoon(@RequestBody JSONObject whereJson) {
return new ResponseEntity<>(bigScreenService.query3Dcartoon(whereJson), HttpStatus.OK);
}
@PostMapping("/workScreen")
@Log("查询工序看板")

View File

@@ -7,12 +7,19 @@ import com.alibaba.fastjson.JSONObject;
*/
public interface BigScreenService {
/**
* 获取监控大屏数据
* 获取监控大屏数据页面
*
* @return
*/
public JSONObject getData(JSONObject param);
/**
* 三维动画页面
*
* @return
*/
public JSONObject query3Dcartoon(JSONObject param);
/**
* 获根据不同看板编号查询不同工序看板数据
*

View File

@@ -17,6 +17,12 @@ public class BigScreenServiceImpl implements BigScreenService {
return JSON.parseObject(str);
}
@Override
public JSONObject query3Dcartoon(JSONObject param) {
String str="{\"desc\":\"查询成功\",\"code\":\"1\",\"result\":{\"total_input1\":\"17500.00\",\"total_input2\":\"3500.00\",\"year_output1\":\"25000.00\",\"year_output2\":\"5000.00\",\"product_num\":\"205\",\"process_num\":\"8\",\"b_date\":\"2019-05-05\"}}";
return JSON.parseObject(str);
}
@Override
public JSONObject workScreen(JSONObject param) {
String web_flag = param.getString("web_flag");