Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-webapp-plug
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
base_platform_enterprise
gic-webapp-plug
Commits
7f002278
Commit
7f002278
authored
Aug 12, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回写修改
parent
94e5ffdf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
UploadImgController.java
...java/com/gic/plug/web/controller/UploadImgController.java
+1
-1
StoreCustomBackImpl.java
...a/com/gic/plug/web/strategy/impl/StoreCustomBackImpl.java
+7
-4
StoreSelectBackImpl.java
...a/com/gic/plug/web/strategy/impl/StoreSelectBackImpl.java
+7
-4
No files found.
src/main/java/com/gic/plug/web/controller/UploadImgController.java
View file @
7f002278
...
...
@@ -149,7 +149,7 @@ public class UploadImgController {
os
.
close
();
ins
.
close
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
(
);
logger
.
warn
(
"e"
,
e
);
}
}
...
...
src/main/java/com/gic/plug/web/strategy/impl/StoreCustomBackImpl.java
View file @
7f002278
...
...
@@ -16,6 +16,8 @@ import com.gic.store.service.StoreFieldSelectApiService;
import
com.gic.store.utils.StoreRedisKeyUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
...
...
@@ -31,6 +33,7 @@ import java.util.Map;
@Component
public
class
StoreCustomBackImpl
implements
ScreenBackStrategy
{
private
static
Logger
log
=
LogManager
.
getLogger
(
StoreCustomBackImpl
.
class
);
@Autowired
private
StoreFieldApiService
storeFieldApiService
;
@Autowired
...
...
@@ -85,15 +88,15 @@ public class StoreCustomBackImpl implements ScreenBackStrategy {
view
.
add
(
message
);
return
screenBack
;
}
catch
(
IllegalAccessException
e
)
{
e
.
printStackTrace
(
);
log
.
warn
(
"e"
,
e
);
}
catch
(
InvocationTargetException
e
)
{
e
.
printStackTrace
(
);
log
.
warn
(
"e"
,
e
);
}
}
catch
(
ClassNotFoundException
e
)
{
e
.
printStackTrace
(
);
log
.
warn
(
"e"
,
e
);
}
}
catch
(
NoSuchMethodException
e
)
{
e
.
printStackTrace
(
);
log
.
warn
(
"e"
,
e
);
}
}
return
null
;
...
...
src/main/java/com/gic/plug/web/strategy/impl/StoreSelectBackImpl.java
View file @
7f002278
...
...
@@ -11,6 +11,8 @@ import com.gic.store.constant.StoreStatusEnum;
import
com.gic.store.dto.StoreDictDTO
;
import
com.gic.store.service.StoreDictApiService
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
...
...
@@ -24,6 +26,7 @@ import java.util.Map;
@Component
public
class
StoreSelectBackImpl
implements
ScreenBackStrategy
{
private
static
Logger
log
=
LogManager
.
getLogger
(
StoreSelectBackImpl
.
class
);
@Autowired
private
StoreDictApiService
storeDictApiService
;
private
Map
<
String
,
String
>
methodMap
=
new
HashMap
<>();
...
...
@@ -48,15 +51,15 @@ public class StoreSelectBackImpl implements ScreenBackStrategy {
Object
invoke
=
method
.
invoke
(
this
,
compute
,
value
,
enterpriseId
);
return
(
ScreenBack
)
invoke
;
}
catch
(
IllegalAccessException
e
)
{
e
.
printStackTrace
(
);
log
.
warn
(
"e"
,
e
);
}
catch
(
InvocationTargetException
e
)
{
e
.
printStackTrace
(
);
log
.
warn
(
"e"
,
e
);
}
}
catch
(
ClassNotFoundException
e
)
{
e
.
printStackTrace
(
);
log
.
warn
(
"e"
,
e
);
}
}
catch
(
NoSuchMethodException
e
)
{
e
.
printStackTrace
(
);
log
.
warn
(
"e"
,
e
);
}
}
return
null
;
...
...
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