duheng
2024-05-13 204947203275d5190b1a816cb091f368aea79ac1
WaterPredict/IStation.ChEr.DAL.WaterPredict/BLL/WaterPredict.cs
@@ -139,9 +139,7 @@
            var ConnectionConfig = ConnectionFactory.MainConnection(DateTime.Now.Year);
            using (SqlSugarClient db = new SqlSugarClient(ConnectionConfig))
            {
                return db.Insertable(list).ExecuteReturnSnowflakeIdList().Count() > 0;
                // db.Insertable(entities).ExecuteCommand();
                //return true;
                return db.Insertable(entities).ExecuteReturnSnowflakeIdList().Count() > 0;
            }
        }