public async Task<int> UpdateStatusByWarehouseId(bool isValid, int warehouseId)
        {
            using (var conn = GetDBConnection())
            {
                string sqlText = $@"UPDATE warehouse 
                                  SET 
                                  IsValid=@IsValid
                                  WHERE 
                                  WarehouseId=@WarehouseId ";
                return await conn.ExecuteAsync(sqlText, new { IsValid = isValid, WarehouseId = warehouseId });
            }
        }

 

相关文章:

  • 2021-07-04
  • 2022-02-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-03
  • 2021-11-25
猜你喜欢
  • 2021-09-13
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
相关资源
相似解决方案