| | |
| | | package com.fgkj.controller; |
| | | |
| | | import com.fgkj.dto.ServiceModelOnce; |
| | | import com.fgkj.util.*; |
| | | |
| | | import com.fgkj.dto.Database_backup; |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | @RequestMapping("databaseBackup") |
| | | @RestController |
| | | @Api |
| | | public class Database_backupController{ |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private Database_backupService service; |
| | | |
| | | //根据数据库名和表名修改备份数据库的使能(多笔记录) |
| | |
| | | |
| | | //查询个数 |
| | | @GetMapping("num") |
| | | public ServiceModel searchNum() { |
| | | ServiceModel model=service.searchNum(); |
| | | public ServiceModelOnce searchNum() { |
| | | ServiceModelOnce model=service.searchNum(); |
| | | |
| | | return model; |
| | | } |