Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
ops
Commits
f9a43840
Commit
f9a43840
authored
Oct 16, 2025
by
wujipeng
Browse files
运维工单编辑
parent
3db154a0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/com/ruzhoukj/sms/controller/KzWorkController.java
View file @
f9a43840
...
@@ -7,6 +7,7 @@ import com.ruzhoukj.sms.service.KzWorkService;
...
@@ -7,6 +7,7 @@ import com.ruzhoukj.sms.service.KzWorkService;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.Date
;
/**
/**
* @author : wujipeng
* @author : wujipeng
...
@@ -29,6 +30,7 @@ public class KzWorkController extends BaseController {
...
@@ -29,6 +30,7 @@ public class KzWorkController extends BaseController {
@PutMapping
(
"/update"
)
@PutMapping
(
"/update"
)
public
boolean
update
(
@RequestBody
KzWorkDTO
kzWorkDTO
)
{
public
boolean
update
(
@RequestBody
KzWorkDTO
kzWorkDTO
)
{
kzWorkDTO
.
setOperationTime
(
new
Date
());
return
kzWorkService
.
updateById
(
kzWorkDTO
);
return
kzWorkService
.
updateById
(
kzWorkDTO
);
}
}
}
}
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