张延森 2 anos atrás
pai
commit
3706fed5cf

+ 1
- 1
src/main/java/com/yunzhi/marketing/broker/entity/BkAccountRecord.java Ver arquivo

@@ -27,7 +27,7 @@ public class BkAccountRecord implements Serializable {
27 27
     private static final long serialVersionUID = 1L;
28 28
 
29 29
     @ApiModelProperty(value = "流水ID")
30
-    @TableId(value = "rec_id", type = IdType.INPUT)
30
+    @TableId(value = "rec_id", type = IdType.UUID)
31 31
     private String recId;
32 32
 
33 33
     @ApiModelProperty(value = "报备ID")

+ 1
- 1
src/main/java/com/yunzhi/marketing/xlk/service/impl/ChannelCustomerServiceImpl.java Ver arquivo

@@ -667,7 +667,7 @@ public class ChannelCustomerServiceImpl extends ServiceImpl<ChannelCustomerMappe
667 667
             bkNotice.setCustomerName(customer.getName());
668 668
             // 佣金消息
669 669
             bkNotice.setNoticeType(CommConstant.NOTICE_TYPE_DEAL);
670
-            bkNotice.setContent(String.format("佣金 %d", params.getTotalCommission()));
670
+            bkNotice.setContent(String.format("佣金 %.2f 元", (float) intIfNvl(params.getTotalCommission()) / 100 ));
671 671
             bkNoticeMapper.insert(bkNotice);
672 672
         }
673 673
     }

+ 3
- 3
src/main/resources/mapper/BkAgentrRuleMapper.xml Ver arquivo

@@ -22,9 +22,9 @@
22 22
             *
23 23
         FROM
24 24
             bk_agent_rule t
25
-        WHERE
26
-            t.city_id = #{cityId}
27
-            AND t.`status` &gt; -1
25
+        WHERE t.`status` &gt; -1
26
+<!--             t.city_id = #{cityId}  -->
27
+<!--             AND t.`status` &gt; -1  -->
28 28
         ORDER BY
29 29
             t.create_date DESC
30 30
             LIMIT 1