|
@@ -49,6 +49,8 @@ public class RecommenController {
|
|
|
* 获得3日健康推荐检修风机
|
|
|
* @return
|
|
|
*/
|
|
|
+ @PostMapping("/getRecommenmainDay3")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult getRecommenmainDay3() {
|
|
|
|
|
|
List<Recommenmain> vos=new ArrayList<>();
|
|
@@ -66,6 +68,8 @@ public class RecommenController {
|
|
|
* 获得7日健康推荐检修风机
|
|
|
* @return
|
|
|
*/
|
|
|
+ @PostMapping("/getRecommenmainDay7")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult getRecommenmainDay7() {
|
|
|
|
|
|
List<Recommenmain> vos=new ArrayList<>();
|
|
@@ -83,6 +87,8 @@ public class RecommenController {
|
|
|
* 确认推荐检修风机,并添加记录到生产系统
|
|
|
* @param rid
|
|
|
*/
|
|
|
+ @PostMapping("/confirpush")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult confirpush(String rid)
|
|
|
{
|
|
|
int result=0;
|
|
@@ -98,6 +104,8 @@ public class RecommenController {
|
|
|
* 全部确认不同时间段的推荐检修风机
|
|
|
* @param typeid 1代表全部确认当日推荐 2 代表全部确认三天推荐 3 代表全部确认未来七天推荐
|
|
|
*/
|
|
|
+ @PostMapping("/confirpushAll")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult confirpushAll(String typeid)
|
|
|
{
|
|
|
|
|
@@ -146,6 +154,8 @@ public class RecommenController {
|
|
|
* 取消推荐检修风机
|
|
|
* @param rid
|
|
|
*/
|
|
|
+ @PostMapping("/ignorepush")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult ignorepush(String rid)
|
|
|
{
|
|
|
int result=0;
|
|
@@ -161,6 +171,8 @@ public class RecommenController {
|
|
|
* 全部取消不同时间段的推荐检修风机
|
|
|
* @param typeid 1代表全部取消当日推荐 2 代表全部取消三天推荐 3 代表全部取消未来七天推荐
|
|
|
*/
|
|
|
+ @PostMapping("/ignorepushAll")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult ignorepushAll(String typeid)
|
|
|
{
|
|
|
|
|
@@ -210,6 +222,8 @@ public class RecommenController {
|
|
|
* 获得已经确认检修风机
|
|
|
* @return
|
|
|
*/
|
|
|
+ @PostMapping("/recommenConfirmedList")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult recommenConfirmedList() {
|
|
|
|
|
|
List<Recommenmain> vos=new ArrayList<>();
|
|
@@ -236,6 +250,8 @@ public class RecommenController {
|
|
|
* map.put("datechart", datechart);//日期
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
+ @PostMapping("/findAllChartjz")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult findAllChartjz(String wpId, String type) throws Exception {
|
|
|
|
|
|
Map<String, Object[]> map = new HashMap<String, Object[]>();
|
|
@@ -259,6 +275,8 @@ public class RecommenController {
|
|
|
* @param rid
|
|
|
* @return
|
|
|
*/
|
|
|
+ @PostMapping("/findMainTrack")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult findMainTrack(String rid) {
|
|
|
|
|
|
MainTrackVo vo = new MainTrackVo();
|
|
@@ -276,6 +294,8 @@ public class RecommenController {
|
|
|
* 获得未完成消缺单列表
|
|
|
* @return
|
|
|
*/
|
|
|
+ @PostMapping("/unfinishedList")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult unfinishedList(String wpId, String wtId, String beginDate, String endDate) {
|
|
|
|
|
|
List<WoBugEqVo> vos=new ArrayList<>();
|
|
@@ -296,6 +316,8 @@ public class RecommenController {
|
|
|
* 获得完成消缺单列表
|
|
|
* @return
|
|
|
*/
|
|
|
+ @PostMapping("/finishedList")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult finishedList(String wpId, String wtId, String beginDate, String endDate) {
|
|
|
|
|
|
List<WoBugEqVo> vos=new ArrayList<>();
|
|
@@ -322,7 +344,8 @@ public class RecommenController {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
-
|
|
|
+ @PostMapping("/findShbraceletList")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult findShbraceletList(String name,String beginDate,String endDate) throws Exception {
|
|
|
|
|
|
Map<String,Map<String,Object>> result=new HashMap<>();
|
|
@@ -345,7 +368,8 @@ public class RecommenController {
|
|
|
* 获取部件结构树
|
|
|
* @return
|
|
|
*/
|
|
|
-
|
|
|
+ @PostMapping("/findLocationTreeByWtId")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult findLocationTreeByWtId(String wtId) throws Exception {
|
|
|
|
|
|
String result="";
|
|
@@ -364,7 +388,8 @@ public class RecommenController {
|
|
|
* 通过位置编号获得缺陷单信息
|
|
|
* @return
|
|
|
*/
|
|
|
-
|
|
|
+ @PostMapping("/findWobugeqByLocation")
|
|
|
+ @ResponseBody
|
|
|
public AjaxResult findWobugeqByLocation(Tablepar tablepar, String location) throws Exception {
|
|
|
|
|
|
PageInfo<Wobugeq> pageInfo=new PageInfo<>();
|