core/WCSCore.cs
@@ -126,13 +126,13 @@
                    return;
                }
                //if (db.Updateable<TN_Loc_Container>()
                //    .SetColumns(d => d.S_IMG_URL == filepath)
                //    .Where(d => d.S_CNTR_CODE == model.S_CNTR_CODE).ExecuteCommand() <= 0) {
                if (db.Updateable<TN_Loc_Container>()
                    .SetColumns(d => d.S_IMG_URL == filepath)
                    .Where(d => d.S_CNTR_CODE == model.S_CNTR_CODE).ExecuteCommand() <= 0) {
                //    LogHelper.Info($"图片URL '{filepath}' 写入数据库失败");
                //    return;
                //}
                    LogHelper.Info($"图片URL '{filepath}' 写入数据库失败");
                    return;
                }
            }
            catch (Exception ex) {
                LogHelper.Info($"发生了错误:{ex.Message}");