screen-manage/src/main/java/com/moral/api/service/OrganizationService.java
@@ -2,6 +2,10 @@
import com.moral.api.entity.Organization;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moral.api.pojo.dto.organization.OrganizationDTO;
import com.moral.api.pojo.dto.organization.OrganizationQueryDTO;
import com.moral.api.pojo.dto.organization.OrganizationQueryNamesDTO;
import com.moral.api.pojo.form.organization.*;
/**
 * <p>
@@ -9,8 +13,55 @@
 * </p>
 *
 * @author moral
 * @since 2021-03-09
 * @since 2021-04-06
 */
public interface OrganizationService extends IService<Organization> {
    /**
     * @Description: 添加客户组织
     * @Param: [organizationInsertForm]
     * @return: void
     * @Author: 陈凯裕
     * @Date: 2021/3/22
     */
    OrganizationDTO insertOrganization(OrganizationInsertForm organizationInsertForm);
    /**
     * @Description: 更新客户组织
     * @Param: [organizationUpdateForm]
     * @return: com.moral.api.pojo.dto.organization.OrganizationDTO
     * @Author: 陈凯裕
     * @Date: 2021/3/24
     */
    OrganizationDTO updateOrganization(OrganizationUpdateForm organizationUpdateForm);
    /**
     * @Description: 删除客户组织
     * @Param: [organizationDeleteForm]
     * @return: com.moral.api.pojo.dto.organization.OrganizationDTO
     * @Author: 陈凯裕
     * @Date: 2021/3/25
     */
    OrganizationDTO deleteOrganization(OrganizationDeleteForm organizationDeleteForm);
    /**
     * @Description: 查询客户组织分页
     * @Param: [organizationQueryForm]
     * @return: com.moral.api.pojo.dto.organization.OrganizationQueryDTO
     * @Author: 陈凯裕
     * @Date: 2021/3/25
     */
    OrganizationQueryDTO queryOrganization(OrganizationQueryForm organizationQueryForm);
    /**
    * @Description: 根据条件查询组织
            * @Param: [form]
            * @return: com.moral.api.pojo.dto.organization.OrganizationQueryNamesDTO
            * @Author: 陈凯裕
            * @Date: 2021/5/6
            */
     OrganizationQueryNamesDTO queryNames(OrganizationQueryNamesForm form);
}