重现步骤

[11:02:50] [200] [http://test-trunk.zhcxkj.com/testcw.aspx][10.10.158.130][10.10.158.130/testcw.aspx]--Http_Referer[http://test-trunk.zhcxkj.com/testcw.aspx]--Message: 无法将 DBNull.Value 强制转换为类型“System.Int32”。请使用可空类型。--GetType(): InvalidCastException--Source: System.Data.DataSetExtensions--StackTrace: 在 System.Data.DataRowExtensions.UnboxT`1.ValueField(Object value)

在 System.Data.DataRowExtensions.Field[T](DataRow row, String columnName)
在 Biz.PlatformUtil.OrderMatchRules.AOrderMatchRules.<>c.<OrderSaveChange>b__104_3(DataRow ol)
在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 Biz.PlatformUtil.OrderMatchRules.AOrderMatchRules.OrderSaveChange()
在 Biz.PlatformUtil.OrderMatchRules.AOrderMatchRules.DoOrderMatchingRulesTask()
在 PandaBuy.ERP.Web.testcw.btnAmazonOrderMatchRules_Click(Object sender, EventArgs e)
在 System.Web.UI.WebControls.Button.OnClick(EventArgs e)
在 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
历史记录  
  1. 2022-09-29 11:11:08, 由 农基望 创建。
  2. 2022-09-29 11:15:43, 由 程伟 确认Bug。
    修改了 是否确认,旧值为 "0",新值为 "1"。
  3. 2022-09-29 11:16:10, 由 程伟 解决,方案为 第三方原因(外部系统) 。
    修改了 解决方案,旧值为 "",新值为 "external"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2022-09-29 11:15:44"。
    修改了 指派给 ,旧值为 "chengwei",新值为 "nongjiwang"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 解决者 ,旧值为 "",新值为 "chengwei"。

    问题原因:程序为兼容空数据

    优化方案:兼容空数据

  4. 2022-09-29 14:05:47, 由 农基望 指派给 林鸿贵。
    修改了 指派给,旧值为 "nongjiwang",新值为 "linhonggui"。
  5. 2022-09-29 17:54:42, 由 林鸿贵 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "linhonggui",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "linhonggui"。
    修改了 关闭日期,旧值为 "",新值为 "2022-09-29 17:54:42"。
    已优化
所属项目 技术中心-需求池
所属模块 /
所属计划
所属迭代 技术研发中心 9月分支版本(2022年)
Bug类型 第三方原因(外部系统)
严重程度 提示
优先级 P2
Bug状态 已关闭
业务部门
影响功能
开发责任人
测试责任人
解决时效 0
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2022-09-29 17:54:42
截止日期 0000-00-00
上线时间
上线时效
操作系统
浏览器
关键词
抄送给
由谁创建 农基望 于 2022-09-29 11:11:08
影响环境 622
由谁解决 程伟 于 2022-09-29 11:15:44
解决版本 主干
解决方案 第三方原因(外部系统)
由谁关闭 林鸿贵 于 2022-09-29 17:54:42
最后修改 林鸿贵 于 2022-09-29 17:54:42
相关Bug