This commit is contained in:
jl
2024-12-31 17:16:22 +08:00
parent a3c29b5bf8
commit c82154ff51
3 changed files with 43 additions and 19 deletions

View File

@ -2476,7 +2476,7 @@ namespace Epost.DAL
{
try
{
string sql = string.Format(" update orders set partcode = '{0}' where sku='{1}'",
string sql = string.Format(" update orders set partcode = '{0}' where sku='{1}' and (partcode is null or partcode='')",
smallloc,
sku);