增加
This commit is contained in:
@@ -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()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user