|
@@ -77,17 +77,17 @@ public class DictServiceImpl implements DictService {
|
|
|
*/
|
|
*/
|
|
|
@Override
|
|
@Override
|
|
|
public AjaxResult<DictVo> select(DictDto dto) {
|
|
public AjaxResult<DictVo> select(DictDto dto) {
|
|
|
- SysUser sysUser = SecurityUtils.getLoginUser().getSysUser();
|
|
|
|
|
- // 查询配置机构
|
|
|
|
|
- String comcode = qwUserDeptService.selectByUserid();
|
|
|
|
|
-
|
|
|
|
|
- QwUserDept userDept = qwUserDeptMapper.selectOne(new LambdaQueryWrapper<QwUserDept>().eq(QwUserDept::getUserId, sysUser.getUserId())
|
|
|
|
|
- .eq(QwUserDept::getValidstatus, "1"));
|
|
|
|
|
- // 车牌单独处理下再查询
|
|
|
|
|
- if (StringUtils.isNotBlank(dto.getComcode()) && "LISENSENO".equalsIgnoreCase(dto.getDicttype())) {
|
|
|
|
|
- dto.setDfComcode(dto.getComcode().length() > 2 ? dto.getComcode().substring(0, 2) : dto.getComcode());
|
|
|
|
|
- }
|
|
|
|
|
- List<DictVo> dictList = qwSysDictMapper.select(dto);
|
|
|
|
|
|
|
+// SysUser sysUser = SecurityUtils.getLoginUser().getSysUser();
|
|
|
|
|
+// // 查询配置机构
|
|
|
|
|
+// String comcode = qwUserDeptService.selectByUserid();
|
|
|
|
|
+//
|
|
|
|
|
+// QwUserDept userDept = qwUserDeptMapper.selectOne(new LambdaQueryWrapper<QwUserDept>().eq(QwUserDept::getUserId, sysUser.getUserId())
|
|
|
|
|
+// .eq(QwUserDept::getValidstatus, "1"));
|
|
|
|
|
+// // 车牌单独处理下再查询
|
|
|
|
|
+// if (StringUtils.isNotBlank(dto.getComcode()) && "LISENSENO".equalsIgnoreCase(dto.getDicttype())) {
|
|
|
|
|
+// dto.setDfComcode(dto.getComcode().length() > 2 ? dto.getComcode().substring(0, 2) : dto.getComcode());
|
|
|
|
|
+// }
|
|
|
|
|
+// List<DictVo> dictList = qwSysDictMapper.select(dto);
|
|
|
// if (CollectionUtils.isEmpty(dictList)) {
|
|
// if (CollectionUtils.isEmpty(dictList)) {
|
|
|
// switch (dto.getDicttype().toUpperCase()) {
|
|
// switch (dto.getDicttype().toUpperCase()) {
|
|
|
// case "QW_BY_DEPTID_GET_CHILD_USERID":
|
|
// case "QW_BY_DEPTID_GET_CHILD_USERID":
|
|
@@ -330,7 +330,7 @@ public class DictServiceImpl implements DictService {
|
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
- return AjaxResult.success(dictList);
|
|
|
|
|
|
|
+ return AjaxResult.success(null);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private List<DictVo> getDictVos(SysDept dept) {
|
|
private List<DictVo> getDictVos(SysDept dept) {
|