Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
tianjin-cement
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
竹天卫
tianjin-cement
Commits
062f06d3
Commit
062f06d3
authored
Oct 20, 2020
by
qinhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
存储柜--添加redis实现和删除货柜
parent
66a664ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
SampleController.java
.../wise/sc/cement/business/controller/SampleController.java
+3
-6
No files found.
cement-business/src/main/java/cn/wise/sc/cement/business/controller/SampleController.java
View file @
062f06d3
...
...
@@ -50,6 +50,8 @@ public class SampleController {
private
ISampleService
sampleService
;
@Autowired
private
ISysDictionaryService
dictionaryService
;
@Autowired
RedisUtil
redisUtil
;
@ApiOperation
(
value
=
"样品分页列表"
)
@ApiImplicitParams
(
value
=
{
...
...
@@ -66,8 +68,6 @@ public class SampleController {
return
BaseResponse
.
errorMsg
(
"失败!"
);
}
@Autowired
RedisUtil
redisUtil
;
@ApiOperation
(
"样品列表导出"
)
@PostMapping
(
"/export"
)
...
...
@@ -159,8 +159,7 @@ public class SampleController {
private
static
final
String
CABINET_KEY
=
"CABINET:CACHE:"
;
@PostMapping
(
"/new"
)
@ApiOperation
(
"新添加存储柜子信息"
)
public
BaseResponse
<
String
>
newCabinet
(
String
cabinetName
)
{
if
(
StrUtil
.
isBlank
(
cabinetName
))
{
...
...
@@ -183,8 +182,6 @@ public class SampleController {
}
}
@ApiOperation
(
"编辑柜子名字"
)
@PutMapping
(
"/edit"
)
public
BaseResponse
<
String
>
editCabinet
(
String
cabinetNames
)
{
if
(
StrUtil
.
isBlank
(
cabinetNames
))
{
...
...
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