核算单元及组别BUG修复

parent 7a76f273
...@@ -799,6 +799,7 @@ public cof_accounting AccountingInsert(cof_accounting request) ...@@ -799,6 +799,7 @@ public cof_accounting AccountingInsert(cof_accounting request)
var entity = new cof_accounting var entity = new cof_accounting
{ {
AllotId = request.AllotId, AllotId = request.AllotId,
Code = request.Code,
UnitType = request.UnitType, UnitType = request.UnitType,
AccountingUnit = request.AccountingUnit AccountingUnit = request.AccountingUnit
}; };
...@@ -819,6 +820,7 @@ public cof_accounting AccountingUpdate(cof_accounting request) ...@@ -819,6 +820,7 @@ public cof_accounting AccountingUpdate(cof_accounting request)
throw new PerformanceException($"ID不存在 :{request.Id}"); throw new PerformanceException($"ID不存在 :{request.Id}");
entity.AllotId = request.AllotId; entity.AllotId = request.AllotId;
entity.Code = request.Code;
entity.UnitType = request.UnitType; entity.UnitType = request.UnitType;
entity.AccountingUnit = request.AccountingUnit; entity.AccountingUnit = request.AccountingUnit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment