Commit f9a43840 authored by wujipeng's avatar wujipeng
Browse files

运维工单编辑

parent 3db154a0
...@@ -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);
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment