|
|
|
@ -830,6 +830,8 @@ public class PageController { |
|
|
|
} else { |
|
|
|
mv.addObject("display", "none"); |
|
|
|
} |
|
|
|
List<BusinessType> businessTypeAll = businessTypeService.findBusinessTypeAll(); |
|
|
|
mv.addObject("btList",businessTypeAll); |
|
|
|
mv.setViewName("pages/application/application-out"); |
|
|
|
Integer maindeparment = userToken.getMaindeparment(); |
|
|
|
if (PublicConfig.roleAdminorgList.contains(maindeparment)) { |
|
|
|
@ -847,6 +849,9 @@ public class PageController { |
|
|
|
@GetMapping("/application_out_immediately") |
|
|
|
public ModelAndView application_out_immediately(HttpServletRequest request) { |
|
|
|
ModelAndView mv = new ModelAndView(); |
|
|
|
// 获取所有出库业务类别
|
|
|
|
List<BusinessType> businessTypeAll = businessTypeService.findBusinessTypeAll(); |
|
|
|
mv.addObject("btList",businessTypeAll); |
|
|
|
mv.setViewName("pages/applicationForStorageCenter/application-out_admin"); |
|
|
|
return mv; |
|
|
|
} |
|
|
|
@ -862,6 +867,8 @@ public class PageController { |
|
|
|
@GetMapping("/application_out_back") |
|
|
|
public ModelAndView application_out_back(String code, String depositoryId, HttpServletRequest request) { |
|
|
|
ModelAndView mv = new ModelAndView(); |
|
|
|
List<BusinessType> businessTypeAll = businessTypeService.findBusinessTypeAll(); |
|
|
|
mv.addObject("btList",businessTypeAll); |
|
|
|
mv.setViewName("pages/application/application-out_back"); |
|
|
|
String token = request.getHeader("user-token"); |
|
|
|
if (token == null) { |
|
|
|
@ -2593,6 +2600,7 @@ public class PageController { |
|
|
|
|
|
|
|
UserByPort userToken = AuthenticationTokenPool.getUserToken(token); |
|
|
|
|
|
|
|
|
|
|
|
ModelAndView mv = new ModelAndView(); |
|
|
|
List<Integer> gidList = new ArrayList<>(); |
|
|
|
if ("one".equals(type)) { |
|
|
|
@ -3222,6 +3230,8 @@ public class PageController { |
|
|
|
if (token == null) { |
|
|
|
token = (String) request.getSession().getAttribute("userToken"); |
|
|
|
} |
|
|
|
List<BusinessType> businessTypeAll = businessTypeService.findBusinessTypeAll(); |
|
|
|
mv.addObject("btList",businessTypeAll); |
|
|
|
UserByPort userToken = AuthenticationTokenPool.getUserToken(token); |
|
|
|
List<String> range = redisPool.getRedisTemplateByDb(15).boundListOps("WMS_temporaryValue_Out" + userToken.getNumber()).range(0, -1); |
|
|
|
// 获取当前用户是否存在可见仓库
|
|
|
|
|