| | |
| | | import org.hibernate.Session;
|
| | | import org.springframework.orm.hibernate4.HibernateCallback;
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.transaction.annotation.Transactional;
|
| | |
|
| | | import com.yeshi.fanli.dao.goods.CollectionGoodsDao;
|
| | | import com.yeshi.fanli.entity.bus.user.CollectionGoods;
|
| | |
| | | return null;
|
| | | }
|
| | |
|
| | | @Transactional
|
| | | @Override
|
| | | public void updateCollectionGoods(TaoBaoGoodsBrief goods) {
|
| | | if (goods != null && goods.getAuctionId() != null) {
|
| | |
| | | collectionGoods.setCouponAmount(goods.getCouponAmount());
|
| | | collectionGoods.setCouponEffectiveEndTime(goods.getCouponEffectiveEndTime());
|
| | | collectionGoods.setCouponLeftCount(goods.getCouponLeftCount());
|
| | | collectionGoods.setCouponInfo(goods.getCouponInfo());
|
| | | collectionGoods.setCouponEffectiveStartTime(goods.getCouponEffectiveStartTime());
|
| | | collectionGoods.setCouponStartFee(goods.getCouponStartFee());
|
| | | collectionGoods.setCouponTotalCount(goods.getCouponTotalCount());
|