张延森 4 years ago
parent
commit
097a0d58aa

+ 1
- 1
pom.xml View File

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

+ 4
- 0
src/main/java/com/huiju/estateagents/service/impl/TaPointsRecordsServiceImpl.java View File

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