| | |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.zy.asrs.service.BasLocStsService; |
| | | import com.zy.asrs.service.BasWhsService; |
| | | import com.zy.asrs.service.BasWhsTypeService; |
| | | import com.zy.system.entity.User; |
| | | import com.zy.system.service.UserService; |
| | | import com.core.common.Cools; |
| | |
| | | |
| | | |
| | | public String getWhsType$(){ |
| | | BasWhsService service = SpringUtils.getBean(BasWhsService.class); |
| | | BasWhs basWhs = service.selectById(this.whsType); |
| | | if (!Cools.isEmpty(basWhs)){ |
| | | return String.valueOf(basWhs.getWhsDesc()); |
| | | BasWhsTypeService service = SpringUtils.getBean(BasWhsTypeService.class); |
| | | BasWhsType basWhsType = service.selectById(this.whsType); |
| | | if (!Cools.isEmpty(basWhsType)){ |
| | | return String.valueOf(basWhsType.getWhsDesc()); |
| | | } |
| | | return null; |
| | | } |