Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-office-web-sit
Commits
eb6dae5f
Commit
eb6dae5f
authored
Jan 15, 2022
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【新增】数据清洗替换错误修复
parent
bbb18f7e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
64 deletions
+27
-64
sqlserver.sql
db/sqlserver.sql
+4
-0
TransferController.java
...io/office/modules/manage/transfer/TransferController.java
+23
-64
No files found.
db/sqlserver.sql
View file @
eb6dae5f
...
@@ -517,3 +517,6 @@ ALTER COLUMN Pic_file varchar(200);
...
@@ -517,3 +517,6 @@ ALTER COLUMN Pic_file varchar(200);
ALTER
TABLE
product
ALTER
TABLE
product
ALTER
COLUMN
graph
varchar
(
200
);
ALTER
COLUMN
graph
varchar
(
200
);
ALTER
TABLE
doc
ALTER
COLUMN
docfile
varchar
(
200
);
\ No newline at end of file
src/main/java/io/office/modules/manage/transfer/TransferController.java
View file @
eb6dae5f
...
@@ -8,7 +8,6 @@ import io.office.common.utils.R;
...
@@ -8,7 +8,6 @@ import io.office.common.utils.R;
import
io.office.modules.manage.entity.*
;
import
io.office.modules.manage.entity.*
;
import
io.office.modules.manage.service.*
;
import
io.office.modules.manage.service.*
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.MapUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
...
@@ -455,11 +454,11 @@ public class TransferController {
...
@@ -455,11 +454,11 @@ public class TransferController {
if
(
StringUtils
.
isNotBlank
(
newsEntity
.
getContent
()))
{
if
(
StringUtils
.
isNotBlank
(
newsEntity
.
getContent
()))
{
if
(
newsEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
newsEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
newsEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserFiles"
)
>
-
1
))
{
if
(
newsEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
newsEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
newsEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
newsEntityDB
.
setContent
(
newsEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
newsEntityDB
.
setContent
(
newsEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
}
}
if
(
newsEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
newsEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserImages"
)
>
-
1
)
&&
!(
newsEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
if
(
newsEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
newsEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserImages"
)
>
-
1
)
&&
!(
newsEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
newsEntityDB
.
setContent
(
newsEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
newsEntityDB
.
setContent
(
newsEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
}
}
...
@@ -614,11 +613,11 @@ public class TransferController {
...
@@ -614,11 +613,11 @@ public class TransferController {
if
(
StringUtils
.
isNotBlank
(
newtopicEntity
.
getContent
()))
{
if
(
StringUtils
.
isNotBlank
(
newtopicEntity
.
getContent
()))
{
if
(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserFiles"
)
>
-
1
))
{
if
(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
newtopicEntityDB
.
setContent
(
newtopicEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
newtopicEntityDB
.
setContent
(
newtopicEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
}
}
if
(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserImages"
)
>
-
1
)
&&
!(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
if
(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserImages"
)
>
-
1
)
&&
!(
newtopicEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
newtopicEntityDB
.
setContent
(
newtopicEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
newtopicEntityDB
.
setContent
(
newtopicEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
}
}
...
@@ -833,11 +832,11 @@ public class TransferController {
...
@@ -833,11 +832,11 @@ public class TransferController {
if
(
StringUtils
.
isNotBlank
(
announceEntity
.
getContent
()))
{
if
(
StringUtils
.
isNotBlank
(
announceEntity
.
getContent
()))
{
if
(
announceEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
announceEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
announceEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserFiles"
)
>
-
1
))
{
if
(
announceEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
announceEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
announceEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
announceEntityDB
.
setContent
(
announceEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
announceEntityDB
.
setContent
(
announceEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
}
}
if
(
announceEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
announceEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserImages"
)
>
-
1
)
&&
!(
announceEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
if
(
announceEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
announceEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserImages"
)
>
-
1
)
&&
!(
announceEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
announceEntityDB
.
setContent
(
announceEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
announceEntityDB
.
setContent
(
announceEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
}
}
...
@@ -1001,11 +1000,11 @@ public class TransferController {
...
@@ -1001,11 +1000,11 @@ public class TransferController {
if
(
StringUtils
.
isNotBlank
(
retailEntity
.
getContent
()))
{
if
(
StringUtils
.
isNotBlank
(
retailEntity
.
getContent
()))
{
if
(
retailEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
retailEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
retailEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserFiles"
)
>
-
1
))
{
if
(
retailEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
retailEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
retailEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
retailEntityDB
.
setContent
(
retailEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
retailEntityDB
.
setContent
(
retailEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
}
}
if
(
retailEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
retailEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserImages"
)
>
-
1
)
&&
!(
retailEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
if
(
retailEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
retailEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserImages"
)
>
-
1
)
&&
!(
retailEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
retailEntityDB
.
setContent
(
retailEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
retailEntityDB
.
setContent
(
retailEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
}
}
...
@@ -1162,11 +1161,11 @@ public class TransferController {
...
@@ -1162,11 +1161,11 @@ public class TransferController {
if
(
StringUtils
.
isNotBlank
(
policyEntity
.
getContent
()))
{
if
(
StringUtils
.
isNotBlank
(
policyEntity
.
getContent
()))
{
if
(
policyEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
policyEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
policyEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserFiles"
)
>
-
1
))
{
if
(
policyEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
policyEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
policyEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
policyEntityDB
.
setContent
(
policyEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
policyEntityDB
.
setContent
(
policyEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
}
}
if
(
policyEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
policyEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserImages"
)
>
-
1
)
&&
!(
policyEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
if
(
policyEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
policyEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserImages"
)
>
-
1
)
&&
!(
policyEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
policyEntityDB
.
setContent
(
policyEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
policyEntityDB
.
setContent
(
policyEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
}
}
...
@@ -1323,11 +1322,11 @@ public class TransferController {
...
@@ -1323,11 +1322,11 @@ public class TransferController {
if
(
StringUtils
.
isNotBlank
(
knowledgeinfoEntity
.
getContent
()))
{
if
(
StringUtils
.
isNotBlank
(
knowledgeinfoEntity
.
getContent
()))
{
if
(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserFiles"
)
>
-
1
))
{
if
(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
knowledgeinfoEntityDB
.
setContent
(
knowledgeinfoEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
knowledgeinfoEntityDB
.
setContent
(
knowledgeinfoEntity
.
getContent
().
replaceAll
(
"http://www.gs1cn.org"
,
domainListProperties
.
getDomain
()));
}
}
if
(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.
gs1cn.org
/UserImages"
)
>
-
1
)
&&
!(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
if
(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.
ancc.org.cn
/UserImages"
)
>
-
1
)
&&
!(
knowledgeinfoEntity
.
getContent
().
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
//官网的链接
//官网的链接
knowledgeinfoEntityDB
.
setContent
(
knowledgeinfoEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
knowledgeinfoEntityDB
.
setContent
(
knowledgeinfoEntity
.
getContent
().
replaceAll
(
"http://www.ancc.org.cn"
,
domainListProperties
.
getDomain
()));
}
}
...
@@ -1456,58 +1455,18 @@ public class TransferController {
...
@@ -1456,58 +1455,18 @@ public class TransferController {
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
String
str
=
"\n"
+
String
str
=
"<a href=\"http://www.gs1cn.org/News/msg?id=8344\">GS1澳大利亚与阿里巴巴集团签约 天猫澳大利亚进口商品今起可追溯"
;
"<STYLE type=text/css>\n"
+
"<!--\n"
+
".zi {\n"
+
"\tfont-family: \"宋体-18030\";\n"
+
"\tfont-size: 14px;\n"
+
"}\n"
+
"-->\n"
+
"</STYLE>\n"
+
"\n"
+
"<TABLE style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" borderColor=#cccccc width=760 align=center border=0>\n"
+
"<TBODY>\n"
+
"<TR>\n"
+
"<TD style=\"PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px\" vAlign=top bgColor=#f8f8f8>\n"
+
"<P align=justify><A href=\"/news/newsone.asp?id=1268\" target=_blank>电子商务中的ebXML<BR><IMG height=265 src=\"/UserImages/ebtou0.jpg\" width=350 border=1></A><BR></P></TD>\n"
+
"<TD style=\"PADDING-RIGHT: 10px; PADDING-LEFT: 15px; PADDING-BOTTOM: 10px; PADDING-TOP: 15px\" vAlign=top bgColor=#f8f8f8>\n"
+
"<P style=\"LINE-HEIGHT: 15pt\"> <A name=OLE_LINK1><B>ebXML</B></A>(Electronic Business using eXtensible Markup Language),是联合国贸易简化和电子商务中心(UN/CEFACT)及推进结构化信息标准组织(OASIS)于1999年11月成立的工作组。多年来,全球一百多个国家,两千多个组织的EDI、XML专家、企业、行业组织、软件服务商等约5000人参与了ebXML标准的制订工作。ebXML的远景是提供“一套国际上一致认可的、由通用的XML语法和结构化文件组成的技术规范,使电子商务简单易操作并且无所不在、最大限度的使用XML、便于跨行业的B2B、B2C商务交易”,促进全球贸易。<BR> ebXML的目标是:构建一个以开放的XML标准为基础的电子商务基础架构,为全球统一的电子交易市场提供全球透明的、安全的、一致的电子数据交换环境,为所有企业进入电子商务的道路扫清障碍,简化贸易程序 ……<FONT color=#0000cc><SPAN style=\"PADDING-LEFT: 40px\">[<A href=\"/news/newsone.asp?id=1296\">详细内容</A>] [<A href=\"/news/comment.asp?id=1296&title=ebXML全球电子商务标准概述\">发表评论</A>]<BR></SPAN></FONT><BR><STRONG>[关键词]:</STRONG> <FONT color=#000000><A href=\"/news/newsone.asp?id=1195\" target=_blank>注册</A> </FONT><FONT color=#000000><A href=\"/news/newsone.asp?id=1197\" target=_blank>合作协议配置文件 (CPP)</A> </FONT><FONT color=#000000> </FONT><FONT color=#000000><A href=\"/news/newsone.asp?id=1201\" target=_blank>合作协议协定(CPA)</A></FONT></P></TD></TR></TBODY></TABLE>\n"
+
"<TABLE width=765 align=center border=0>\n"
+
"<TBODY>\n"
+
"<TR>\n"
+
"<TD style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" borderColor=#6c8f99 background=/UserImages/feature032502.gif colSpan=4 height=24><FONT color=#ffffff> <IMG height=13 src=\"/UserImages/dian.gif\" width=13 align=absMiddle> </FONT><SPAN class=zi><FONT color=#ffffff> ebXML面面观</FONT></SPAN> </TD></TR>\n"
+
"<TR>\n"
+
"<TD style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" borderColor=#6c8f99>\n"
+
"<DIV align=center><IMG height=123 src=\"/UserImages/jianmo0.jpg\" width=185><BR><BR><A href=\"/news/newsone.asp?id=1632\" target=_blank>ebXML推荐的建模方法</A></DIV></TD>\n"
+
"<TD style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" borderColor=#6c8f99>\n"
+
"<DIV align=center><IMG height=120 src=\"/UserImages/business.jpg\" width=186><BR><BR><A href=\"/news/newsone.asp?id=1633\" target=_blank>ebXML商务运作图</A> </DIV></TD>\n"
+
"<TD style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" borderColor=#6c8f99>\n"
+
"<DIV align=center><IMG height=120 src=\"/UserImages/gongnengfuwu.jpg\" width=185><BR><BR><A href=\"/news/newsone.asp?id=1634\" target=_blank>ebXML 功能服务视图</A> </DIV></TD>\n"
+
"<TD style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" borderColor=#6c8f99>\n"
+
"<P align=center><IMG height=120 src=\"/UserImages/gongfu.jpg\" width=180> <BR><A href=\"/news/newsone.asp?id=1635\" target=_blank>功能服务视图: 发现和检索</A></P></TD></TR>\n"
+
"<TR>\n"
+
"<TD style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" borderColor=#6c8f99>\n"
+
"<DIV align=center><IMG height=120 src=\"/UserImages/yuanmo.jpg\" width=182><BR><BR><A href=\"/news/newsone.asp?id=1638\" target=_blank>ebXML元模型――语义子集</A> </DIV></TD>\n"
+
"<TD style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" borderColor=#6c8f99>\n"
+
"<DIV align=center><IMG height=120 src=\"/UserImages/tu110.jpg\" width=186><BR><BR><A href=\"/news/newsone.asp?id=1638\" target=_blank>ebXML 元模型</A> </DIV></TD>\n"
+
"<TD style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" borderColor=#6c8f99>\n"
+
"<DIV align=center><IMG height=120 src=\"/UserImages/zhuce.jpg\" width=181><BR><BR><A href=\"/news/newsone.asp?id=1640\" target=_blank>ebXML注册的整体架构</A> <BR></DIV></TD>\n"
+
"<TD style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" borderColor=#6c8f99>\n"
+
"<DIV align=center><IMG height=120 src=\"/UserImages/xiaoxi.jpg\" width=182><BR><BR><A href=\"/news/newsone.asp?id=1641\" target=_blank>ebXML消息结构</A> </DIV></TD></TR>\n"
+
"<TR>\n"
+
"<TD style=\"BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid\" vAlign=center borderColor=#6c8f99 background=/UserImages/feature032502.gif colSpan=4 height=24> </TD></TR></TBODY></TABLE><BR>"
;
if
(
str
.
indexOf
(
"src=\"/UserImages"
)
>
-
1
)
{
//官网的链接
str
=
str
.
replaceAll
(
"src=\"/UserImages"
,
"src=\"http://81.68.189.225:8080/UserImages"
);
}
if
(
str
.
indexOf
(
"news/newsone.asp"
)
>
-
1
)
{
str
=
str
.
replaceAll
(
"news/newsone.asp"
,
"News/msg"
);
}
if
(
str
.
indexOf
(
"http://www.gs1cn.org"
)
>
-
1
&&
!(
str
.
indexOf
(
"http://www.gs1cn.org/UserImages"
)
>
-
1
)
&&
!(
str
.
indexOf
(
"http://www.gs1cn.org/UserFiles"
)
>
-
1
))
{
//官网的链接
str
=
str
.
replaceAll
(
"http://www.gs1cn.org"
,
"http://192.168.0.77"
);
}
if
(
str
.
indexOf
(
"http://www.ancc.org.cn"
)
>
-
1
&&
!(
str
.
indexOf
(
"http://www.ancc.org.cn/UserImages"
)
>
-
1
)
&&
!(
str
.
indexOf
(
"http://www.ancc.org.cn/UserFiles"
)
>
-
1
))
{
//官网的链接
str
=
str
.
replaceAll
(
"http://www.gs1cn.org"
,
"http://192.168.0.77"
);
}
System
.
out
.
println
(
str
);
System
.
out
.
println
(
str
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment