22 lines
480 B
C#
22 lines
480 B
C#
namespace YLErp.DBModels.Converts
|
|
{
|
|
public static class BuySellConvert
|
|
{
|
|
/// <summary>
|
|
/// 获取客户角度的买入卖出
|
|
/// </summary>
|
|
public static string GetClientBuySell(string BuySell)
|
|
{
|
|
if ("卖出".Equals(BuySell))
|
|
{
|
|
BuySell = "买入";
|
|
}
|
|
else
|
|
{
|
|
BuySell = "卖出";
|
|
}
|
|
return BuySell;
|
|
}
|
|
}
|
|
}
|