/// <summary> /// 增、删、改异步操作 /// </summary> /// <param name="connection">链接字符串</param> /// <param name="cmd">sql语句</param> /// <param name="param">参数</param> /// <param name="flag">true存储过程,false sql语句</param> /// <returns>int</returns> public Task <int> ExcuteNonQueryAsync(string connection, string cmd, DynamicParameters param, bool flag = false) { return(_sqlhelper.ExcuteNonQueryAsync(connection, cmd, param, flag)); }