Browse Source

Merge branch 'feature/1007-develop' into online

liujc 1 year ago
parent
commit
acf20d41a9

+ 3 - 4
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/PaymentDivMemberRecordServiceImpl.java

@@ -1023,9 +1023,6 @@ public class PaymentDivMemberRecordServiceImpl extends ServiceImpl<PaymentDivMem
             if (tenantId.equals(-1L)) {
             if (tenantId.equals(-1L)) {
                 continue;
                 continue;
             }
             }
-            if (amount.compareTo(BigDecimal.ZERO) <= 0) {
-                continue;
-            }
             String type = userPaymentOrder.getGoodType().getCode();
             String type = userPaymentOrder.getGoodType().getCode();
             if (share) {
             if (share) {
                 type = type + "_SHARE";
                 type = type + "_SHARE";
@@ -1048,7 +1045,9 @@ public class PaymentDivMemberRecordServiceImpl extends ServiceImpl<PaymentDivMem
                 tenantPostStatus = PostStatusEnum.RECORDED;
                 tenantPostStatus = PostStatusEnum.RECORDED;
                 isIncomeTenant = true;
                 isIncomeTenant = true;
             }
             }
-
+            if (tenantAmount.compareTo(BigDecimal.ZERO) <= 0) {
+                continue;
+            }
             Long platformCashAccountRecordId = null;
             Long platformCashAccountRecordId = null;
             if (!isIncomeTenant) {
             if (!isIncomeTenant) {
                 // 写入平台支出表
                 // 写入平台支出表