Forráskód Böngészése

简化 CPService.cs 方法并更新 cpBillInvnow.cs 注释

在 `CPService.cs` 文件中,删除了对 `_billdtrepository` 的注释代码,简化了 `GetSysConfigByCode` 方法的实现,直接返回 `_sysconfigrepository.GetSingle` 的结果。

在 `cpBillInvnow.cs` 文件中,多个属性的注释被删除,并且相应的属性名称被替换为中文注释,包括 `TolWQty`、`NetWQty`、`TareWQty` 和 `CaQty`。
林豪 左 3 hónapja
szülő
commit
b1132a4441

+ 0 - 1
wms.service/Service/CPService.cs

@@ -127,7 +127,6 @@ namespace wms.service.Service
         /// <returns></returns>
         public cpSysConfig GetSysConfigByCode(string code)
         {
-            //Repository<dynamic> _billdtrepository = new Repository<dynamic>();
             return _sysconfigrepository.GetSingle(p => p.Code == code);
         }
 

+ 4 - 4
wms.sqlsugar/model/cp/cpBillInvnow.cs

@@ -196,19 +196,19 @@ namespace wms.sqlsugar.model.cp
         public string MatName { get; set; }
 
         /// <summary> 
-        /// TolWQty
+        /// 总重
         /// </summary> 
         [SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 6, IsNullable = false)]
         public decimal TolWQty { get; set; }
 
         /// <summary> 
-        /// NetWQty
+        /// 净重
         /// </summary> 
         [SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 6, IsNullable = false)]
         public decimal NetWQty { get; set; }
 
         /// <summary> 
-        /// TareWQty
+        /// 皮重
         /// </summary> 
         [SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 6, IsNullable = false)]
         public decimal TareWQty { get; set; }
@@ -220,7 +220,7 @@ namespace wms.sqlsugar.model.cp
         public decimal LengthQty { get; set; }
 
         /// <summary> 
-        /// CaQty
+        /// 包材重量
         /// </summary> 
         [SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 6, IsNullable = false)]
         public decimal CaQty { get; set; }