将函数合并到转换中

refactorgram

function base(aReading) {...}
function taxableCharge(aReading) {...}

image/svg+xml

function enrichReading(argReading) {
  const aReading = _.cloneDeep(argReading);
  aReading.baseCharge = base(aReading);
  aReading.taxableCharge = taxableCharge(aReading);
  return aReading;
}