|
|
|
@@ -141,7 +141,7 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService { |
|
|
|
|
|
|
|
@Override |
|
|
|
@Transactional(propagation = Propagation.REQUIRED, readOnly = false, rollbackFor = {Exception.class}) |
|
|
|
public void saveOrUpdate(WxCreditHistory record) { |
|
|
|
public ResultData saveOrUpdate(WxCreditHistory record) { |
|
|
|
WxCUser wxCUser = wxCUserMapper.selectByPrimaryKey(record.getCUserId()); |
|
|
|
WxCUserBasicInfo wxCUserBasicInfo = wxCUserBasicInfoMapper.selectByPrimaryKey(record.getCUserId()); |
|
|
|
if (wxCUser == null && wxCUserBasicInfo == null) { |
|
|
|
@@ -186,6 +186,7 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService { |
|
|
|
} else { |
|
|
|
//wxCreditHistoryMapper.updateByPrimaryKeySelective(record); |
|
|
|
} |
|
|
|
return new ResultData(Result.SUCCESS,"积分操作成功"); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
|