FreezeController.java 688 B

123456789101112131415161718192021222324
  1. package com.dk.mdm.controller.mst;
  2. import com.dk.mdm.model.pojo.mst.Freeze;
  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.mst.FreezeService;
  10. @Api(tags = "冻结单API接口")
  11. @RestController
  12. @RequestMapping("/freeze")
  13. public class FreezeController{
  14. public BaseService<Freeze> getService() {
  15. return freezeService;
  16. }
  17. @Autowired
  18. private FreezeService freezeService;
  19. }