| | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.zy.asrs.framework.common.Cools; |
| | | import com.zy.asrs.framework.common.SpringUtils; |
| | | import com.zy.asrs.wcs.system.service.DeptService; |
| | | import com.zy.asrs.wcs.system.service.HostService; |
| | | import com.zy.asrs.wcs.system.service.UserService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | } |
| | | } |
| | | |
| | | public String getDeptId$(){ |
| | | DeptService service = SpringUtils.getBean(DeptService.class); |
| | | Dept dept = service.getById(this.deptId); |
| | | if (!Cools.isEmpty(dept)){ |
| | | return String.valueOf(dept.getName()); |
| | | } |
| | | return null; |
| | | } |
| | | // public String getDeptId$(){ |
| | | // DeptService service = SpringUtils.getBean(DeptService.class); |
| | | // Dept dept = service.getById(this.deptId); |
| | | // if (!Cools.isEmpty(dept)){ |
| | | // return String.valueOf(dept.getName()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | |
| | | public String getHostId$(){ |
| | | HostService service = SpringUtils.getBean(HostService.class); |