| | |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import zy.cloud.wms.system.service.DeptService; |
| | | import zy.cloud.wms.system.service.HostService; |
| | | import zy.cloud.wms.system.service.RoleService; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import zy.cloud.wms.system.service.HostService; |
| | | import zy.cloud.wms.system.service.RoleService; |
| | | |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | |
| | | } |
| | | |
| | | public String getDeptName() { |
| | | DeptService service = SpringUtils.getBean(DeptService.class); |
| | | Dept dept = service.selectById(this.deptId); |
| | | if (!Cools.isEmpty(dept)){ |
| | | return dept.getName(); |
| | | } |
| | | // DeptService service = SpringUtils.getBean(DeptService.class); |
| | | // Dept dept = service.selectById(this.deptId); |
| | | // if (!Cools.isEmpty(dept)){ |
| | | // return dept.getName(); |
| | | // } |
| | | return null; |
| | | } |
| | | |