|
@@ -663,8 +663,12 @@ public class StudentRepairServiceImpl extends BaseServiceImpl<Integer, StudentRe
|
|
|
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
|
|
|
public void goodsSellOrderCallback(StudentPaymentOrder studentPaymentOrder) {
|
|
|
Date nowDate = new Date();
|
|
|
+ StudentGoodsSell studentGoodsSell = studentGoodsSellDao.findByOrderNo(studentPaymentOrder.getOrderNo());
|
|
|
//更新订单信息
|
|
|
studentPaymentOrder.setUpdateTime(nowDate);
|
|
|
+ if(studentGoodsSell.getCooperationOrganId() !=null){
|
|
|
+ studentPaymentOrder.setMusicGroupId(studentGoodsSell.getCooperationOrganId().toString());
|
|
|
+ }
|
|
|
int updateCount = studentPaymentOrderService.update(studentPaymentOrder);
|
|
|
if (updateCount <= 0) {
|
|
|
throw new BizException("订单更新失败");
|