package com.goldenwater.web.controller.hzz;
import com.goldenwater.common.core.controller.BaseController;
import com.goldenwater.common.core.domain.AjaxResult;
import com.goldenwater.hzz.service.WorkPlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/hzz/workplan")
public class WorkPlanController extends BaseController {
    @Autowired private WorkPlanService service;
    @GetMapping("/list")
    public AjaxResult list(@RequestParam(defaultValue = "") String adCode) { return success(service.getWorkPlanList(adCode)); }
}
