|
|
|
@ -105,10 +105,11 @@ public class PlaceController { |
|
|
|
} |
|
|
|
if (!"".equals(max)) { |
|
|
|
Double maxQuantity = ObjectFormatUtil.toDouble(max); |
|
|
|
maxQuantity *= 100; |
|
|
|
if (maxQuantity >= 999999999) { |
|
|
|
insert.put("max", 999999999); |
|
|
|
} else { |
|
|
|
insert.put("max", map.get("max")); |
|
|
|
insert.put("max",maxQuantity); |
|
|
|
} |
|
|
|
} else { |
|
|
|
insert.put("max", 0); |
|
|
|
@ -148,10 +149,11 @@ public class PlaceController { |
|
|
|
insert.put("kingdeecode", kingdeeCode); |
|
|
|
insert.put("min", min); |
|
|
|
Double maxQuantity = ObjectFormatUtil.toDouble(max); |
|
|
|
maxQuantity *= 100; |
|
|
|
if (maxQuantity >= 999999999) { |
|
|
|
insert.put("max", 999999999); |
|
|
|
} else { |
|
|
|
insert.put("max", map.get("max")); |
|
|
|
insert.put("max", maxQuantity); |
|
|
|
} |
|
|
|
insert.put("state", 1); |
|
|
|
insert.put("quantity", 0); |
|
|
|
@ -189,10 +191,11 @@ public class PlaceController { |
|
|
|
} |
|
|
|
if (!"".equals(max)) { |
|
|
|
Double maxQuantity = ObjectFormatUtil.toDouble(max); |
|
|
|
maxQuantity *= 100; |
|
|
|
if (maxQuantity >= 999999999) { |
|
|
|
insert.put("max", 999999999); |
|
|
|
} else { |
|
|
|
insert.put("max", map.get("max")); |
|
|
|
insert.put("max", maxQuantity); |
|
|
|
} |
|
|
|
} else { |
|
|
|
insert.put("max", 0); |
|
|
|
|