|
|
@ -7,6 +7,7 @@ import com.glxp.api.constant.BusinessType;
|
|
|
|
import com.glxp.api.constant.Constant;
|
|
|
|
import com.glxp.api.constant.Constant;
|
|
|
|
import com.glxp.api.controller.BaseController;
|
|
|
|
import com.glxp.api.controller.BaseController;
|
|
|
|
import com.glxp.api.dao.auth.AuthLicenseDao;
|
|
|
|
import com.glxp.api.dao.auth.AuthLicenseDao;
|
|
|
|
|
|
|
|
import com.glxp.api.dao.auth.InvWarehouseDao;
|
|
|
|
import com.glxp.api.entity.auth.*;
|
|
|
|
import com.glxp.api.entity.auth.*;
|
|
|
|
import com.glxp.api.entity.system.CompanyEntity;
|
|
|
|
import com.glxp.api.entity.system.CompanyEntity;
|
|
|
|
import com.glxp.api.entity.system.SysPdaKeyEntity;
|
|
|
|
import com.glxp.api.entity.system.SysPdaKeyEntity;
|
|
|
@ -24,6 +25,7 @@ import com.glxp.api.common.res.BaseResponse;
|
|
|
|
import com.glxp.api.common.util.ResultVOUtils;
|
|
|
|
import com.glxp.api.common.util.ResultVOUtils;
|
|
|
|
import com.glxp.api.service.auth.*;
|
|
|
|
import com.glxp.api.service.auth.*;
|
|
|
|
import com.glxp.api.util.*;
|
|
|
|
import com.glxp.api.util.*;
|
|
|
|
|
|
|
|
import com.glxp.api.vo.inv.InvWarehouseTreeVo;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@ -308,6 +310,8 @@ public class LoginController extends BaseController {
|
|
|
|
|
|
|
|
|
|
|
|
//------------------------------------------UDIMS接口-----------------------------------------------------------
|
|
|
|
//------------------------------------------UDIMS接口-----------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
|
|
|
private InvWarehouseDao invWarehouseDao;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 平台验证
|
|
|
|
* 平台验证
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -347,7 +351,7 @@ public class LoginController extends BaseController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
FilterInvWarehouseRequest filterInvWarehouseRequest = new FilterInvWarehouseRequest();
|
|
|
|
FilterInvWarehouseRequest filterInvWarehouseRequest = new FilterInvWarehouseRequest();
|
|
|
|
filterInvWarehouseRequest.setSpUse(true);
|
|
|
|
filterInvWarehouseRequest.setSpUse(true);
|
|
|
|
List<InvWarehouseEntity> invList = invWarehouseService.findInvListByUser(filterInvWarehouseRequest);
|
|
|
|
List<InvWarehouseTreeVo> invList = invWarehouseDao.selectInvListTreeByUser(filterInvWarehouseRequest);
|
|
|
|
Map<String, Object> res = new WeakHashMap<>(2);
|
|
|
|
Map<String, Object> res = new WeakHashMap<>(2);
|
|
|
|
res.put("license", authLicense);
|
|
|
|
res.put("license", authLicense);
|
|
|
|
res.put("invList", invList);
|
|
|
|
res.put("invList", invList);
|
|
|
|