Browse Source

修改属性首页问题整改率

csg6 10 months ago
parent
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
         data1.setDeptName("测试部门V1");
127
         data1.setDeptName("测试部门V1");
128
         data1.setProblemTotal(10);
128
         data1.setProblemTotal(10);
129
         data1.setProblemComplete(9);
129
         data1.setProblemComplete(9);
130
-        data1.setProblemRectification(new BigDecimal(0.9));
130
+        data1.setProblemRectificationRate(new BigDecimal(0.9));
131
         dataList.add(data1);
131
         dataList.add(data1);
132
 
132
 
133
 
133
 
@@ -136,7 +136,7 @@ public class PostCheckedHomePageController extends BaseController {
136
         data2.setDeptName("测试部门V2");
136
         data2.setDeptName("测试部门V2");
137
         data2.setProblemTotal(8);
137
         data2.setProblemTotal(8);
138
         data2.setProblemComplete(4);
138
         data2.setProblemComplete(4);
139
-        data2.setProblemRectification(new BigDecimal(0.5));
139
+        data2.setProblemRectificationRate(new BigDecimal(0.5));
140
         dataList.add(data2);
140
         dataList.add(data2);
141
 
141
 
142
         return success(dataList);
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
     private Integer problemComplete;
29
     private Integer problemComplete;
30
 
30
 
31
     @ApiModelProperty("问题整改率")
31
     @ApiModelProperty("问题整改率")
32
-    private BigDecimal problemRectification;
32
+    private BigDecimal problemRectificationRate;
33
 }
33
 }