linwe
2024-09-03 764d883b5ea3bdc06abbec548b6df0511e567978
src/main/java/org/springblade/modules/eCallEventTwo/service/EcOrderService.java
New file
@@ -0,0 +1,90 @@
package org.springblade.modules.eCallEventTwo.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.eCallEventTwo.dto.EcOrderDTO;
import org.springblade.modules.eCallEventTwo.dto.EcOrderParamDTO;
import org.springblade.modules.eCallEventTwo.entity.ECallEventTwoEntity;
import org.springblade.modules.eCallEventTwo.entity.EcOrder;
import org.springblade.modules.eCallEventTwo.vo.ECallEventTwoVO;
import java.util.List;
import java.util.Map;
/**
 * EcOrderService接口
 *
 * @author ${context.author}
 * @date 2024-05-27 16:26:59
 */
public interface EcOrderService extends IService<EcOrder> {
   /**
    * 查询工单
    *
    * @param orderId 工单ID
    * @return 工单
    */
   public EcOrderDTO selectEcOrderById(Long orderId);
   /**
    * 查询工单列表
    *
    * @param ecOrderDTO 工单
    * @return 工单集合
    */
   public List<EcOrderDTO> selectEcOrderList(EcOrderDTO ecOrderDTO);
   /**
    * 新增工单
    *
    * @param ecOrderDTO 工单
    * @return 结果
    */
   public int insertEcOrder(EcOrderDTO ecOrderDTO);
   /**
    * 修改工单
    *
    * @param ecOrderDTO 工单
    * @return 结果
    */
   public int updateEcOrder(EcOrderDTO ecOrderDTO);
   /**
    * 批量删除工单
    *
    * @param ids 需要删除的数据ID
    * @return 结果
    */
   public int deleteEcOrderByIds(String ids);
   /**
    * 删除工单信息
    *
    * @param orderId 工单ID
    * @return 结果
    */
   public int deleteEcOrderById(Long orderId);
   boolean SynchronizeData(EcOrderParamDTO ecOrderParamDTO);
   /**
    * 批量同步工单
    * @param recordEntityList
    * @return
    */
   public boolean saveEcOrder(List<ECallEventTwoEntity> recordEntityList);
   /**
    * 单位考核指标
    * @return
    */
   List<Map<String, String>> getUnitAssessmentIndicators();
   /**
    * 统计工单
    * @param ecOrderParamDTO
    * @return
    */
   IPage<EcOrderDTO> getCount(IPage<EcOrderDTO> page, EcOrderParamDTO ecOrderParamDTO);
}