|
@@ -1,6 +1,5 @@
|
1
|
1
|
package com.chinaitop.depot.business.controller;
|
2
|
2
|
|
3
|
|
-import java.math.BigDecimal;
|
4
|
3
|
import java.util.HashMap;
|
5
|
4
|
import java.util.List;
|
6
|
5
|
import java.util.Map;
|
|
@@ -10,8 +9,6 @@ import javax.annotation.Resource;
|
10
|
9
|
import org.slf4j.Logger;
|
11
|
10
|
import org.slf4j.LoggerFactory;
|
12
|
11
|
import org.springframework.http.MediaType;
|
13
|
|
-import org.springframework.util.MultiValueMap;
|
14
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
15
|
12
|
import org.springframework.web.bind.annotation.RequestMapping;
|
16
|
13
|
import org.springframework.web.bind.annotation.RequestMethod;
|
17
|
14
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -168,19 +165,19 @@ public class ReceiveNoticeController {
|
168
|
165
|
@RequestMapping(value="/scRkxzzbd", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.GET)
|
169
|
166
|
@ApiOperation(value="增加性质转变单数据(入库)", notes = "")
|
170
|
167
|
@ApiImplicitParams({
|
171
|
|
- @ApiImplicitParam(name = "hwbm", value = "货位编码", paramType = "query")
|
|
168
|
+ @ApiImplicitParam(name = "sptId", value = "市库对接的货位ID", paramType = "query")
|
172
|
169
|
})
|
173
|
|
- public Map<String, Object> scRkxzzbd(String hwbm) {
|
|
170
|
+ public Map<String, Object> scRkxzzbd(String sptId) {
|
174
|
171
|
Map<String, Object> map = new HashMap<>();
|
175
|
172
|
try {
|
176
|
|
- map = receiveNoticeService.scRkxzzbd(hwbm);
|
177
|
|
- systemOutsideDataService.addlogger("rkxzzbd", hwbm, map.toString());
|
|
173
|
+ map = receiveNoticeService.scRkxzzbd(sptId);
|
|
174
|
+ systemOutsideDataService.addlogger("rkxzzbd", sptId, map.toString());
|
178
|
175
|
} catch (Exception e) {
|
179
|
176
|
logger.error("性质转变单生成异常");
|
180
|
177
|
logger.error(e.getMessage());
|
181
|
178
|
map.put("status", "error");
|
182
|
179
|
map.put("msg", "接口异常,请联系管理员!");
|
183
|
|
- systemOutsideDataService.addlogger("rkxzzbd", hwbm, map.toString());
|
|
180
|
+ systemOutsideDataService.addlogger("rkxzzbd", sptId, map.toString());
|
184
|
181
|
}
|
185
|
182
|
return map;
|
186
|
183
|
}
|