wuxw
2020-01-11 ff5a0ebccba3225c4a44b47c61a16cdcfa66bd31
OrderService/src/main/java/com/java110/order/dao/ICenterServiceDAO.java
@@ -13,6 +13,7 @@
    /**
     * 保存订单信息
     *
     * @param order 订单信息
     * @return
     */
@@ -20,6 +21,7 @@
    /**
     * 保存属性信息
     *
     * @param orderAttrs
     * @return
     */
@@ -28,6 +30,7 @@
    /**
     * 保存订单项信息
     *
     * @param businesses 订单项信息
     * @return
     */
@@ -35,12 +38,14 @@
    /**
     * 保存订单项信息
     *
     * @param business 订单项信息
     */
    public void saveBusiness(Map business) throws DAOException;
    /**
     * 保存属性信息
     *
     * @param businessAttrs
     * @return
     */
@@ -48,6 +53,7 @@
    /**
     * 更新订单信息(一般就更新订单状态)
     *
     * @param order
     * @throws DAOException
     */
@@ -55,6 +61,7 @@
    /**
     * 更新订单项信息(一般就更新订单状态)
     *
     * @param order
     * @throws DAOException
     */
@@ -62,6 +69,7 @@
    /**
     * 根据bId 修改业务项信息
     *
     * @param business
     * @throws DAOException
     */
@@ -69,6 +77,7 @@
    /**
     * 当所有业务动作是否都是C,将订单信息改为 C
     *
     * @param bId
     * @return
     * @throws DAOException
@@ -77,45 +86,52 @@
    /**
     * 当所有业务动作是否都是C,将订单信息改为 C
     *
     * @param oId
     * @return
     * @throws DAOException
     */
    public void completeOrderByOId(String oId) throws DAOException;
    /**
     * 判断 business 过程是否完成 1 表示完成 0表示未完成
     *
     * @param oId
     * @return
     * @throws DAOException
     */
    public int judgeAllBusinessCompleted(String oId,String statusCd) throws DAOException;
    public int judgeAllBusinessCompleted(String oId, String statusCd) throws DAOException;
    /**
     * 判断 business 过程是否是否满足撤单条件
     *
     * @param oId
     * @return
     * @throws DAOException
     */
    public int judgeAllBusinessDeleteOrder(String oId,String statusCd) throws DAOException;
    public int judgeAllBusinessDeleteOrder(String oId, String statusCd) throws DAOException;
    /**
     * 根据bId查询订单信息
     *
     * @param bId
     * @return
     * @throws DAOException
     */
    public Map getOrderInfoByBId(String bId)throws DAOException;
    public Map getOrderInfoByBId(String bId) throws DAOException;
    /**
     * 根据oId查询订单信息
     *
     * @param oId
     * @return
     * @throws DAOException
     */
    public Map getDeleteOrderBusinessByOId(String oId)throws DAOException;
    public Map getDeleteOrderBusinessByOId(String oId) throws DAOException;
    /**
     * 获取同个订单中已经完成的订单项
     *
     * @param bId
     * @return
     * @throws DAOException
@@ -124,6 +140,7 @@
    /**
     * 根据oId 查询Business
     *
     * @param info
     * @return
     * @throws DAOException
@@ -132,35 +149,40 @@
    /**
     * 查询所有组件
     *
     * @return
     */
    public List<Map> getAppRouteAndServiceInfoAll();
    /**
     * 查询映射表
     *
     * @return
     */
    public List<Mapping> getMappingInfoAll();
    /**
     * 查询业主 添加 修改 删除订单
     *
     * @param info
     * @return
     */
    public List<Map> queryOwenrOrders(Map info);
    /**
     * 查询业主 添加 修改 删除订单
     *
     * @param info
     * @return
     */
    public int updateBusinessStatusCd(Map info);
    public List<Map> queryManchineOrders(Map info);
    public List<Map> queryApplicationKeyOrders(Map info);
    public List<Map> querySameOrderBusiness(Map info);
}