| | |
| | | if (Cools.isEmpty(jsonLocNo)){ |
| | | return R.error("库位号参数为空!"); |
| | | }else if (Cools.isEmpty(ownerId)){ |
| | | // return R.error("拥有者参数为空!"); |
| | | ownerId = 1L; |
| | | return R.error("拥有者参数为空!"); |
| | | }else if (Cools.isEmpty(jsonCode)){ |
| | | return R.error("条码参数为空!"); |
| | | }else if (Cools.isEmpty(jsonOrigin)){ |
| | |
| | | if (Cools.isEmpty(jsonLocNo)){ |
| | | return R.error("库位号参数为空!"); |
| | | }else if (Cools.isEmpty(ownerId)){ |
| | | // return R.error("拥有者参数为空!"); |
| | | ownerId = 1L; |
| | | return R.error("拥有者参数为空!"); |
| | | } |
| | | Integer jsonOwner = ownerId.intValue(); //获取拥有者 |
| | | Node node = nodeService.selectOne(new EntityWrapper<Node>().eq("name", jsonLocNo)); //获取对应库位信息 |