feat:故障记录添加

dev
袁子龙 2024-09-22 22:34:12 +08:00
parent 47a67d40c7
commit 24f84b74cf
1 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,7 @@ import com.muyu.common.core.web.controller.BaseController;
import com.muyu.common.core.web.page.TableDataInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@ -45,4 +46,10 @@ public class sysCarFaultLogController extends BaseController {
return getDataTable(list);
}
@PostMapping("/add")
public Result<Integer> add(SysCarFaultLog sysCarFaultLog){
return toAjax(service.save(sysCarFaultLog));
}
}