张延森 4 yıl önce
ebeveyn
işleme
097a0d58aa

+ 1
- 1
pom.xml Dosyayı Görüntüle

@@ -10,7 +10,7 @@
10 10
 	</parent>
11 11
 	<groupId>com.huiju</groupId>
12 12
 	<artifactId>xiangsong</artifactId>
13
-	<version>1.0.47</version>
13
+	<version>1.0.48</version>
14 14
 	<name>xiangsong</name>
15 15
 	<description>香颂</description>
16 16
 

+ 4
- 0
src/main/java/com/huiju/estateagents/service/impl/TaPointsRecordsServiceImpl.java Dosyayı Görüntüle

@@ -523,6 +523,10 @@ public class TaPointsRecordsServiceImpl extends ServiceImpl<TaPointsRecordsMappe
523 523
         // 缴费金额乘以积分加积分
524 524
         BillInvoice tpBillInvoice = tpBillInvoiceMapper.selectById(source.getTpBillInvoiceId());
525 525
         int money = tpBillInvoice.getPayPrice() / 100;
526
+        if (money == 0) {
527
+            return;
528
+        }
529
+
526 530
         // 发放积分
527 531
         TaPerson person = taPersonMapper.selectById(source.getCreateUser());
528 532
         if (savePoints(person, changeType, null, pointsAmount * money, orgId)) {