瀏覽代碼

监理开工预付款

yangyj 1 年之前
父節點
當前提交
45a16579d8

+ 1 - 1
blade-service-api/blade-manager-api/src/main/java/org/springblade/manager/vo/MeterType.java

@@ -25,7 +25,7 @@ public enum MeterType {
     public static MeterType getByIndex(int index,int contractType) {
         MeterType[] values = MeterType.values();
         if(contractType==2&&(index==0||index==2)){
-            index*=2;
+            index=index+3;
         }
         if (index >= 0 && index < values.length) {
             return values[index];