|
@@ -663,7 +663,7 @@ function newPriceDataFromPGlj(np,unitPriceFileId){
|
|
|
async function getUnitPriceData(newProjectGLJList,gljCodes,unitPriceFileId){
|
|
|
let unitPriceMap = {};
|
|
|
let newUnitPriceList = [];
|
|
|
- let unitPriceList = await unitPriceModel.find({unit_price_file_id: unitPriceFileId,'code':{'$in':gljCodes}}).lean();
|
|
|
+ let unitPriceList = await unitPriceModel.find({unit_price_file_id: unitPriceFileId}).lean();
|
|
|
for(let u of unitPriceList){
|
|
|
unitPriceMap[getIndex(u)]=u;
|
|
|
}
|