Sfoglia il codice sorgente

新增团组记录到 groupData 列表

在 `GoodsRepository.cs` 文件中,向 `groupData` 列表中插入了一条新的记录,记录的 `id` 为 `-3`,`groupName` 为 `"全部团组"`。
LEIYI 1 settimana fa
parent
commit
2272b28e39

+ 1 - 0
OASystem/OASystem.Infrastructure/Repositories/PersonnelModule/GoodsRepository.cs

@@ -74,6 +74,7 @@ namespace OASystem.Infrastructure.Repositories.PersonnelModule
             groupData.Insert(0, new { id = 0, groupName = "其他物资(公司内部物资)" });
             groupData.Insert(0, new { id = -1, groupName = "拜访客户所使用的物资" });
             groupData.Insert(0, new { id = -2, groupName = "库存调整" });
+            groupData.Insert(0, new { id = -3, groupName = "全部团组" });
 
             var userData = await _sqlSugar.Queryable<Sys_Users>()
                 .Where(x => x.IsDel == 0)