Methods
(async, static) auctionOperation(req) → {object}
- Source:
Do a Auction Action
Parameters:
Name | Type | Description |
---|---|---|
req |
object | request data |
Returns:
sql response
- Type
- object
(async, static) auctionProjectUpdateexist(req) → {object}
- Source:
Update the Projects with the acution ID
Parameters:
Name | Type | Description |
---|---|---|
req |
object | request data |
Returns:
sql response
- Type
- object
(async, static) auctionStatusUpdate(status, auctID) → {object}
- Source:
Update Auction with the status
Parameters:
Name | Type | Description |
---|---|---|
status |
number | Status which has to be updated |
auctID |
number | auction ID for which the lots is to be updated |
Returns:
sql response
- Type
- object
(async, static) emptyOutAuctionID(auctID) → {object}
- Source:
empty the projects which has the auction ID
Parameters:
Name | Type | Description |
---|---|---|
auctID |
object | auction ID to which the data has to be cleared |
Returns:
sql response
- Type
- object
(async, static) fetchActiveAuctions() → {object}
- Source:
fetch Active Auctions
Returns:
sql response
- Type
- object
(async, static) fetchAuctionbyID(pid) → {object}
- Source:
fetch one Auction By ID
Parameters:
Name | Type | Description |
---|---|---|
pid |
object | auction ID to which the data is to be fetched |
Returns:
sql response
- Type
- object
(async, static) fetchAuctionsAll(req, count) → {object}
- Source:
fetch all auctions
Parameters:
Name | Type | Description |
---|---|---|
req |
object | request data |
count |
string | count for the pagination |
Returns:
sql response
- Type
- object
(async, static) getAllAssociatedAuctions(pid) → {object}
- Source:
Get All associated auctions
Parameters:
Name | Type | Description |
---|---|---|
pid |
number | auction ID for which the lots is to be updated |
Returns:
sql response
- Type
- object
(async, static) getAllSubLots(id) → {object}
- Source:
Get All Sub lots for the auction
Parameters:
Name | Type | Description |
---|---|---|
id |
number | auction ID for which the lots is to be fetched |
Returns:
sql response
- Type
- object
(async, static) updateAllCloseDates(dateAdded, dateClosed, id) → {object}
- Source:
Update the close dates for the projects
Parameters:
Name | Type | Description |
---|---|---|
dateAdded |
string | date added field which has to be updated |
dateClosed |
string | close date which has to be updated for the projects |
id |
number | auction ID for which the lots is to be updated |
Returns:
sql response
- Type
- object
(async, static) updatelofdetails(id, date) → {object}
- Source:
Update the lot information for the projects
Parameters:
Name | Type | Description |
---|---|---|
id |
number | auction ID for which the lots is to be updated |
date |
number | close date which has to be updated for the projects |
Returns:
sql response
- Type
- object