Browse Source

ljx:修改匹配接口返回的数据值为百分比类型

ljx 1 month ago
parent
commit
6dc49e6648

+ 1 - 1
enteprise-admin/src/main/java/com/enteprise/matchAnalysis/service/impl/MatchServiceImpl.java

@@ -179,6 +179,6 @@ public class MatchServiceImpl implements IMatchService {
         if (oldValue1 != 0) {
             industrialRate = (newValue1 - oldValue1) / oldValue1;
         }
-        return  employeeRate - industrialRate;
+        return  (employeeRate - industrialRate)*100;
     }
 }