zhuguifei
2026-03-10 58402bd5e762361363a0f7d7907153c77dbb819f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.shlanbao.tzsc.pms.equ.sbglplan.controller;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
 
import com.shlanbao.tzsc.base.model.DataGrid;
import com.shlanbao.tzsc.base.model.PageParams;
import com.shlanbao.tzsc.pms.equ.sbglplan.beans.EqmSpotchRecodeBean;
import com.shlanbao.tzsc.pms.equ.sbglplan.service.EqmCheckcatPlanServiceI;
 
@Controller
@RequestMapping("/pms/equc/check")
public class EqmCheckcatPlanController {
    @Autowired
    private EqmCheckcatPlanServiceI eqmCheckcatPlanService;
    /**
     * 跳转到点检查询信息页面
     * @return
     * @throws Exception
     */
    @RequestMapping("/gotoCheckManage")
    public String gotoCheckManage()throws Exception{
        return "/pms/equ/check/checkInfo";
    }
    
    /**
     * 查询点修工单
     * @param wcpBean
     * @param pageParams
     * @param request
     * @return
     */
    @ResponseBody
    @RequestMapping("/queryPlan")
    public DataGrid queryPlan(EqmSpotchRecodeBean eSRBean,PageParams pageParams){
        try {
            DataGrid gd = eqmCheckcatPlanService.queryPlanInfo(eSRBean,pageParams);
            return gd;
        } catch (Exception e) {
            e.printStackTrace();
        }
        return null;
    }
/**
 * 查询详细点修记录    
 * @param czgId
 * @param wxgId
 * @param wxzugId
 * @return
 */
    @ResponseBody
    @RequestMapping("queryInfoById")
    public DataGrid queryInfoById(String id){
        try {
            return eqmCheckcatPlanService.queryInfoById(id);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return null;
    }
}