| | |
| | | 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; |
| | | } |
| | |
| | | } |
| | | |
| | | public String getFrozen$() { |
| | | if (null == this.frozen){ return null; } |
| | | if (null == this.frozen){ return "未冻结"; } |
| | | switch (this.frozen){ |
| | | case 0: |
| | | return "未冻结"; |
| | | case 1: |
| | | return "已冻结"; |
| | | default: |
| | | return null; |
| | | return "未冻结"; |
| | | } |
| | | } |
| | | |