permit schema update
This commit is contained in:
@@ -117,6 +117,14 @@ export async function listPermits(params: PageQueryParams, tenantId: string) {
|
||||
parcelInfo: 1,
|
||||
paymentData: 1,
|
||||
inspections: 1,
|
||||
newProcessingStatus: 1,
|
||||
newPayment: 1,
|
||||
newConditions: 1,
|
||||
professionals: 1,
|
||||
recordid: 1,
|
||||
relatedRecords: 1,
|
||||
accelaStatus: 1,
|
||||
createdAt: 1,
|
||||
county: {
|
||||
$let: {
|
||||
vars: { county: { $arrayElemAt: ["$countyRec", 0] } },
|
||||
@@ -319,6 +327,14 @@ export async function searchPermit(params: PageQueryParams, tenantId: string) {
|
||||
parcelInfo: 1,
|
||||
paymentData: 1,
|
||||
inspections: 1,
|
||||
newProcessingStatus: 1,
|
||||
newPayment: 1,
|
||||
newConditions: 1,
|
||||
professionals: 1,
|
||||
recordid: 1,
|
||||
relatedRecords: 1,
|
||||
accelaStatus: 1,
|
||||
createdAt: 1,
|
||||
county: {
|
||||
$let: {
|
||||
vars: { county: { $arrayElemAt: ["$countyRec", 0] } },
|
||||
|
||||
Reference in New Issue
Block a user