|
|
|
@ -11,6 +11,7 @@ import com.glxp.api.entity.auth.*;
|
|
|
|
|
import com.glxp.api.entity.system.CompanyEntity;
|
|
|
|
|
import com.glxp.api.entity.system.SysPdaKeyEntity;
|
|
|
|
|
import com.glxp.api.exception.JsonException;
|
|
|
|
|
import com.glxp.api.req.auth.FilterInvWarehouseRequest;
|
|
|
|
|
import com.glxp.api.req.auth.LoginRequest;
|
|
|
|
|
import com.glxp.api.req.auth.PCLoginRequest;
|
|
|
|
|
import com.glxp.api.req.auth.UpdatePasswordRequest;
|
|
|
|
@ -305,6 +306,8 @@ public class LoginController extends BaseController {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.DATA_CHANGE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//------------------------------------------UDIMS接口-----------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 平台验证
|
|
|
|
|
*
|
|
|
|
@ -342,6 +345,12 @@ public class LoginController extends BaseController {
|
|
|
|
|
authLicenseDao.romveByCustomerId(authAdmin.getCustomerId() + "");
|
|
|
|
|
authLicenseDao.save(authLicense);
|
|
|
|
|
}
|
|
|
|
|
FilterInvWarehouseRequest filterInvWarehouseRequest = new FilterInvWarehouseRequest();
|
|
|
|
|
filterInvWarehouseRequest.setSpUse(true);
|
|
|
|
|
List<InvWarehouseEntity> invList = invWarehouseService.findInvListByUser(filterInvWarehouseRequest);
|
|
|
|
|
Map<String, Object> res = new WeakHashMap<>(2);
|
|
|
|
|
res.put("license", authLicense);
|
|
|
|
|
res.put("invList", invList);
|
|
|
|
|
return ResultVOUtils.success(authLicense);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|