This commit is contained in:
admin
2021-01-18 15:07:20 +08:00
parent 7eede6f877
commit 073706bf0a
18 changed files with 182 additions and 38 deletions

View File

@@ -37,6 +37,9 @@ namespace U8AppMain.Voucher
public bool Add(Vouch vouch)
{
string accid = NX.ERP.U8.U8LoginContext.Instance.cAcc_id;
var conn = new SqlConnection(this._connStr);
conn.Open();
var trans = conn.BeginTransaction();
@@ -45,7 +48,7 @@ namespace U8AppMain.Voucher
//获取ID
var idEnity = new IdEnity
{
cAcc_Id = "003",
cAcc_Id = accid,//TODO
cVouchType = "mv",
iAmount = vouch.Vouchs.Count()
};