package com.njcn.csdevice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.csdevice.pojo.param.AppProjectAddParm;
import com.njcn.csdevice.pojo.param.AppProjectAuditParm;
import com.njcn.csdevice.pojo.param.AppProjectQueryParm;
import com.njcn.csdevice.pojo.po.AppProjectPO;
import com.njcn.csdevice.pojo.vo.AppProjectVO;

import java.util.List;

/**
 * 
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2023/3/27  10:24【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
public interface AppProjectService extends IService<AppProjectPO> {

        /** 
        * @Description: addOrAuditPlan 
        * @Param: [appProjectAddOrAuditParm] 
        * @return: java.lang.Boolean 
        * @Author: clam
        * @Date: 2023/3/27 
        */
        AppProjectPO addAppProject(AppProjectAddParm appProjectAddOrAuditParm);
        /** 
        * @Description: AuditAppProject 
        * @Param: [appProjectAuditParm] 
        * @return: java.lang.Boolean 
        * @Author: clam
        * @Date: 2023/3/27 
        */ 
        Boolean AuditAppProject(AppProjectAuditParm appProjectAuditParm);

        Boolean updateProject(AppProjectAuditParm appProjectAuditParm);

        /** 
        * @Description: queryProject 
        * @Param: [appProjectQueryParm] 
        * @return: com.baomidou.mybatisplus.core.metadata.IPage<com.njcn.advance.pojo.vo.AppProjectVO> 
        * @Author: clam
        * @Date: 2023/3/28 
        */ 
        IPage<AppProjectVO> queryProject(AppProjectQueryParm appProjectQueryParm);

        /**
         * 根据工程获取项目
         * @param list
         * @return
         */
        List<AppProjectPO> getProjectByEngineering(List<String> list);


        AppProjectPO add(AppProjectAddParm param);

        AppProjectPO updateData(AppProjectAuditParm param);

        boolean delete(String id);

        AppProjectPO getProjectByName(String name);

    }
