From 9f18954857e9c4c691fc2c8e83d7728abdc18f74 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期二, 08 七月 2025 17:54:22 +0800 Subject: [PATCH] 添加后台图片前台调用的图床接口备用,修复测试出现的问题 --- core/WCSCore.cs | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/core/WCSCore.cs b/core/WCSCore.cs index 7464964..ea81f71 100644 --- a/core/WCSCore.cs +++ b/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}"); @@ -206,6 +206,8 @@ return; } + //row -= 100; // 118-1 + // 鍙綋涔嬪墠鎸囧畾缁堢偣璐ф灦鍚庯紝鎵嶅皾璇曡绠楃粓鐐硅揣浣� if (cgDetail.F_QTY > 2000) { // 閲嶉噺瓒呰繃 2t -- Gitblit v1.9.1