|
@@ -69,11 +69,11 @@ public class MsTripController {
|
|
|
Map<String, Object> mm = (Map) jsonWapper.asList("tripDet").get(i);
|
|
|
msTripDet = new MsTripDet();
|
|
|
msTripDet.setSort(i+1);
|
|
|
- msTripDet.setStartLocal(Integer.parseInt(mm.get("startLocal").toString()));
|
|
|
+ msTripDet.setStartLocal(Conv.NI(mm.get("startLocal")));
|
|
|
msTripDet.setStartLocalOther(mm.get("startLocalOther").toString());
|
|
|
- msTripDet.setEndLocal(Integer.parseInt(mm.get("endLocal").toString()));
|
|
|
+ msTripDet.setEndLocal(Conv.NI(mm.get("endLocal")));
|
|
|
msTripDet.setEndLocalOther(mm.get("endLocalOther").toString());
|
|
|
- msTripDet.setTripType(Integer.parseInt(mm.get("tripType").toString()));
|
|
|
+ msTripDet.setTripType(Conv.NI(mm.get("tripType")));
|
|
|
msTripDet.setTripTypeDesp(mm.get("tripTypeDesp").toString());
|
|
|
listTripDet.add(msTripDet);
|
|
|
}
|