| | |
| | | throw new DAOException(ResponseConstant.RESULT_CODE_INNER_ERROR, "保存订单项信息失败:" + JSONObject.toJSONString(orderItem)); |
| | | } |
| | | |
| | | //这个地方我们补充c_business |
| | | |
| | | |
| | | |
| | | if (!orderItem.containsKey("logText") || StringUtil.isEmpty(orderItem.get("logText") + "")) { |
| | |
| | | @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 |
| | |
| | | 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)); |
| | | // } |
| | | } |
| | | |
| | | /** |