Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center
Commits
676e7196
Commit
676e7196
authored
Feb 22, 2021
by
罗承锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改异常输出
parent
475ea077
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
common/src/main/java/com/winsun/outSideSystem/IntelligenceSendOrder.java
+6
-6
No files found.
common/src/main/java/com/winsun/outSideSystem/IntelligenceSendOrder.java
View file @
676e7196
...
...
@@ -75,7 +75,6 @@ public class IntelligenceSendOrder {
List
<
Map
<
String
,
Object
>>
list1
=
new
ArrayList
<>();
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyyMMddHHmmss"
);
String
currentTimeStr
=
""
;
ORDERSEQ
=
order
.
get
(
"kd_order_id"
).
toString
();
currentTimeStr
=
simpleDateFormat
.
format
(
new
Date
());
Wrapper
<
OrderView
>
orderViewWrapper
=
new
EntityWrapper
<>();
...
...
@@ -84,7 +83,6 @@ public class IntelligenceSendOrder {
if
(
orderViewMaps
!=
null
&&
orderViewMaps
.
size
()
>
0
)
{
orderMap
=
orderViewMaps
.
get
(
0
);
}
if
(
orderMap
==
null
)
{
log
.
info
(
"错误记录:"
+
JSONObject
.
toJSONString
(
order
));
log
.
info
(
"订单号:"
+
ORDERSEQ
+
",在order_view表中无记录,无法进行智能平台下单"
);
...
...
@@ -224,7 +222,8 @@ public class IntelligenceSendOrder {
log
.
info
(
"重复订单"
);
}
}
catch
(
Exception
e
){
e
.
getMessage
();
log
.
info
(
"单宽下单失败"
);
e
.
printStackTrace
();
}
}
...
...
@@ -254,6 +253,7 @@ public class IntelligenceSendOrder {
}
}
catch
(
Exception
e
)
{
log
.
info
(
e
.
toString
());
e
.
printStackTrace
();
}
}
...
...
@@ -700,7 +700,7 @@ public class IntelligenceSendOrder {
log
.
error
(
"查询单宽带(预付费、移动、融合、续约、增值)产品接口异常尝试20次失误。请检查接口"
);
}
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
"单宽带下单接口异常"
);
log
.
info
(
"单宽带下单接口异常"
);
e
.
printStackTrace
();
}
finally
{
httpPost
.
releaseConnection
();
...
...
@@ -765,7 +765,7 @@ public class IntelligenceSendOrder {
log
.
error
(
"查询单宽带(预付费、移动、融合、续约、增值)产品接口异常尝试20次失误。请检查接口"
);
}
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
"查询单宽带(预付费、移动、融合、续约、增值)产品接口异常"
);
log
.
info
(
"查询单宽带(预付费、移动、融合、续约、增值)产品接口异常"
);
e
.
printStackTrace
();
}
finally
{
httpPost
.
releaseConnection
();
...
...
@@ -1825,7 +1825,7 @@ public class IntelligenceSendOrder {
log
.
info
(
"宽叠移下单接口,返回信息:"
+
httpResult
);
resultDataJson
=
net
.
sf
.
json
.
JSONObject
.
fromObject
(
httpResult
);
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
"宽叠移下单接口异常"
);
log
.
info
(
"宽叠移下单接口异常"
);
e
.
printStackTrace
();
}
finally
{
httpPost
.
releaseConnection
();
...
...
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