@@ -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); | |||
} | |||
@@ -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); | |||
} | |||
@@ -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() { |
@@ -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; | |||
/** |