From fbfbc83d25477cf191e327e034ed996f0a2239d0 Mon Sep 17 00:00:00 2001 From: duyongjia <adu_555@163.com> Date: 星期四, 19 十二月 2024 18:53:32 +0800 Subject: [PATCH] 上游系统对接提交 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Core/Utilities/EntityProperties.cs | 35 ++++++++++++++++++----------------- 1 files changed, 18 insertions(+), 17 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/Utilities/EntityProperties.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/Utilities/EntityProperties.cs" index c351b8b..4ad4570 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/Utilities/EntityProperties.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/Utilities/EntityProperties.cs" @@ -184,23 +184,24 @@ continue; //涓嶅湪缂栬緫涓殑鍒楋紝鏄惁涔熻蹇呭~ - if (!dic.ContainsKey(property.Name.FirstLetterToLower()) /*&& !dic.ContainsKey(property.Name.FirstLetterToUpper())*/) - { - if (!sugarColumn.IsNullable) - { - if (sugarColumn.DefaultValue == null) - return sugarColumn.ColumnDescription + "涓哄繀椤绘彁浜ら」"; - continue; - } - continue; - } - if(dic[property.Name.FirstLetterToLower()] != null) - { - string str = dic[property.Name.FirstLetterToLower()].ToString(); - //灏嗘墍鏈夌┖鍊艰缃负null - if (str == string.Empty) - dic[property.Name.FirstLetterToLower()] = null; - } + //if (!dic.ContainsKey(property.Name.FirstLetterToLower()) /*&& !dic.ContainsKey(property.Name.FirstLetterToUpper())*/) + //{ + // if (!sugarColumn.IsNullable) + // { + // if (sugarColumn.DefaultValue == null) + // return sugarColumn.ColumnDescription + "涓哄繀椤绘彁浜ら」"; + // continue; + // } + // continue; + //} + //if(dic.ContainsKey(property.Name.FirstLetterToUpper())) + //if (dic[property.Name.FirstLetterToLower()] != null) + //{ + // string str = dic[property.Name.FirstLetterToLower()].ToString(); + // //灏嗘墍鏈夌┖鍊艰缃负null + // if (str == string.Empty) + // dic[property.Name.FirstLetterToLower()] = null; + //} } return string.Empty; -- Gitblit v1.9.3