| | |
| | | import com.bstek.dorado.annotation.DataResolver; |
| | | import com.fzzy.igds.domain.Dept; |
| | | import com.fzzy.igds.service.CoreDeptService; |
| | | import com.fzzy.igds.utils.ContextUtil; |
| | | import com.ruoyi.common.core.domain.entity.SysDept; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.system.service.ISysDeptService; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Component; |
| | | import javax.annotation.Resource; |
| | |
| | | /** |
| | | * 查询设备,将操作信息调整为空,默认包括分库参数 |
| | | * |
| | | * deptPR#getAllData |
| | | * |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<Dept> getAllData() { |
| | | |
| | | return coreDeptService.listDept(null,ContextUtil.getCompanyId(),null); |
| | | } |
| | | |
| | | /** |
| | | * 查询设备,将操作信息调整为空,默认包括分库参数 |
| | | * |
| | | * deptPR#getData |
| | | * |
| | | * @return |
| | |
| | | @DataProvider |
| | | public List<Dept> getData() { |
| | | |
| | | return coreDeptService.getAllData(null); |
| | | return coreDeptService.getDeptData(); |
| | | } |
| | | |
| | | /** |