|
|
@ -14,8 +14,8 @@ public class ValueFormatUtil { |
|
|
* */ |
|
|
* */ |
|
|
public static String getNumBerJx(float getVal,MeterConfig config, MeterConfigService meterConfigService){ |
|
|
public static String getNumBerJx(float getVal,MeterConfig config, MeterConfigService meterConfigService){ |
|
|
int s = (int) getVal; |
|
|
int s = (int) getVal; |
|
|
Integer jz = Integer.valueOf(config.getJzVal())+1; |
|
|
|
|
|
if(StringUtils.isNotEmpty(config.getJzVal())){ |
|
|
if(StringUtils.isNotEmpty(config.getJzVal())){ |
|
|
|
|
|
Integer jz = Integer.valueOf(config.getJzVal())+1; |
|
|
if(s==jz){ |
|
|
if(s==jz){ |
|
|
config.setJzVal(jz+""); |
|
|
config.setJzVal(jz+""); |
|
|
meterConfigService.updateById(config); |
|
|
meterConfigService.updateById(config); |
|
|
|