| | |
| | | /// 默认值: (newid()) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "guid", IsPrimaryKey = true)] |
| | | public Guid Guid { get; set; } |
| | | public string Guid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ID(SEQ_INV_ID) |
| | |
| | | { |
| | | return new MesDepots |
| | | { |
| | | Guid = depots.Id, |
| | | DepotCode = depots.FNumber, |
| | | DepotName = depots.FName, |
| | | DepotId = Convert.ToDecimal(depots.Id), |
| | |
| | | { |
| | | return new SysUser |
| | | { |
| | | IsStatus = true, |
| | | Account = staff.FStaffNumber, |
| | | UserName = staff.FName, |
| | | Password = "E1ADC3949BA59ABBE56E057F2F883E", // 初始密码 |
| | |
| | | ? Convert.ToDecimal(dto.FNeedQty) |
| | | : null, /// 需领用量 |
| | | Cab007 = !string.IsNullOrEmpty(dto.FPickedQty) |
| | | ? Convert.ToInt32(dto.FPickedQty) |
| | | ? Convert.ToDecimal(dto.FPickedQty) |
| | | : null, /// 已领用量 |
| | | PositionNo = dto.FPositionNO, /// 位置号 |
| | | SupplyOrganization = dto.FChildSupplyOrgId, /// 供应组织 |
| | |
| | | "AppSettings": { |
| | | "TestErpUrl": "http://192.168.0.208:8066/WebService1.asmx/MesToErpinfoTest", |
| | | "ProductionErpUrl": "http://192.168.0.208:8066/WebService1.asmx/MesToErpinfoTest", |
| | | "DataBaseConn": "Data Source=192.168.1.146;Initial Catalog=GS_MES;User ID=sa;Password =qixi123;Encrypt=True;TrustServerCertificate=True;" |
| | | "DataBaseConn": "Data Source=192.168.1.146;Initial Catalog=GS_MES;User ID=mesUser;Password =mesUser123;Encrypt=True;TrustServerCertificate=True;" |
| | | } |
| | | } |