|
|
@ -180,6 +180,7 @@ exports.addBores = async (req, reply) => {
|
|
|
|
boresData = {
|
|
|
|
boresData = {
|
|
|
|
customerId:customerId,
|
|
|
|
customerId:customerId,
|
|
|
|
boreName: req.body.boreName,
|
|
|
|
boreName: req.body.boreName,
|
|
|
|
|
|
|
|
capacity: req.body.capacity,
|
|
|
|
typeofwater: req.body.typeofwater,
|
|
|
|
typeofwater: req.body.typeofwater,
|
|
|
|
description: req.body.description,
|
|
|
|
description: req.body.description,
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -199,7 +200,8 @@ exports.addBores = async (req, reply) => {
|
|
|
|
usertobeInserted = checkFormEncoding.bores;
|
|
|
|
usertobeInserted = checkFormEncoding.bores;
|
|
|
|
console.log("thsi true url string");
|
|
|
|
console.log("thsi true url string");
|
|
|
|
bores.customerId = usertobeInserted.customerId
|
|
|
|
bores.customerId = usertobeInserted.customerId
|
|
|
|
bores.boreName = usertobeInserted.boreName;
|
|
|
|
bores.boreName = usertobeInserted.boreName;
|
|
|
|
|
|
|
|
bores.capacity = usertobeInserted.capacity;
|
|
|
|
bores.typeofwater = usertobeInserted.typeofwater;
|
|
|
|
bores.typeofwater = usertobeInserted.typeofwater;
|
|
|
|
bores.description = usertobeInserted.description;
|
|
|
|
bores.description = usertobeInserted.description;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -278,6 +280,7 @@ exports.addGovtPIpeline = async (req, reply) => {
|
|
|
|
pipelineData = {
|
|
|
|
pipelineData = {
|
|
|
|
customerId:customerId,
|
|
|
|
customerId:customerId,
|
|
|
|
Name: req.body.Name,
|
|
|
|
Name: req.body.Name,
|
|
|
|
|
|
|
|
capacity: req.body.capacity,
|
|
|
|
typeofwater: req.body.typeofwater,
|
|
|
|
typeofwater: req.body.typeofwater,
|
|
|
|
description: req.body.description,
|
|
|
|
description: req.body.description,
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -297,7 +300,8 @@ exports.addGovtPIpeline = async (req, reply) => {
|
|
|
|
usertobeInserted = checkFormEncoding.pipe_line;
|
|
|
|
usertobeInserted = checkFormEncoding.pipe_line;
|
|
|
|
console.log("thsi true url string");
|
|
|
|
console.log("thsi true url string");
|
|
|
|
pipe_line.customerId = usertobeInserted.customerId
|
|
|
|
pipe_line.customerId = usertobeInserted.customerId
|
|
|
|
pipe_line.Name = usertobeInserted.Name;
|
|
|
|
pipe_line.Name = usertobeInserted.Name;
|
|
|
|
|
|
|
|
pipe_line.capacity = usertobeInserted.capacity;
|
|
|
|
pipe_line.typeofwater = usertobeInserted.typeofwater;
|
|
|
|
pipe_line.typeofwater = usertobeInserted.typeofwater;
|
|
|
|
pipe_line.description = usertobeInserted.description;
|
|
|
|
pipe_line.description = usertobeInserted.description;
|
|
|
|
}
|
|
|
|
}
|
|
|
|