Package ru.bgcrm.dao.gsm
Class GsmDao
java.lang.Object
ru.bgcrm.dao.CommonDAO
ru.bgcrm.dao.gsm.GsmDao
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class ru.bgcrm.dao.CommonDAO
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T extends Id> -
Field Summary
Fields inherited from class ru.bgcrm.dao.CommonDAO
con, dateFormat_DDMMYYYY, dateFormat_DDMMYYYY_HHMM, SQL_AND, SQL_DELETE, SQL_DESC, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT, SQL_INSERT_IGNORE, SQL_LEFT_JOIN, SQL_LEFT_OUTER_JOIN, SQL_LIMIT, SQL_ON_DUP_KEY_UPDATE, SQL_OR, SQL_ORDER_BY, SQL_REPLACE, SQL_SELECT, SQL_SELECT_ALL_FROM, SQL_SELECT_COUNT_ROWS, SQL_SET, SQL_UPDATE, SQL_WHERE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateAddressFrom(int userId, WaybillAddress waybillAddress) generateAddressTo(int userId, WaybillAddress waybillAddress) getAddresses(int userId, Date date) getAddresses(int userId, List<Date> workerDays, int cityIdOfficeAddress) getDailyWaybillAddressesFromProcess(int userId, List<Date> workerDays) static GsmDao.OnecAuthentication@NotNull StringgetQueryCityTitleAndStreetTitle(WaybillAddress waybillAddress) getUserCarList(String name) Получение списка доступных водителю автомобилейgetWaybill(String number, String date) getWaybillAddressesFromProcess(int userId, List<Date> workerDays) getWaybillAddressesFromSEGroupQuartersWhichEqualsOfficeCityId(int userId, int officeCityId) getWaybillAddressesFromSEGroupQuartersWhichNotEqualsOfficeId(int userId, int officeCityId) ru.ufanet.onec.ws.uat.WebServicePortTypeMethods inherited from class ru.bgcrm.dao.CommonDAO
buildPlaceholders, deleteById, execute, execute, execute, executeBatch, executeInsert, executeUpdate, getById, getFoundRows, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getLikePatternEnd, getLikePatternStart, getLikePatternSub, getMySQLLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, update, updateColumn, updateIds, updateIds
-
Constructor Details
-
GsmDao
- Throws:
BGException
-
-
Method Details
-
getWebServicePortType
public ru.ufanet.onec.ws.uat.WebServicePortType getWebServicePortType() -
getRoutes
public Map<String,List<Route>> getRoutes(Date dateFrom, Date dateTo, int userId) throws BGException, SQLException - Throws:
BGExceptionSQLException
-
getAddresses
- Throws:
BGException
-
getAddresses
public List<DailyWaybillAddress> getAddresses(int userId, List<Date> workerDays, int cityIdOfficeAddress) throws BGException - Throws:
BGException
-
getDailyWaybillAddressesFromProcess
public List<DailyWaybillAddress> getDailyWaybillAddressesFromProcess(int userId, List<Date> workerDays) throws BGException - Throws:
BGException
-
getWaybillAddressesFromProcess
public List<Pair<Date,WaybillAddress>> getWaybillAddressesFromProcess(int userId, List<Date> workerDays) throws BGException - Throws:
BGException
-
getWaybillAddressesFromSEGroupQuartersWhichNotEqualsOfficeId
public List<WaybillAddress> getWaybillAddressesFromSEGroupQuartersWhichNotEqualsOfficeId(int userId, int officeCityId) throws BGException - Throws:
BGException
-
getWaybillAddressesFromSEGroupQuartersWhichEqualsOfficeCityId
public List<WaybillAddress> getWaybillAddressesFromSEGroupQuartersWhichEqualsOfficeCityId(int userId, int officeCityId) throws BGException - Throws:
BGException
-
generateAddressFrom
- Throws:
BGException
-
generateAddressTo
- Throws:
BGException
-
getQueryCityTitleAndStreetTitle
-
getWaybill
- Throws:
BGMessageException
-
getUserCarList
Получение списка доступных водителю автомобилей- Parameters:
name- ФИО водителя
-
getOnecAuthentication
- Throws:
BGException
-