开发OTA备案工具-车辆升级
This commit is contained in:
+5
-1
@@ -131,7 +131,11 @@ public class OtaBaCxJsfzbacsServiceImpl extends ServiceImpl<OtaBaCxJsfzbacsMappe
|
|||||||
if (null != bjObj) {
|
if (null != bjObj) {
|
||||||
try {
|
try {
|
||||||
field.setAccessible(true);
|
field.setAccessible(true);
|
||||||
field.set(otaBaCxJsfzbacs, bjObj.toString());
|
if (bjObj instanceof Integer) {
|
||||||
|
field.set(otaBaCxJsfzbacs, (Integer) bjObj);
|
||||||
|
} else {
|
||||||
|
field.set(otaBaCxJsfzbacs, bjObj.toString());
|
||||||
|
}
|
||||||
} catch (IllegalAccessException e) {
|
} catch (IllegalAccessException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user