You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.5 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
2 years ago
​
​
​
​
2 years ago
  1. package com.gcc.publicgrievance.controller;
  2. import org.springframework.stereotype.Controller;
  3. import org.springframework.ui.Model;
  4. import org.springframework.web.bind.annotation.GetMapping;
  5. @Controller
  6. public class UserController {
  7. @GetMapping("/home")
  8. public String home(Model model) {
  9. return "User/home";
  10. }
  11. @GetMapping("/registercomplaints")
  12. public String registercomplaints(Model model) {
  13. return "User/registercomplaints";
  14. }
  15. @GetMapping("/officercomplaint")
  16. public String officercomplaint(Model model) {
  17. return "officer/officercomplaint";
  18. }
  19. @GetMapping("/checklistofficer")
  20. public String checklistofficer(Model model) {
  21. return "checklistofficer/checklistofficer";
  22. }
  23. @GetMapping("/checklistuser")
  24. public String checklistuser(Model model) {
  25. return "checklistuser/checklistuser";
  26. }
  27. //staff
  28. @GetMapping("/createorder")
  29. public String createorder(Model model) {
  30. return "staff/createorder";
  31. }
  32. @GetMapping("/staffenrollment")
  33. public String staffenrollment(Model model) {
  34. return "staff/staffenrollment";
  35. }
  36. @GetMapping("/appoinmentscreen")
  37. public String appoinmentscreen(Model model) {
  38. return "staff/appoinmentscreen";
  39. }
  40. @GetMapping("/schemegroup")
  41. public String schemegroup(Model model) {
  42. return "staff/schemegroup";
  43. }
  44. @GetMapping("/appoinment")
  45. public String appoinment(Model model) {
  46. return "staff/appoinment";
  47. }
  48. //tradelicence
  49. @GetMapping("/tradelicence")
  50. public String tradelicence(Model model) {
  51. return "Tradelicence/tradelicence";
  52. }
  53. }