|
|
|
@ -281,8 +281,6 @@ public class StockTakingController { |
|
|
|
if (token == null) { |
|
|
|
token = (String) request.getSession().getAttribute("userToken"); |
|
|
|
} |
|
|
|
UserByPort userToken = AuthenticationTokenPool.getUserToken(token); |
|
|
|
String depositoryId = (String) map.get("depositoryId"); |
|
|
|
String placeId = (String) map.get("placeId"); |
|
|
|
// 获取当前库位
|
|
|
|
Place placeById = placeService.findPlaceById(ObjectFormatUtil.toInteger(placeId)); |
|
|
|
@ -363,6 +361,12 @@ public class StockTakingController { |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 用于提交申请 |
|
|
|
* @param map 提交的数据 |
|
|
|
* @param request |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@PostMapping("/submitStockTaking") |
|
|
|
public RestResponse submitStockTaking(@RequestBody Map<String, Object> map, HttpServletRequest request) { |
|
|
|
String token = request.getHeader("user-token"); |
|
|
|
|