| | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.vincent.rsf.server.manager.service.LocService; |
| | | import com.vincent.rsf.server.manager.service.WarehouseAreasService; |
| | | import com.vincent.rsf.server.system.constant.DictTypeCode; |
| | | import com.vincent.rsf.server.system.entity.DictData; |
| | | import com.vincent.rsf.server.system.service.DictDataService; |
| | |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | public String getWareArea(){ |
| | | if (Cools.isEmpty(this.locId)){ |
| | | return ""; |
| | | } |
| | | LocService locService = SpringUtils.getBean(LocService.class); |
| | | Loc loc = locService.getById(this.locId); |
| | | if (Objects.isNull(loc)) { |
| | | return null; |
| | | } |
| | | return loc.getAreaId$(); |
| | | } |
| | | |
| | | public String getType$(){ |
| | | if (Cools.isEmpty(this.type)){ |
| | | return ""; |