|
@@ -1,6 +1,5 @@
|
|
|
package edu.travel.web;
|
|
|
import edu.travel.entity.BtAccountInfo;
|
|
|
-import edu.travel.service.BtAccountInfoServiceImpl;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -12,22 +11,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
*/
|
|
|
@RestController
|
|
|
@RequestMapping("/bt_account_info")
|
|
|
-public class BtAccountInfoController {
|
|
|
-/**
|
|
|
-* 服务对象
|
|
|
-*/
|
|
|
- @Autowired
|
|
|
- private BtAccountInfoServiceImpl btAccountInfoServiceImpl;
|
|
|
-
|
|
|
- /**
|
|
|
- * 通过主键查询单条数据
|
|
|
- *
|
|
|
- * @param id 主键
|
|
|
- * @return 单条数据
|
|
|
- */
|
|
|
- @GetMapping("selectOne")
|
|
|
- public BtAccountInfo selectOne(Integer id) {
|
|
|
- return btAccountInfoServiceImpl.selectByPrimaryKey(id);
|
|
|
- }
|
|
|
+public class BtAccountInfoController extends BaseController<BtAccountInfo>{
|
|
|
|
|
|
}
|