|
@@ -222,9 +222,12 @@ public class AppXunjianServiceImpl extends BaseServiceImpl implements AppXunjian
|
|
TAttach tAttach = new TAttach();
|
|
TAttach tAttach = new TAttach();
|
|
tAttach.setAttachId(UUID.fastUUID().toString());
|
|
tAttach.setAttachId(UUID.fastUUID().toString());
|
|
tAttach.setBusId(tBusTrack.getBusTrackId());
|
|
tAttach.setBusId(tBusTrack.getBusTrackId());
|
|
- tAttach.setAttachUrl(pic.getPic_key() + ".png");
|
|
|
|
- tAttach.setAttachName(pic.getPic_key());
|
|
|
|
- tAttach.setAttachLabel(pic.getPic_value());
|
|
|
|
|
|
+// tAttach.setAttachUrl(pic.getPic_key() + ".png");
|
|
|
|
+// tAttach.setAttachName(pic.getPic_key());
|
|
|
|
+// tAttach.setAttachLabel(pic.getPic_value());
|
|
|
|
+ tAttach.setAttachLabel(pic.getRealUrl());
|
|
|
|
+ tAttach.setAttachName(pic.getFileNname());
|
|
|
|
+ tAttach.setAttachUrl(pic.getUrl());
|
|
attachMapper.insertTAttach(tAttach);
|
|
attachMapper.insertTAttach(tAttach);
|
|
}
|
|
}
|
|
}
|
|
}
|