瀏覽代碼

日付申请 数量字段类型从int改为decimal

jiangjc 1 年之前
父節點
當前提交
4ce3da0179

+ 1 - 1
OASystem/OASystem.Domain/Dtos/Financial/DailyFeePaymentDto.cs

@@ -135,7 +135,7 @@ namespace OASystem.Domain.Dtos.Financial
         /// <summary>
         /// 数量
         /// </summary>
-        public int Quantity { get; set; }
+        public decimal Quantity { get; set; }
 
         /// <summary>
         /// 单价

+ 2 - 2
OASystem/OASystem.Domain/Entities/Financial/Fin_DailyFeePaymentContent.cs

@@ -27,8 +27,8 @@ namespace OASystem.Domain.Entities.Financial
         /// <summary>
         /// 数量
         /// </summary>
-        [SugarColumn(IsNullable = true, ColumnDataType = "int")]
-        public int Quantity { get; set; }
+        [SugarColumn(IsNullable = true, ColumnDataType = "decimal(9,2)")]
+        public decimal Quantity { get; set; }
 
         /// <summary>
         /// 单价