| | |
| | | import com.java110.utils.exception.DAOException; |
| | | import com.java110.utils.util.StringUtil; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | |
| | | @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 |