|
|
@@ -687,6 +687,13 @@ public class FsPackageOrderServiceImpl implements IFsPackageOrderService
|
|
|
FsUserInformationCollection collection = userInformationCollectionMapper.selectFsUserInformationCollectionById(param.getCollectionId());
|
|
|
logger.info("用户id:{},信息采集信息:{}",param.getUserId(),JSON.toJSONString(collection));
|
|
|
if (collection != null) {
|
|
|
+ //个微信息采集用户信息校验
|
|
|
+ if (collection.getQwTag() != null && collection.getQwTag() == 1) {
|
|
|
+ if (!Objects.equals(param.getUserId(),collection.getUserId())) {
|
|
|
+ TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
+ return R.error("用户信息不匹配");
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
if (collection.getIsPackage() == 1 && !(collection.getAmount().compareTo(new BigDecimal(0))==1) && collection.getPayType() == 2) {
|
|
|
if (!collection.getUserId().equals(param.getUserId())) {
|