java110
2021-09-14 b2e0ee0c4ad5d3422208081772bc2faeadc8b7ea
service-order/src/main/java/com/java110/order/dao/impl/CenterServiceDAOImpl.java
@@ -53,7 +53,7 @@
            throw new DAOException(ResponseConstant.RESULT_CODE_INNER_ERROR, "保存订单项信息失败:" + JSONObject.toJSONString(orderItem));
        }
        //这个地方我们补充c_business
        if (!orderItem.containsKey("logText") || StringUtil.isEmpty(orderItem.get("logText") + "")) {
@@ -72,9 +72,9 @@
    @Override
    public void updateOrderItem(Map orderItem) throws DAOException {
        int saveFlag = sqlSessionTemplate.update("centerServiceDAOImpl.updateOrderItem", orderItem);
        if (saveFlag < 1) {
            throw new DAOException(ResponseConstant.RESULT_CODE_INNER_ERROR, "修改订单项失败:" + JSONObject.toJSONString(orderItem));
        }
//        if (saveFlag < 1) {
//            throw new DAOException(ResponseConstant.RESULT_CODE_INNER_ERROR, "修改订单项失败:" + JSONObject.toJSONString(orderItem));
//        }
    }
    @Override
@@ -199,10 +199,10 @@
    public void updateBusiness(Map order) throws DAOException {
        logger.debug("----【CenterServiceDAOImpl.updateBusiness】保存数据入参 : " + JSONObject.toJSONString(order));
        int saveFlag = sqlSessionTemplate.update("centerServiceDAOImpl.updateBusiness", order);
        if (saveFlag < 1) {
            throw new DAOException(ResponseConstant.RESULT_CODE_INNER_ERROR, "更新订单项信息失败:" + JSONObject.toJSONString(order));
        }
         sqlSessionTemplate.update("centerServiceDAOImpl.updateBusiness", order);
//        if (saveFlag < 1) {
//            throw new DAOException(ResponseConstant.RESULT_CODE_INNER_ERROR, "更新订单项信息失败:" + JSONObject.toJSONString(order));
//        }
    }
    /**