package com.zksy.system.basicData.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zksy.common.core.domain.AjaxResult;
import com.zksy.common.utils.page.Page;
import com.zksy.system.basicData.domain.CrmHighTechZoneEnterprises;

import javax.servlet.http.HttpServletResponse;

/**
 * 高新区企业（119家）Service接口
 * 
 * @author sy
 * @date 2024-05-06
 */
public interface CrmHighTechZoneEnterprisesService extends IService<CrmHighTechZoneEnterprises> {

    /**
     * TODO 删除全部数据
     * @param
     * @return com.zksy.common.core.domain.AjaxResult
     * @author Administrator
     * @date 2024/5/13 17:12:22
     */
    AjaxResult deleteAll();

    /**
     * TODO 查询所有企业总分
      * @param unifiedSocialCreditCode
     * @param pageNum
     * @param pageSize
     * @return com.zksy.common.utils.page.Page
     * @author Administrator
     * @date 2024/5/27 10:02:42
     */
    Page creditScoreList(String unifiedSocialCreditCode,String enterpriseName,int pageNum,int pageSize,String ... condition);

    /**
     * TODO 查询所有企业得分详情
      * @param unifiedSocialCreditCode
     * @param pageNum
     * @param pageSize
     * @return com.zksy.common.utils.page.Page
     * @author Administrator
     * @date 2024/5/27 10:02:50
     */
    Page creditScoreListDetails(String unifiedSocialCreditCode,String enterpriseName,int pageNum,int pageSize);

    /**
     * TODO 查询企业明细
      * @param unifiedSocialCreditCode
     * @return com.zksy.common.core.domain.AjaxResult
     * @author Administrator
     * @date 2024/5/27 10:04:21
     */
    AjaxResult enterpriseDetails(String unifiedSocialCreditCode);
    /**
     * TODO 下载企业报告
      * @param unifiedSocialCreditCode
     * @return com.zksy.common.core.domain.AjaxResult
     * @author Administrator
     * @date 2024/5/27 10:03:19
     */
    AjaxResult download(String unifiedSocialCreditCode, HttpServletResponse response);

    /**
     * TODO 查询扣分条数
     * @return com.zksy.common.core.domain.AjaxResult
     * @author Administrator
     * @date 2024/6/26 16:18:05
     */
    AjaxResult getDeductionPoints();

    AjaxResult creditScoreMostDetailsByUniCode(String unifiedSocialCreditCode);
}
