package com.moral.api.service; 
 | 
  
 | 
import com.moral.api.entity.Version; 
 | 
import com.baomidou.mybatisplus.extension.service.IService; 
 | 
import com.moral.api.pojo.dto.version.VersionDTO; 
 | 
import com.moral.api.pojo.dto.version.VersionQueryDTO; 
 | 
import com.moral.api.pojo.form.version.*; 
 | 
  
 | 
/** 
 | 
 * <p> 
 | 
 * 型号表 服务类 
 | 
 * </p> 
 | 
 * 
 | 
 * @author moral 
 | 
 * @since 2021-05-14 
 | 
 */ 
 | 
public interface VersionService extends IService<Version> { 
 | 
  
 | 
    /** 
 | 
    * @Description: 分页查询所有型号 
 | 
            * @Param: [form] 
 | 
            * @return: com.moral.api.pojo.dto.version.VersionQueryDTO 
 | 
            * @Author: 陈凯裕 
 | 
            * @Date: 2021/5/14 
 | 
            */ 
 | 
    VersionQueryDTO query(VersionQueryForm form); 
 | 
  
 | 
    /** 
 | 
    * @Description: 更新version基本信息 
 | 
            * @Param: [form] 
 | 
            * @return: com.moral.api.pojo.dto.version.VersionDTO 
 | 
            * @Author: 陈凯裕 
 | 
            * @Date: 2021/5/20 
 | 
            */ 
 | 
    VersionDTO update(VersionUpdateForm form); 
 | 
  
 | 
    /** 
 | 
    * @Description: 新增version 
 | 
            * @Param: [form] 
 | 
            * @return: com.moral.api.pojo.dto.version.VersionDTO 
 | 
            * @Author: 陈凯裕 
 | 
            * @Date: 2021/5/20 
 | 
            */ 
 | 
    VersionDTO insert(VersionInsertForm form); 
 | 
  
 | 
    /** 
 | 
    * @Description: 删除version 
 | 
            * @Param: [form] 
 | 
            * @return: com.moral.api.pojo.dto.version.VersionDTO 
 | 
            * @Author: 陈凯裕 
 | 
            * @Date: 2021/5/20 
 | 
            */ 
 | 
    VersionDTO delete(VersionDeleteForm form); 
 | 
  
 | 
    /** 
 | 
    * @Description: 更新型号的因子和单位 
 | 
            * @Param: [form] 
 | 
            * @return: com.moral.api.pojo.dto.version.VersionDTO 
 | 
            * @Author: 陈凯裕 
 | 
            * @Date: 2021/5/21 
 | 
            */ 
 | 
    VersionDTO updateSensorUnits(VersionSensorUnitForm form); 
 | 
  
 | 
  
 | 
    /** 
 | 
    * @Description: 根据型号id查询对应的因子 
 | 
            * @Param: [form] 
 | 
            * @return: com.moral.api.pojo.dto.version.VersionDTO 
 | 
            * @Author: 陈凯裕 
 | 
            * @Date: 2021/6/9 
 | 
            */ 
 | 
    VersionQueryDTO queryVersionById(VersionQueryByIdForm form); 
 | 
  
 | 
    /** 
 | 
    * @Description: 根据组织id查询型号 
 | 
            * @Param: [organizationId] 
 | 
            * @return: com.moral.api.pojo.dto.version.VersionQueryDTO 
 | 
            * @Author: 陈凯裕 
 | 
            * @Date: 2021/6/18 
 | 
            */ 
 | 
    VersionQueryDTO queryByOrganizationId(Integer organizationId); 
 | 
  
 | 
} 
 |