From bb4dc0fab56e542e784311f95ae6d7e7dd785a8f Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期二, 29 十月 2024 17:10:33 +0800
Subject: [PATCH] update

---
 jrj/project/printview/Template.Print.ViewEx.cpp |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/jrj/project/printview/Template.Print.ViewEx.cpp b/jrj/project/printview/Template.Print.ViewEx.cpp
index 2c1e1ab..05da9f3 100644
--- a/jrj/project/printview/Template.Print.ViewEx.cpp
+++ b/jrj/project/printview/Template.Print.ViewEx.cpp
@@ -419,7 +419,6 @@
 	
 	xstring DownLoadPaperPic(xstring guid)
 	{
-		
 		xstring path = xutil::GetModuleTmpPath();
 		xstring ext = L"jpg";
 		xstring filename = guid + L"." + ext;
@@ -510,15 +509,15 @@
 			xstring skuno = tail.mid(spos,pos1 - spos ).trim();
 			xstring CustomerID=L"";
 			xstring CustomerItemNo=L"";
-			if(skuno.find(L",L")>0)
+			if(skuno.find(L",")>0)
 			{
-				CustomerID = skuno.left(skuno.find(L",L")).trim();
-				skuno = skuno.mid(skuno.find(L",L")+1,256).trim();
+				CustomerID = skuno.left(skuno.find(L",")).trim();
+				skuno = skuno.mid(skuno.find(L",")+1,256).trim();
 			}
-			if(skuno.find(L",L")>0)
+			if(skuno.find(L",")>0)
 			{
-				CustomerItemNo = skuno.left(skuno.find(L",L")).trim();
-				skuno = skuno.mid(skuno.find(L",L")+1,256).trim();
+				CustomerItemNo = skuno.left(skuno.find(L",")).trim();
+				skuno = skuno.mid(skuno.find(L",")+1,256).trim();
 			}
 			xstring src =  DownLoadSKUNoPic(skuno,CustomerID,CustomerItemNo);
 			head += tail.left(pos) + L"src=\"" + src;

--
Gitblit v1.9.3