| | |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.zy.asrs.service.BasWhsService; |
| | | import com.zy.asrs.service.RowLastnoTypeService; |
| | | import com.zy.system.entity.User; |
| | | import com.zy.system.service.UserService; |
| | | import com.core.common.Cools; |
| | |
| | | public Integer getTypeId() { |
| | | return typeId; |
| | | } |
| | | public String getTypeId$() { |
| | | RowLastnoTypeService rowLastnoTypeService = SpringUtils.getBean(RowLastnoTypeService.class); |
| | | RowLastnoType rowLastnoType = rowLastnoTypeService.selectById(this.typeId.longValue()); |
| | | BasWhsService basWhsService = SpringUtils.getBean(BasWhsService.class); |
| | | BasWhs basWhs = basWhsService.selectOne(new EntityWrapper<BasWhs>().eq("identifying",rowLastnoType.getType().longValue()) ); |
| | | if (!Cools.isEmpty(rowLastnoType)){ |
| | | return rowLastnoType.getTypeName()+"<==>"+rowLastnoType.getMemo()+"<==>"+basWhs.getWhsDesc(); |
| | | } |
| | | return typeId.toString(); |
| | | } |
| | | |
| | | public void setTypeId(Integer typeId) { |
| | | this.typeId = typeId; |