廖井涛
2025-11-28 67f0be5a1d634ba3274fa9366ceacc3580f056b7
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
package com.northglass.web.standalone;
 
 
import java.util.Map;
 
import javax.print.DocFlavor.STRING;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
 
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
 
import com.northglass.service.shelfmanager.ShelfManagerService;
import com.northglass.service.standalone.StandAloneService;
 
 
 
 
/**
 * 单机界面管理
 * @author GO1
 *
 */
@Controller
@RequestMapping(value="/standalonemanage")
public class StandAloneController<ShelfManagerervice> {
    @Autowired
    private StandAloneService standAloneService;
    private static final Logger LOGGER = LoggerFactory.getLogger(StandAloneController.class);
    
    
    
    /**
     * 进入单机界面
     * @return
     */
    @RequestMapping(method=RequestMethod.GET,value="/intopages")
    public String inToPages(Model model,HttpServletRequest request){
         return "standalone/startStandalonePage2";
    }
    
    @RequestMapping(method=RequestMethod.GET,value="/intopages2")
    public String inToPages2(Model model,HttpServletRequest request){
         return "standalone/startStandalonePage2";
    }
    /**
     * 进入单机界面
     * @return
     */
    @RequestMapping(method=RequestMethod.GET,value="/intopage")
    public String inToPage(Model model,HttpServletRequest request){
        return standAloneService.intoPage(request, "1", model);
    }
    
    /**
     * 进入单机界面(2号)
     * @return
     */
    @RequestMapping(method=RequestMethod.GET,value="/intopage2")
    public String inToPage2(Model model,HttpServletRequest request){
        return standAloneService.intoPage(request, "2", model);
    }
    
    /**
     * 进入单机界面(3号)
     * @return
     */
    @RequestMapping(method=RequestMethod.GET,value="/intopage3")
    public String inToPage3(Model model,HttpServletRequest request){
        return standAloneService.intoPage(request, "3", model);
    }
    
    
    
    @RequestMapping(method=RequestMethod.POST, value="/passwords/{groups}")
      public String passwords(HttpServletRequest request,@RequestParam(value="passwords") String passwords,@PathVariable("groups") Long groups) {
          return standAloneService.passwords(passwords,groups);
          
      }
    
    @RequestMapping(method=RequestMethod.GET,value="/endSingleMachine")
    public String endSingleMachine(HttpServletRequest request,Model model){
        return standAloneService.endSingleMachine(request, model);
    }
    
    @RequestMapping(method=RequestMethod.GET,value="/endSingleMachine2")
    public String endSingleMachine2(HttpServletRequest request,Model model){
        return standAloneService.endSingleMachine2(request, model);
    }
    @RequestMapping(method=RequestMethod.GET,value="/endSingleMachine3")
    public String endSingleMachine3(HttpServletRequest request,Model model){
        return standAloneService.endSingleMachine3(request, model);
    }
    
    /**
     * 输入剩余原片数量后退出
     * @return
     *//*
    @RequestMapping(method=RequestMethod.GET,value="/endsinglemodel")
    public String endSingleModel(HttpServletRequest request){
        return standAloneService.endSingleModel(request);
    }*/
    
    
    
    
    
    
}