Commit 052fd5af by Jbb

postgresql 时间格式的转化问题2

parent b7182608
...@@ -2,7 +2,6 @@ package com.founder.view.service.impl; ...@@ -2,7 +2,6 @@ package com.founder.view.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.founder.commonutils.publicEntity.MapRestResult; import com.founder.commonutils.publicEntity.MapRestResult;
import com.founder.commonutils.viewEntity.TbStLayer;
import com.founder.commonutils.viewEntity.TbStLayerData; import com.founder.commonutils.viewEntity.TbStLayerData;
import com.founder.view.mapper.TbStLayerDataMapper; import com.founder.view.mapper.TbStLayerDataMapper;
import com.founder.view.service.TbStLayerDataService; import com.founder.view.service.TbStLayerDataService;
...@@ -34,7 +33,7 @@ public class TbStLayerDataServiceImpl extends ServiceImpl<TbStLayerDataMapper, T ...@@ -34,7 +33,7 @@ public class TbStLayerDataServiceImpl extends ServiceImpl<TbStLayerDataMapper, T
return MapRestResult.build(200,"图层数据查询成功!",pageInfo.getTotal(),pageInfo); return MapRestResult.build(200,"图层数据查询成功!",pageInfo.getTotal(),pageInfo);
}else{ }else{
List<TbStLayerData> tbStLayerDatas = tbStLayerDataMapper.selectByGlId(layerId); List<TbStLayerData> tbStLayerDatas = tbStLayerDataMapper.selectByGlId(layerId);
return MapRestResult.build(200,"图层数据查询成功!",null,tbStLayerDatas); return MapRestResult.build(200,"图层数据查询成功!",tbStLayerDatas.size(),tbStLayerDatas);
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment