|
@@ -792,7 +792,7 @@ rationItemDAO.prototype.batchUpdateSectionIdFromExcel = async function(data) {
|
|
|
if (sectionId <= 0 || rationId <= 0) {
|
|
|
continue;
|
|
|
}
|
|
|
- bulkOprs.push({updateOne: {filter: {ID: rationId}, update: {$set: {sectionId: sectionId, feeType: feeType, name: name}}}});
|
|
|
+ bulkOprs.push({updateOne: {filter: {ID: rationId}, update: {$set: {sectionId: sectionId, feeType: feeType, name: name, caption: name}}}});
|
|
|
}
|
|
|
if(bulkOprs.length <= 0){
|
|
|
throw '无有效数据(树ID、定额ID不为空、且为数值)';
|