|
|
@@ -75,7 +75,6 @@ public class FosterwxStationBindBoxServiceImpl extends ServiceImpl<FosterwxStati
|
|
|
* @param row
|
|
|
* @return
|
|
|
*/
|
|
|
- @Transactional(rollbackFor = Exception.class)
|
|
|
public VoltaHandle<Boolean> importData(List<Map<String, String>> row, User authUser) throws Exception {
|
|
|
VoltaHandle<Boolean> res = new VoltaHandle<>();
|
|
|
if (row.size() <= 0) {
|
|
|
@@ -104,7 +103,7 @@ public class FosterwxStationBindBoxServiceImpl extends ServiceImpl<FosterwxStati
|
|
|
if (boxInfo == null) {
|
|
|
throw new Exception("第" + (i + 1) + "行,ghId 在珊瑚云不存在");
|
|
|
}
|
|
|
- fosterwxStationBindBox.setBoxType(Integer.parseInt(boxInfo.get("box_type").toString()));
|
|
|
+ fosterwxStationBindBox.setBoxType(Integer.parseInt(boxInfo.get("boxType").toString()));
|
|
|
AppBaseBasicProfile appBaseBasicProfile = appBaseBasicProfileService.getOne(
|
|
|
new QueryWrapper<AppBaseBasicProfile>().eq("primary_key",fosterwxStationBindBox.getGhId())
|
|
|
);
|