| | |
| | | moneyCardUse.setIsVipCar("N"); |
| | | |
| | | ShoppingGoods shoppingGoods = shoppingGoodsDao.selectById(moneyCardUse.getGoodsId()); |
| | | moneyCardUse.setCardName(shoppingGoods.getName()); |
| | | if (shoppingGoods != null) |
| | | { moneyCardUse.setCardName(shoppingGoods.getName());} |
| | | |
| | | Integer vipId = null; |
| | | if (moneyCardUse.getVipId() != null) { |
| | |
| | | <select id="selectById" resultMap="ShoppingGoodsMap"> |
| | | select |
| | | *, |
| | | (select TYPE_NAME from sys_goods_type b where b.id=goods_sort_id) goodsSortName, |
| | | -- (select TYPE_NAME from sys_goods_type b where b.id=a.goods_sort_id) goodsSortName, |
| | | (select NAME from shopping_goods_category t where |
| | | t.id=cate_id) |
| | | cate_name |