|
|
@ -3,11 +3,13 @@ package com.ruoyi.system.controller; |
|
|
|
import com.ruoyi.common.annotation.Log; |
|
|
|
import com.ruoyi.common.core.controller.BaseController; |
|
|
|
import com.ruoyi.common.core.domain.AjaxResult; |
|
|
|
import com.ruoyi.common.core.domain.entity.SysUser; |
|
|
|
import com.ruoyi.common.core.page.TableDataInfo; |
|
|
|
import com.ruoyi.common.enums.BusinessType; |
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil; |
|
|
|
import com.ruoyi.system.domain.SysProductModel; |
|
|
|
import com.ruoyi.system.service.ISysProductModelService; |
|
|
|
import com.ruoyi.system.service.ISysUserService; |
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
@ -31,6 +33,10 @@ public class SysProductModelController extends BaseController |
|
|
|
@Autowired |
|
|
|
private ISysProductModelService sysProductModelService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private ISysUserService sysUserService; |
|
|
|
|
|
|
|
|
|
|
|
@RequiresPermissions("system:model:view") |
|
|
|
@GetMapping() |
|
|
|
public String model() |
|
|
@ -145,4 +151,17 @@ public class SysProductModelController extends BaseController |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 查询工程员列表 |
|
|
|
* */ |
|
|
|
@GetMapping ("/getEngineerList") |
|
|
|
@ResponseBody |
|
|
|
public TableDataInfo getEngineerList(){ |
|
|
|
startPage(); |
|
|
|
List<SysUser> list = sysUserService.selectRoleToUserList("gcwyRole,gcjlRole,gczgRole,yfzjRole,"); |
|
|
|
return getDataTable(list); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|