Compare commits

..

No commits in common. "41784dc32879be70a60e05b16df4f5530d510ba2" and "b6f019de22ae17101864573a3f7a7515a21e56c5" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ public class EntCostSplitBillPlugin extends AbstractBillPlugIn {
// 存在成本中心时按照成本中心+成本项+二级分类去重
uniqueKey = "COSTCENTER_" + costCompanyName + "_" + (costType != null ? costType.toString() : "") + "_" + (secType != null ? secType.toString() : "");
} else {
// 如果既没有工序也没有成本中心按照成本项+二级分类去重
uniqueKey = "NONE_" + (costType != null ? costType.toString() : "") + "_" + (secType != null ? secType.toString() : "");
// 如果既没有工序也没有成本中心不进行汇总使用唯一ID
uniqueKey = "NONE_" + rptAssistBalanceGx.getString("id");
}
DynamicObject existingEntry = summaryMap.get(uniqueKey);