Browse Source

转换修改

develop
wangsixiang 6 months ago
parent
commit
5170e9111f
  1. 16
      zc-business/src/main/java/com/zc/business/enums/ValueConverter.java

16
zc-business/src/main/java/com/zc/business/enums/ValueConverter.java

@ -31,12 +31,12 @@ public class ValueConverter {
static {
valueMappingSource.put(1,5);
valueMappingSource.put(4,7);
valueMappingSource.put(7,7);
valueMappingSource.put(2,7);
valueMappingSource.put(3,7);
valueMappingSource.put(5,7);
valueMappingSource.put(6,7);
valueMappingSource.put(4,10);
valueMappingSource.put(7,13);
valueMappingSource.put(2,8);
valueMappingSource.put(3,9);
valueMappingSource.put(5,11);
valueMappingSource.put(6,12);
valueMappingHost.put(1, 4);
valueMappingHost.put(2, 5);
valueMappingHost.put(3, 5);
@ -286,8 +286,8 @@ public class ValueConverter {
//测试
// @Test
// public void text(){
// String i="1-1";
// String i1 = ValueConverter.convertValueSon(i);
// int i=5;
// int i1 = ValueConverter.convertValueSource(i);
// System.out.println(i1+"--------------");
// }

Loading…
Cancel
Save