| | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.vincent.rsf.framework.common.Cools; |
| | | import com.vincent.rsf.framework.common.SpringUtils; |
| | | import com.vincent.rsf.server.manager.service.BasContainerService; |
| | | import com.vincent.rsf.server.manager.service.LocTypeService; |
| | | import com.vincent.rsf.server.manager.service.WarehouseAreasService; |
| | | import com.vincent.rsf.server.manager.service.WarehouseService; |
| | |
| | | import java.util.Arrays; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | import java.util.stream.Collectors; |
| | | |
| | | @Data |
| | |
| | | } |
| | | |
| | | |
| | | public String getIsHalf$() { |
| | | if (!Objects.isNull(this.barcode)) { |
| | | BasContainerService basContainerService = SpringUtils.getBean(BasContainerService.class); |
| | | BasContainer container = basContainerService.getOne(new LambdaQueryWrapper<BasContainer>().eq(BasContainer::getCode, this.barcode)); |
| | | if (!Objects.isNull(container)) { |
| | | if (container.getIsHalf().equals("0")) { |
| | | return "整箱"; |
| | | } else { |
| | | return "半箱"; |
| | | } |
| | | } |
| | | } |
| | | |
| | | return null; |
| | | } |
| | | |
| | | public String getUseStatus$(){ |
| | | if (null == this.useStatus){ return null; } |
| | | switch (this.useStatus){ |