|
@@ -10,6 +10,7 @@ import com.ruoyi.system.domain.PoCollection;
|
|
|
import com.ruoyi.system.domain.vo.TetherVo;
|
|
|
import com.ruoyi.system.service.IPoUserService;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
+import net.sf.jsqlparser.util.validation.metadata.DatabaseException;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
@@ -285,7 +286,17 @@ public class PoTetherController extends BaseController
|
|
|
return toAjax(poTetherService.updatePoTetherIsGrounding(grounding,tetherId));
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * 修改时间
|
|
|
+ */
|
|
|
+@ApiOperation("修改时间")
|
|
|
+@PreAuthorize("@ss.hasPermi('system:tether:updateTime')")
|
|
|
+@PutMapping("/updateTime")
|
|
|
+public AjaxResult updateTime(@RequestBody PoTether poTether){
|
|
|
|
|
|
+ poTetherService.updateTime(poTether);
|
|
|
+ return AjaxResult.success("修改时间成功");
|
|
|
+}
|
|
|
|
|
|
}
|
|
|
|