提交 c1e39fbf 编写于 作者: IBZGIT01's avatar IBZGIT01

ibizdev提交

上级 959b839b
......@@ -3,40 +3,15 @@ package cn.ibizlab.demo.springboot.rest;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import cn.ibizlab.demo.springboot.domain.DBET;
import org.springframework.beans.factory.annotation.Autowired;
import cn.ibizlab.demo.springboot.service.DBETService;
@RestController
public class DBETController{
@Autowired
private DBETService dbetService;
@PostMapping(value="/demo/springboot/dbet/maineditform/update")
public DBET mainEditFormUpdate(DBET entity){
this.dbetService.update(entity);
return entity;
}
@PostMapping(value="/demo/springboot/dbet/maineditform/remove")
public DBET mainEditFormRemove(DBET entity){
this.dbetService.remove(entity);
return entity;
}
@PostMapping(value="/demo/springboot/dbet/maineditform/getdraft")
public DBET mainEditFormGetDraft(DBET entity){
this.dbetService.getDraft(entity);
return entity;
}
@PostMapping(value="/demo/springboot/dbet/maineditform/get")
public DBET mainEditFormGet(DBET entity){
this.dbetService.get(entity);
return entity;
}
@PostMapping(value="/demo/springboot/dbet/maineditform/create")
public DBET mainEditFormCreate(DBET entity){
this.dbetService.create(entity);
return entity;
@PostMapping(value="/demo/springboot/dbet")
public String hello(){
return String.format("您好,您目前正在访问[%s]实体","DBET");
}
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册