Browse Source

注册时间到日

master
牧羊人 4 years ago
parent
commit
2da7ed43d9
4 changed files with 6 additions and 6 deletions
  1. +1
    -1
      src/main/java/com/taauav/admin/controller/TauvEquipmentController.java
  2. +1
    -1
      src/main/java/com/taauav/admin/controller/TauvMountEquipmentController.java
  3. +2
    -2
      src/main/java/com/taauav/admin/entity/TauvEquipment.java
  4. +2
    -2
      src/main/java/com/taauav/admin/vo/TauvEquipmentListVo.java

+ 1
- 1
src/main/java/com/taauav/admin/controller/TauvEquipmentController.java View File

@@ -109,7 +109,7 @@ public class TauvEquipmentController {
*/
@PostMapping("/drop")
@RequiresPermissions(controllerName + ":" + PermissionConstants.REMOVE_PERMISSION)
public Response drop(@RequestBody Integer id) {
public Response drop(Integer id) {
return iTauvEquipmentService.drop(id);
}


+ 1
- 1
src/main/java/com/taauav/admin/controller/TauvMountEquipmentController.java View File

@@ -112,7 +112,7 @@ public class TauvMountEquipmentController extends BaseController {
*/
@PostMapping("/setStatus")
@RequiresPermissions(controllerName + ":" + PermissionConstants.STATUS_PERMISSION)
public Response setStatus(@RequestBody TauvMountEquipment entity) {
public Response setStatus(TauvMountEquipment entity) {
return tauvMountEquipmentService.setStatus(entity);
}


+ 2
- 2
src/main/java/com/taauav/admin/entity/TauvEquipment.java View File

@@ -81,8 +81,8 @@ public class TauvEquipment extends Entity {
/**
* 注册时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd")
private Date registerTime;

public Map<Integer, String> getStatusList() {

+ 2
- 2
src/main/java/com/taauav/admin/vo/TauvEquipmentListVo.java View File

@@ -76,8 +76,8 @@ public class TauvEquipmentListVo {
/**
* 注册时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd")
private Date registerTime;

/**

Loading…
Cancel
Save