| | |
| | | throw new TipsException("获取订单子信息购买数量错误!"); |
| | | } |
| | | |
| | | //获取未退款的卡包 |
| | | //获取未退款的卡包,包含转增的 |
| | | List<UserCard> userCardList = getNotRefundCard(orderItem.getId(),commonService); |
| | | |
| | | //获取该子单的支付方式,相同的支付方式求和返回 |
| | |
| | | //获取用户卡项 |
| | | sqlMap.put("sourceId",sourceId); |
| | | sqlMap.put("effectiveStatus", UserProjectConstants.EFF_STATUS_CANCEL); |
| | | sqlSentence.sqlSentence("SELECT * FROM user_card WHERE isDel = 0 AND sourceId = #{m.sourceId} AND effectiveStatus != #{m.effectiveStatus} AND turnAddId IS NULL",sqlMap); |
| | | sqlSentence.sqlSentence("SELECT * FROM user_card WHERE isDel = 0 AND sourceId = #{m.sourceId} AND effectiveStatus != #{m.effectiveStatus}",sqlMap); |
| | | List<UserCard> userCardList = commonService.selectList(UserCardMapper.class,sqlSentence); |
| | | if(userCardList.size() == 0){ |
| | | return userCardList; |