傅行帆 4 年 前
コミット
851a16ae42
共有1 個のファイルを変更した13 個の追加13 個の削除を含む
  1. 13
    13
      src/main/java/com/huiju/estateagents/property/controller/BillInvoiceController.java

+ 13
- 13
src/main/java/com/huiju/estateagents/property/controller/BillInvoiceController.java ファイルの表示

33
  * @since 2019-02-13
33
  * @since 2019-02-13
34
  */
34
  */
35
 @RestController
35
 @RestController
36
-@RequestMapping("/")
36
+@RequestMapping("/api")
37
 
37
 
38
 @Api(value = "缴费单 API", description = "缴费单 API")
38
 @Api(value = "缴费单 API", description = "缴费单 API")
39
 public class BillInvoiceController extends BaseController {
39
 public class BillInvoiceController extends BaseController {
50
                     "phase: 期,building: 栋,unit: 单元,roomNo: 户号,ownerName: 业主姓名," +
50
                     "phase: 期,building: 栋,unit: 单元,roomNo: 户号,ownerName: 业主姓名," +
51
                     "billStatus: 缴费状态,payName: 缴费人,pageSize: 一页多少行,pageNum: 第几页"),
51
                     "billStatus: 缴费状态,payName: 缴费人,pageSize: 一页多少行,pageNum: 第几页"),
52
     })
52
     })
53
-    @RequestMapping(value = "/bill/invoice/list", method = RequestMethod.POST)
53
+    @RequestMapping(value = "/admin/bill/invoice/list", method = RequestMethod.POST)
54
     public ResponseBean getBillList(HttpServletRequest request, @RequestBody String parameter) {
54
     public ResponseBean getBillList(HttpServletRequest request, @RequestBody String parameter) {
55
         ResponseBean responseBean = new ResponseBean();
55
         ResponseBean responseBean = new ResponseBean();
56
         TaUser userElement = getTaUser(request);
56
         TaUser userElement = getTaUser(request);
63
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "parameter", value = "billName收费项名称,billExplain缴费项说明,endDate截止时间"),
63
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "parameter", value = "billName收费项名称,billExplain缴费项说明,endDate截止时间"),
64
 
64
 
65
     })
65
     })
66
-    @RequestMapping(value = "/bill/invoice/updateBill", method = RequestMethod.PUT)
66
+    @RequestMapping(value = "/admin/bill/invoice/updateBill", method = RequestMethod.PUT)
67
     public ResponseBean updateBill(HttpServletRequest request, @RequestBody String parameter) {
67
     public ResponseBean updateBill(HttpServletRequest request, @RequestBody String parameter) {
68
         ResponseBean responseBean = new ResponseBean();
68
         ResponseBean responseBean = new ResponseBean();
69
 
69
 
77
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "ids", value = "id集合"),
77
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "ids", value = "id集合"),
78
 
78
 
79
     })
79
     })
80
-    @RequestMapping(value = "/bill/invoice/delete", method = RequestMethod.POST)
80
+    @RequestMapping(value = "/admin/bill/invoice/delete", method = RequestMethod.POST)
81
     public ResponseBean delete(HttpServletRequest request, @RequestBody List<Integer> ids) {
81
     public ResponseBean delete(HttpServletRequest request, @RequestBody List<Integer> ids) {
82
         ResponseBean responseBean = new ResponseBean();
82
         ResponseBean responseBean = new ResponseBean();
83
         TaUser userElement = getTaUser(request);
83
         TaUser userElement = getTaUser(request);
91
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "ids", value = "id集合"),
91
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "ids", value = "id集合"),
92
 
92
 
93
     })
93
     })
94
-    @RequestMapping(value = "/bill/invoice/offlinePayment", method = RequestMethod.POST)
94
+    @RequestMapping(value = "/admin/bill/invoice/offlinePayment", method = RequestMethod.POST)
95
     public ResponseBean offlinePayment(HttpServletRequest request, @RequestBody List<Integer> ids) {
95
     public ResponseBean offlinePayment(HttpServletRequest request, @RequestBody List<Integer> ids) {
96
         ResponseBean responseBean = new ResponseBean();
96
         ResponseBean responseBean = new ResponseBean();
97
 
97
 
105
                     "building栋,unit单元,roomNo户号,worthOf截止时间(催缴日期),billInvoiceExplain收费单说明,payPrice收费金额"),
105
                     "building栋,unit单元,roomNo户号,worthOf截止时间(催缴日期),billInvoiceExplain收费单说明,payPrice收费金额"),
106
 
106
 
107
     })
107
     })
108
-    @RequestMapping(value = "/bill/invoice/addTempBillInvoice", method = RequestMethod.POST)
108
+    @RequestMapping(value = "/admin/bill/invoice/addTempBillInvoice", method = RequestMethod.POST)
109
     public ResponseBean addTempBillInvoice(HttpServletRequest request, @RequestBody String parameter) {
109
     public ResponseBean addTempBillInvoice(HttpServletRequest request, @RequestBody String parameter) {
110
         ResponseBean responseBean = new ResponseBean();
110
         ResponseBean responseBean = new ResponseBean();
111
         TaUser userElement = getTaUser(request);
111
         TaUser userElement = getTaUser(request);
118
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "ids", value = "id集合"),
118
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "ids", value = "id集合"),
119
 
119
 
120
     })
120
     })
121
-    @RequestMapping(value = "/bill/invoice/updateBillInvoiceStatus", method = RequestMethod.POST)
121
+    @RequestMapping(value = "/admin/bill/invoice/updateBillInvoiceStatus", method = RequestMethod.POST)
122
     public ResponseBean updateBillInvoiceStatus(HttpServletRequest request, @RequestBody List<Integer> ids) {
122
     public ResponseBean updateBillInvoiceStatus(HttpServletRequest request, @RequestBody List<Integer> ids) {
123
         ResponseBean responseBean = new ResponseBean();
123
         ResponseBean responseBean = new ResponseBean();
124
         TaUser userElement = getTaUser(request);
124
         TaUser userElement = getTaUser(request);
131
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "billId", value = "缴费id"),
131
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "billId", value = "缴费id"),
132
 
132
 
133
     })
133
     })
134
-    @RequestMapping(value = "/bill/invoice/getTempBillInvoice/{billId}", method = RequestMethod.GET)
134
+    @RequestMapping(value = "/admin/bill/invoice/getTempBillInvoice/{billId}", method = RequestMethod.GET)
135
     public ResponseBean getTempBillInvoice(HttpServletRequest request, @PathVariable("billId") Integer billId) {
135
     public ResponseBean getTempBillInvoice(HttpServletRequest request, @PathVariable("billId") Integer billId) {
136
         ResponseBean responseBean = new ResponseBean();
136
         ResponseBean responseBean = new ResponseBean();
137
         TaUser userElement = getTaUser(request);
137
         TaUser userElement = getTaUser(request);
144
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "billId", value = "缴费id"),
144
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "billId", value = "缴费id"),
145
 
145
 
146
     })
146
     })
147
-    @RequestMapping(value = "/bill/invoice/deleteTempBillInvoice/{billId}", method = RequestMethod.DELETE)
147
+    @RequestMapping(value = "/admin/bill/invoice/deleteTempBillInvoice/{billId}", method = RequestMethod.DELETE)
148
     public ResponseBean deleteTempBillInvoice(HttpServletRequest request, @PathVariable("billId") Integer billId) {
148
     public ResponseBean deleteTempBillInvoice(HttpServletRequest request, @PathVariable("billId") Integer billId) {
149
         ResponseBean responseBean = new ResponseBean();
149
         ResponseBean responseBean = new ResponseBean();
150
         TaUser userElement = getTaUser(request);
150
         TaUser userElement = getTaUser(request);
158
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "parameter", value = "payPrice金额"),
158
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "parameter", value = "payPrice金额"),
159
 
159
 
160
     })
160
     })
161
-    @RequestMapping(value = "/bill/invoice/updateBillInvoiceIdPayPrice/{billId}", method = RequestMethod.POST)
161
+    @RequestMapping(value = "/admin/bill/invoice/updateBillInvoiceIdPayPrice/{billId}", method = RequestMethod.POST)
162
     public ResponseBean updateBillInvoiceIdPayPrice(HttpServletRequest request, @PathVariable Integer billId, @RequestBody String parameter) {
162
     public ResponseBean updateBillInvoiceIdPayPrice(HttpServletRequest request, @PathVariable Integer billId, @RequestBody String parameter) {
163
         ResponseBean responseBean = new ResponseBean();
163
         ResponseBean responseBean = new ResponseBean();
164
         TaUser userElement = getTaUser(request);
164
         TaUser userElement = getTaUser(request);
173
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "parameter", value = "billInvoiceExplain收费说明"),
173
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "body", name = "parameter", value = "billInvoiceExplain收费说明"),
174
 
174
 
175
     })
175
     })
176
-    @RequestMapping(value = "/bill/invoice/updateBillInvoiceIdBillInvoiceExplain/{billId}", method = RequestMethod.POST)
176
+    @RequestMapping(value = "/admin/bill/invoice/updateBillInvoiceIdBillInvoiceExplain/{billId}", method = RequestMethod.POST)
177
     public ResponseBean updateBillInvoiceIdBillInvoiceExplain(HttpServletRequest request, @PathVariable Integer billId, @RequestBody String parameter) {
177
     public ResponseBean updateBillInvoiceIdBillInvoiceExplain(HttpServletRequest request, @PathVariable Integer billId, @RequestBody String parameter) {
178
         ResponseBean responseBean = new ResponseBean();
178
         ResponseBean responseBean = new ResponseBean();
179
         TaUser userElement = getTaUser(request);
179
         TaUser userElement = getTaUser(request);
199
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "billId", value = "缴费id"),
199
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "billId", value = "缴费id"),
200
 
200
 
201
     })
201
     })
202
-    @RequestMapping(value = "/bill/invoice/exportExcel/{billId}", method = RequestMethod.GET)
202
+    @RequestMapping(value = "/admin/bill/invoice/exportExcel/{billId}", method = RequestMethod.GET)
203
     public void exportExcel(HttpServletResponse response, HttpServletRequest request, @PathVariable("billId") Integer billId) {
203
     public void exportExcel(HttpServletResponse response, HttpServletRequest request, @PathVariable("billId") Integer billId) {
204
         ResponseBean responseBean = new ResponseBean();
204
         ResponseBean responseBean = new ResponseBean();
205
         TaUser userElement = getTaUser(request);
205
         TaUser userElement = getTaUser(request);
223
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "billId", value = "billId缴费项id,pageNum当前页,pageSize一页多少行"),
223
             @ApiImplicitParam(dataTypeClass = String.class, paramType = "path", name = "billId", value = "billId缴费项id,pageNum当前页,pageSize一页多少行"),
224
 
224
 
225
     })
225
     })
226
-    @RequestMapping(value = "/bill/invoice/getInvoiceInvalid", method = RequestMethod.POST)
226
+    @RequestMapping(value = "/admin/bill/invoice/getInvoiceInvalid", method = RequestMethod.POST)
227
     public ResponseBean getInvoiceInvalid(HttpServletRequest request, @RequestBody String parameter) {
227
     public ResponseBean getInvoiceInvalid(HttpServletRequest request, @RequestBody String parameter) {
228
         ResponseBean responseBean = new ResponseBean();
228
         ResponseBean responseBean = new ResponseBean();
229
         TaUser userElement = getTaUser(request);
229
         TaUser userElement = getTaUser(request);