Переглянути джерело

华东政策数据初始化添加运营方式

yangzian 3 роки тому
батько
коміт
42c5bc7eba

+ 1 - 0
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/settlement/entity/pojo/CtopCwjsSlettementReport.java

@@ -25,4 +25,5 @@ public class CtopCwjsSlettementReport implements Serializable {
     private String policyDate;
     private Integer mediaType;
     private String createUserId;
+    private Integer promotionType;
 }

+ 5 - 2
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/settlement/mapper/xml/CwjsProfitMapper.xml

@@ -11,7 +11,8 @@
             policy_date,
             create_user_id,
             media_type,
-            policy_id
+            policy_id,
+        promotion_type
             )
             values
             <foreach collection="list" item="l" separator=",">
@@ -21,7 +22,9 @@
                 #{l.policyDate},
                 #{l.createUserId},
                 #{l.mediaType},
-                #{l.policyId})
+                #{l.policyId},
+                #{l.promotionType}
+                )
             </foreach>
     </insert>
 

+ 1 - 0
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/settlement/service/serviceImpl/ReportSettlementServiceImpl.java

@@ -910,6 +910,7 @@ public class ReportSettlementServiceImpl implements IReportSettlementService {
                         report.setMediaType(cwjsPolicyInfo.getMediaType());
                         report.setCreateUserId(cwjsPolicyInfo.getCreateUserId());
                         report.setPolicyDate(day);
+                        report.setPromotionType(cwjsPolicyInfo.getPromotionType());
                         reportList.add(report);
                     }
                 }