Bladeren bron

修改属性首页问题整改率

csg6 10 maanden geleden
bovenliggende
commit
9fa1c1561b

+ 2 - 2
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/controller/PostCheckedHomePageController.java

@@ -127,7 +127,7 @@ public class PostCheckedHomePageController extends BaseController {
127 127
         data1.setDeptName("测试部门V1");
128 128
         data1.setProblemTotal(10);
129 129
         data1.setProblemComplete(9);
130
-        data1.setProblemRectification(new BigDecimal(0.9));
130
+        data1.setProblemRectificationRate(new BigDecimal(0.9));
131 131
         dataList.add(data1);
132 132
 
133 133
 
@@ -136,7 +136,7 @@ public class PostCheckedHomePageController extends BaseController {
136 136
         data2.setDeptName("测试部门V2");
137 137
         data2.setProblemTotal(8);
138 138
         data2.setProblemComplete(4);
139
-        data2.setProblemRectification(new BigDecimal(0.5));
139
+        data2.setProblemRectificationRate(new BigDecimal(0.5));
140 140
         dataList.add(data2);
141 141
 
142 142
         return success(dataList);

+ 1 - 1
ruoyi-postcheck/src/main/java/com/ruoyi/postCheck/domain/homePage/DeptProblemRectificationView.java

@@ -29,5 +29,5 @@ public class DeptProblemRectificationView implements Serializable {
29 29
     private Integer problemComplete;
30 30
 
31 31
     @ApiModelProperty("问题整改率")
32
-    private BigDecimal problemRectification;
32
+    private BigDecimal problemRectificationRate;
33 33
 }