|
@@ -384,6 +384,10 @@ public class InviteReceiptsService {
|
|
|
insertReceipts(ruler, walletReceipts);
|
|
|
}else if (topOne.getSuc().equals(1) || topOne.getSuc().equals(4)){
|
|
|
//上月最后消息为订购,生成入账
|
|
|
+ WalletReceipts noCancelByCreateTime = walletReceiptsDao.findNoCancelByCreateTime(walletReceipts.getUserId(), DateUtils.getCurrentMonthStartTime(), new Date().getTime());
|
|
|
+ if (ObjectUtils.isEmpty(noCancelByCreateTime)){
|
|
|
+ return;
|
|
|
+ }
|
|
|
insertReceipts(ruler, walletReceipts);
|
|
|
}
|
|
|
}
|