| | |
| | | package com.zy.core.model.protocol; |
| | | |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.entity.LocMast; |
| | | import com.zy.asrs.service.BasShuttleService; |
| | | import com.zy.asrs.service.LocMastService; |
| | | import com.zy.core.News; |
| | | import com.zy.core.enums.ShuttleErrorCodeType; |
| | | import com.zy.core.enums.ShuttleProtocolStatusType; |
| | |
| | | } |
| | | } |
| | | |
| | | //通过当前二维码获取当前库位号 |
| | | public String getCurrentLocNo() { |
| | | LocMastService locMastService = SpringUtils.getBean(LocMastService.class); |
| | | if (locMastService == null) { |
| | | return null; |
| | | } |
| | | //源库位(小车当前位置) |
| | | LocMast currentLocMast = locMastService.queryByQrCode(this.currentCode.toString()); |
| | | if (currentLocMast == null) { |
| | | return null; |
| | | } |
| | | return currentLocMast.getLocNo(); |
| | | } |
| | | |
| | | } |