3a8d0f33fccc0d4942c716bcd9117c55b06174b6.svn-base 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. package cn.com.goldenwater.dcproj.controller.ducha;
  2. import cn.com.goldenwater.core.web.BaseController;
  3. import cn.com.goldenwater.core.web.BaseResponse;
  4. import cn.com.goldenwater.dcproj.model.Dvdwk;
  5. import cn.com.goldenwater.dcproj.param.DvdwkParam;
  6. import cn.com.goldenwater.dcproj.service.DvdwkService;
  7. import io.swagger.annotations.Api;
  8. import io.swagger.annotations.ApiOperation;
  9. import io.swagger.annotations.ApiParam;
  10. import org.springframework.beans.factory.annotation.Autowired;
  11. import org.springframework.web.bind.annotation.RequestMapping;
  12. import org.springframework.web.bind.annotation.RequestMethod;
  13. import org.springframework.web.bind.annotation.RestController;
  14. import java.util.List;
  15. /**
  16. * Created by 61618 on 2019/3/4.
  17. */
  18. @Api(value = "任务分工", tags = "任务分工")
  19. @RestController
  20. @RequestMapping("/dc/dvdwk")
  21. public class DvdwkController extends BaseController {
  22. @Autowired
  23. private DvdwkService dvdwkService;
  24. @ApiOperation(value = "查询任务分工列表")
  25. @RequestMapping(value = "findList", method = RequestMethod.POST)
  26. public BaseResponse<List<Dvdwk>> findList(@ApiParam(name = "dvdwkParam", value = "DvdwkParam", required = true) DvdwkParam dvdwkParam) {
  27. List<Dvdwk> dvdwkList = this.dvdwkService.findList(dvdwkParam);
  28. return buildSuccessResponse(dvdwkList);
  29. }
  30. }