|
|
|
package com.ruoyi.programManagement.mapper;
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
import com.ruoyi.programManagement.entity.BPlanEnterprise;
|
|
|
|
import com.ruoyi.programManagement.entity.request.BPlanEnterprisePageRequest;
|
|
|
|
import com.ruoyi.programManagement.entity.request.PlanMxRequest;
|
|
|
|
import com.ruoyi.programManagement.entity.request.checkResultRequest;
|
|
|
|
import com.ruoyi.programManagement.entity.request.zhifaRequest;
|
|
|
|
import com.ruoyi.programManagement.entity.response.BPlanEnterpriseZhifaResponse;
|
|
|
|
import com.ruoyi.programManagement.entity.response.PlanMxResponse;
|
|
|
|
import com.ruoyi.programManagement.entity.response.zhifaCountResponse;
|
|
|
|
import com.ruoyi.programManagement.entity.response.zhifaPlanResponse;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 计划企业表(BPlanEnterprise)表数据库访问层
|
|
|
|
*
|
|
|
|
* @author wu
|
|
|
|
* @since 2023-09-07 09:43:06
|
|
|
|
*/
|
|
|
|
public interface BPlanEnterpriseMapper extends BaseMapper<BPlanEnterprise> {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 根据planId删除计划企业
|
|
|
|
*
|
|
|
|
* @param planId 计划id
|
|
|
|
*/
|
|
|
|
void deleteByPlanId(@Param("planId") Long planId);
|
|
|
|
|
|
|
|
|
|
|
|
List<BPlanEnterpriseZhifaResponse> getZhifa(@Param("req") checkResultRequest req);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 查询所有数据
|
|
|
|
*
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<BPlanEnterprise> page(@Param("req") BPlanEnterprisePageRequest req);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 执法计划工作情况统计
|
|
|
|
*
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<zhifaCountResponse> getzhifacount(@Param("req") zhifaRequest req);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 各区域执法计划
|
|
|
|
*
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
List<zhifaPlanResponse> getplan();
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 查看计划明细
|
|
|
|
*
|
|
|
|
* @return
|
|
|
|
* @Parm req 请求类
|
|
|
|
*/
|
|
|
|
List<PlanMxResponse> getPlanMx(@Param("req") PlanMxRequest req);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 查询计划企业列表
|
|
|
|
*
|
|
|
|
* @param bPlanEnterprise 计划企业
|
|
|
|
* @return 计划企业集合
|
|
|
|
*/
|
|
|
|
public List<BPlanEnterprise> selectBPlanEnterpriseList(BPlanEnterprise bPlanEnterprise);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 通过主键查询单条数据
|
|
|
|
*
|
|
|
|
* @param id 主键
|
|
|
|
* @return 单条数据
|
|
|
|
*/
|
|
|
|
BPlanEnterprise selectById(String id);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 根据执法地区分组统计
|
|
|
|
*
|
|
|
|
* @param req
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
Integer getgetEnterPriseList(@Param("req") BPlanEnterprisePageRequest req);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取计划完成企业数量
|
|
|
|
*
|
|
|
|
* @param req
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
Integer getEnterPriseFinsh( @Param("req") BPlanEnterprisePageRequest req);
|
|
|
|
|
|
|
|
}
|
|
|
|
|