erp接口制单人指定1001A1100000002QG0WU
This commit is contained in:
@@ -2513,7 +2513,8 @@ namespace Tnb.ProductionMgr
|
||||
string userId = report.create_id ?? WmsWareHouseConst.AdministratorUserId;
|
||||
erpExtendIds.Add(userId);
|
||||
List<ErpExtendField> erpExtendFields = await _db.Queryable<ErpExtendField>().Where(x => erpExtendIds.Contains(x.table_id)).ToListAsync();
|
||||
string erpCreateId = erpExtendFields.Find(x => x.table_id == userId)?.user_id ?? WmsWareHouseConst.ERPUSERID;
|
||||
//string erpCreateId = erpExtendFields.Find(x => x.table_id == userId)?.user_id ?? WmsWareHouseConst.ERPUSERID;
|
||||
string erpCreateId = WmsWareHouseConst.ERPUSERID;
|
||||
ErpExtendField erpOrg = erpExtendFields.Find(x => x.table_id == (WmsWareHouseConst.AdministratorOrgId));
|
||||
string nowStr = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user