| | |
| | | import com.zy.asrs.service.BasDevpService; |
| | | import com.zy.asrs.service.StaDescService; |
| | | import com.zy.asrs.service.WorkService; |
| | | import com.zy.asrs.utils.Utils; |
| | | import com.zy.common.model.StartupDto; |
| | | import com.zy.common.web.BaseController; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | if (param != null && param.getCrnNo() != null) { |
| | | wrapper.eq("crn_no", param.getCrnNo()); |
| | | } |
| | | // 不同继承角色显示不同库信息 |
| | | // RoleUtils.addRoleWrapperByCrn(getUserId(),wrapper); |
| | | List<StaDesc> staDescs = staDescService.selectList(wrapper); |
| | | for (StaDesc staDesc : staDescs) { |
| | | if (staDesc.getCrnNo() == 1) { |
| | |
| | | } |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("siteId", staDesc.getStnNo()); |
| | | map.put("desc", "[" + Utils.getStaName(staDesc.getStnNo()) + "]"); |
| | | map.put("desc", "[" + staDesc.getStnNo() + "]"); |
| | | result.add(map); |
| | | } |
| | | return R.ok().add(result); |
| | | // return R.ok().add(basDevpService.getAvailableEmptyOutSite()); |
| | | } |
| | | |
| | | @RequestMapping("/full/store/put/start") |