-
懒羊羊
2024-03-23 e20d7373595960ad6be9bd6373a3c6f186e76e5c
jcdm-main/src/main/java/com/jcdm/main/em/inspectionPlanItemsProject/controller/EmInspectionPlanItemsProjectController.java
@@ -2,16 +2,12 @@
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.aspectj.weaver.loadtime.Aj;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.jcdm.common.annotation.Log;
import com.jcdm.common.core.controller.BaseController;
import com.jcdm.common.core.domain.AjaxResult;
@@ -34,6 +30,13 @@
    @Autowired
    private IEmInspectionPlanItemsProjectService emInspectionPlanItemsProjectService;
    @RequestMapping("/findPlanItemsProjectByPlanId")
    public AjaxResult list(@RequestParam String planId)
    {
        List<EmInspectionPlanItemsProject> planTaskIdList = emInspectionPlanItemsProjectService.list(new QueryWrapper<EmInspectionPlanItemsProject>().eq("plan_task_id", planId));
        return AjaxResult.success(planTaskIdList);
    }
    /**
     * 查询点检任务-项目列表
     */