|
@@ -71,7 +71,10 @@ public class GyDataServiceImpl implements GyDataService {
|
|
|
public List<GyDataImportDTO> list(Map<String, Object> map) {
|
|
|
UserDO currUser = ShiroUtils.getUser();
|
|
|
log.info("currUser:" + currUser.toString());
|
|
|
- if (currUser.getDeptId() == null || !managerValue.contains(currUser.getDeptId().toString())) {
|
|
|
+ if(currUser.getDeptId() == null){
|
|
|
+ throw new BDException("当前用户的部门id为空");
|
|
|
+ }
|
|
|
+ if (!managerValue.contains(currUser.getDeptId().toString())) {
|
|
|
String province = currUser.getProvince();
|
|
|
if(StringUtils.isEmpty(province)){
|
|
|
province = sysProvince;
|