Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
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
鲁鑫
topsun-bpm
Commits
d9cc4eb1
Commit
d9cc4eb1
authored
Dec 28, 2023
by
wanghang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导入数据增加编码填写
parent
de0e8818
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
GlobalCode.java
...in/java/com/huigou/topsun/base/dictionary/GlobalCode.java
+17
-0
GlobalCodeController.java
...psun/base/dictionary/controller/GlobalCodeController.java
+19
-0
No files found.
topsun/src/main/java/com/huigou/topsun/base/dictionary/GlobalCode.java
0 → 100644
View file @
d9cc4eb1
package
com
.
huigou
.
topsun
.
base
.
dictionary
;
import
java.util.concurrent.atomic.AtomicInteger
;
import
java.util.concurrent.atomic.AtomicReference
;
public
class
GlobalCode
{
private
static
AtomicReference
<
String
>
str
=
new
AtomicReference
<>(
""
);
public
static
void
set
(
String
newValue
)
{
str
.
set
(
newValue
);
}
public
static
String
get
()
{
return
str
.
get
();
}
}
topsun/src/main/java/com/huigou/topsun/base/dictionary/controller/GlobalCodeController.java
0 → 100644
View file @
d9cc4eb1
package
com
.
huigou
.
topsun
.
base
.
dictionary
.
controller
;
import
com.huigou.topsun.base.dictionary.GlobalCode
;
import
com.huigou.uasp.annotation.ControllerMapping
;
import
com.huigou.uasp.client.CommonController
;
import
com.huigou.util.SDO
;
import
org.springframework.stereotype.Controller
;
@Controller
@ControllerMapping
(
"/globalCode"
)
public
class
GlobalCodeController
extends
CommonController
{
public
String
revampGlobalCode
(){
SDO
sdo
=
this
.
getSDO
();
String
code
=
sdo
.
getString
(
"code"
);
GlobalCode
.
set
(
code
);
return
success
();
}
}
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