Commit 3108b9027760e6ea0c8ffea9014ea9d842d19ed4
Merge branch 'branch_0808' of http://192.168.1.195:9998/ZTEITS-Developers/zteits…
…-bcp-portal.git into branch_0808
Showing
2 changed files
with
27 additions
and
12 deletions
src/main/java/com/zteits/irain/portal/web/parkinglotcloudplatform/datastatistic/BerthManageController.java renamed to src/main/java/com/zteits/irain/portal/web/parkinglotcloudplatform/berthmanage/BerthManageController.java
1 | -package com.zteits.irain.portal.web.parkinglotcloudplatform.datastatistic; | |
1 | +package com.zteits.irain.portal.web.parkinglotcloudplatform.berthmanage; | |
2 | 2 | |
3 | 3 | import java.text.SimpleDateFormat; |
4 | 4 | import java.util.ArrayList; |
... | ... | @@ -9,10 +9,7 @@ import javax.servlet.http.HttpServletRequest; |
9 | 9 | import javax.servlet.http.HttpServletResponse; |
10 | 10 | |
11 | 11 | import org.apache.poi.xssf.usermodel.XSSFSheet; |
12 | -import org.slf4j.Logger; | |
13 | -import org.slf4j.LoggerFactory; | |
14 | 12 | import org.springframework.beans.factory.annotation.Autowired; |
15 | -import org.springframework.beans.factory.annotation.Value; | |
16 | 13 | import org.springframework.stereotype.Controller; |
17 | 14 | import org.springframework.web.bind.annotation.GetMapping; |
18 | 15 | import org.springframework.web.bind.annotation.PostMapping; |
... | ... | @@ -58,9 +55,6 @@ import io.swagger.annotations.ApiOperation; |
58 | 55 | @Controller |
59 | 56 | @RequestMapping("/berth") |
60 | 57 | public class BerthManageController extends BizController { |
61 | - private static final Logger logger = LoggerFactory.getLogger(BerthManageController.class); | |
62 | - @Value("${project.syscode}") | |
63 | - private String sysCode; | |
64 | 58 | @Autowired |
65 | 59 | private BerthManageService berthManageService; |
66 | 60 | |
... | ... | @@ -77,7 +71,6 @@ public class BerthManageController extends BizController { |
77 | 71 | public BizResultVO<EasyUIDataGridVO<BerthsDTO>> berthInfoList(@RequestBody BerthManageRequest requestObject) |
78 | 72 | throws InstantiationException, IllegalAccessException { |
79 | 73 | |
80 | - requestObject.setSysCode(sysCode); | |
81 | 74 | BizResult<PageBean<BerthsDTO>> respondObject = berthManageService.queryBerthByCondition(requestObject); |
82 | 75 | if(!(respondObject.isSuccess())){ |
83 | 76 | throw new BizException(respondObject.getErrCode(),respondObject.getErrMsg()); |
... | ... | @@ -92,7 +85,6 @@ public class BerthManageController extends BizController { |
92 | 85 | @PostMapping("updateBerthInfo") |
93 | 86 | @ResponseBody |
94 | 87 | public BizResultVO<Boolean> updateBerthInfo(@RequestBody BerthManageRequest requestObject) { |
95 | - requestObject.setSysCode(sysCode); | |
96 | 88 | BizResult<Boolean> respondObject = berthManageService.updateBerthById(requestObject); |
97 | 89 | return new BizResultVO<Boolean>(respondObject); |
98 | 90 | } |
... | ... | @@ -105,7 +97,6 @@ public class BerthManageController extends BizController { |
105 | 97 | @PostMapping("deleteBerths") |
106 | 98 | @ResponseBody |
107 | 99 | public BizResultVO<Boolean> deleteBerths(@RequestBody BerthManageRequest requestObject) { |
108 | - requestObject.setSysCode(sysCode); | |
109 | 100 | BizResult<Boolean> respondObject = berthManageService.batDeleteBerths(requestObject); |
110 | 101 | return new BizResultVO<Boolean>(respondObject); |
111 | 102 | } |
... | ... | @@ -119,7 +110,6 @@ public class BerthManageController extends BizController { |
119 | 110 | @PostMapping("saveBerthInfo") |
120 | 111 | @ResponseBody |
121 | 112 | public BizResultVO<Boolean> saveBerthInfo(@RequestBody BerthManageRequest requestObject) { |
122 | - requestObject.setSysCode(sysCode); | |
123 | 113 | BizResult<Boolean> respondObject = berthManageService.saveBerthInfo(requestObject); |
124 | 114 | return new BizResultVO<Boolean>(respondObject); |
125 | 115 | } |
... | ... | @@ -129,7 +119,6 @@ public class BerthManageController extends BizController { |
129 | 119 | public void exportBerthInfoExcel(@RequestParam List<String> plNos,@RequestParam List<String> parkTypes, |
130 | 120 | @RequestParam List<String> parkAreaCodes, HttpServletRequest requests, HttpServletResponse response) { |
131 | 121 | BerthManageRequest request = new BerthManageRequest(); |
132 | - request.setSysCode(sysCode); | |
133 | 122 | request.setPlNos(plNos); |
134 | 123 | request.setParkTypes(parkTypes); |
135 | 124 | request.setParkAreaCodes(parkAreaCodes); | ... | ... |
src/main/resources/application-wwwtown.properties
0 → 100644
1 | +#irain | |
2 | +irain.url=http://api.parkingwang.com:8280 | |
3 | +server.port=8093 | |
4 | +#irain艾润 | |
5 | +irain.appid=avakrky0gk1m7n00 | |
6 | +#irain | |
7 | +irain.appsecret=rrr6uz3aqvutpsq2lsna0k18cea4mabw | |
8 | +#irain aes | |
9 | +irain.aes=avakrky0gk1m7n00 | |
10 | + | |
11 | +irain.park_code=734861a1e8656ffa51bdd90829941ca9 | |
12 | + | |
13 | +spring.dubbo.application.name=${spring.application.name} | |
14 | +spring.dubbo.registry.address=zookeeper://10.112.92.88:2181?backup=10.112.92.87:2181 | |
15 | +spring.dubbo.provider.version=1.0.0 | |
16 | +spring.dubbo.cunsumer.check=false | |
17 | + | |
18 | +#spring session redis config | |
19 | +spring.redis.host=10.112.92.88 | |
20 | +spring.redis.port=7001 | |
21 | +spring.redis.password=myredis | |
22 | + | |
23 | +#ebochong config | |
24 | +ebochong.url= | |
25 | +ebochong.clientCode=12345678 | |
26 | +ebochong.key=2xJLZAlyolvMMz4+c/8nRA== | |
0 | 27 | \ No newline at end of file | ... | ... |