AccountController.java 735 B

123456789101112131415161718192021222324
  1. package com.dk.mdm.controller.mac;
  2. import com.dk.mdm.model.pojo.mac.Account;
  3. import com.dk.common.controller.BaseController;
  4. import com.dk.common.service.BaseService;
  5. import org.springframework.web.bind.annotation.RequestMapping;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.web.bind.annotation.RestController;
  8. import io.swagger.annotations.Api;
  9. import com.dk.mdm.service.mac.AccountService;
  10. @Api(tags = "账款对象API接口")
  11. @RestController
  12. @RequestMapping("/mac/account")
  13. public class AccountController extends BaseController<Account>{
  14. public BaseService<Account> getService() {
  15. return accountService;
  16. }
  17. @Autowired
  18. private AccountService accountService;
  19. }