package com.java110.community.dao;
|
|
|
import com.java110.utils.exception.DAOException;
|
import com.java110.entity.merchant.BoMerchant;
|
import com.java110.entity.merchant.BoMerchantAttr;
|
import com.java110.entity.merchant.Merchant;
|
import com.java110.entity.merchant.MerchantAttr;
|
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 巡检路线组件内部之间使用,没有给外围系统提供服务能力
|
* 巡检路线服务接口类,要求全部以字符串传输,方便微服务化
|
* 新建客户,修改客户,删除客户,查询客户等功能
|
*
|
* Created by wuxw on 2016/12/27.
|
*/
|
public interface IInspectionRouteServiceDao {
|
|
/**
|
* 保存 巡检路线信息
|
* @param businessInspectionRouteInfo 巡检路线信息 封装
|
* @throws DAOException 操作数据库异常
|
*/
|
void saveBusinessInspectionRouteInfo(Map businessInspectionRouteInfo) throws DAOException;
|
|
|
|
/**
|
* 查询巡检路线信息(business过程)
|
* 根据bId 查询巡检路线信息
|
* @param info bId 信息
|
* @return 巡检路线信息
|
* @throws DAOException DAO异常
|
*/
|
List<Map> getBusinessInspectionRouteInfo(Map info) throws DAOException;
|
|
|
|
|
/**
|
* 保存 巡检路线信息 Business数据到 Instance中
|
* @param info
|
* @throws DAOException DAO异常
|
*/
|
void saveInspectionRouteInfoInstance(Map info) throws DAOException;
|
|
|
|
|
/**
|
* 查询巡检路线信息(instance过程)
|
* 根据bId 查询巡检路线信息
|
* @param info bId 信息
|
* @return 巡检路线信息
|
* @throws DAOException DAO异常
|
*/
|
List<Map> getInspectionRouteInfo(Map info) throws DAOException;
|
|
|
|
/**
|
* 修改巡检路线信息
|
* @param info 修改信息
|
* @throws DAOException DAO异常
|
*/
|
void updateInspectionRouteInfoInstance(Map info) throws DAOException;
|
|
|
/**
|
* 查询巡检路线总数
|
*
|
* @param info 巡检路线信息
|
* @return 巡检路线数量
|
*/
|
int queryInspectionRoutesCount(Map info);
|
|
}
|