修改考试一级培训

This commit is contained in:
2024-04-08 11:56:38 +08:00
parent 9235b5e078
commit e9d27e2d7b
8 changed files with 557 additions and 12 deletions
+1 -1
View File
@@ -620,7 +620,7 @@ namespace BLL
{
BLL.RedisHelper redis = new BLL.RedisHelper();
var getDataLists= redis.GetObjString<List<TestRecordItemItem>>(testRecordId); //先从redis取数据,不存在再从数据库取
if (getDataLists.Count==0)
if (getDataLists==null)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{