shc 7 месяцев назад
Родитель
Сommit
517d1c7fb8

+ 5 - 2
hnqz-upms/hnqz-upms-api/src/main/java/com/qunzhixinxi/hnqz/admin/api/dto/WmPkgDTO.java

@@ -93,8 +93,11 @@ public final class WmPkgDTO {
         @NotBlank(message = "本次兑付比例必填")
         private String currentRedemptionRate;
 
-        @NotBlank(message = "本次兑付权重必填")
-        private String currentRedemptionWeight;
+        // @NotBlank(message = "本次兑付权重必填")
+        // private String currentRedemptionWeight;
+
+        @NotBlank(message = "兑付总值必填")
+        private String totalAmount;
 
     }
 

+ 5 - 2
hnqz-upms/hnqz-upms-api/src/main/java/com/qunzhixinxi/hnqz/admin/api/entity/WmPackageRedemptionNotice.java

@@ -42,8 +42,11 @@ public class WmPackageRedemptionNotice implements Serializable {
     @TableField(value = "cur_rdp_rate")
     private String currentRedemptionRate;
 
-    @TableField(value = "cur_rdp_weight")
-    private String currentRedemptionWeight;
+    // @TableField(value = "cur_rdp_weight")
+    // private String currentRedemptionWeight;
+
+    @TableField(value = "cur_rdp_amount")
+    private String currentRedemptionTotalAmount;
 
     @TableField(value = "from_id")
     private Integer fromEntId;

+ 1 - 1
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/service/impl/WmPackageRedemptionNoticeServiceImpl.java

@@ -41,7 +41,7 @@ public class WmPackageRedemptionNoticeServiceImpl extends ServiceImpl<WmPackageR
         notice.setToEntId(resource.getToEntId());
         notice.setCurrentRedemptionScore(resource.getCurrentRedemptionScore());
         notice.setCurrentRedemptionRate(resource.getCurrentRedemptionRate());
-        notice.setCurrentRedemptionWeight(resource.getCurrentRedemptionWeight());
+        notice.setCurrentRedemptionTotalAmount(resource.getTotalAmount());
         notice.setNoticeState(WmPackageRedemptionNotice.NoticeState.PENDING.getState());
         notice.setCheckState(WmPackageRedemptionNotice.CheckState.CKT2.getState());
         notice.setCreateBy(username);