Commit b2a1e562 by wangli

修改数据库表结构

1 parent f1a4f6e5
...@@ -26,8 +26,8 @@ public class MapLayerCustomizeEntity { ...@@ -26,8 +26,8 @@ public class MapLayerCustomizeEntity {
@Column(name = "layer_describe", nullable = false, length = 200) @Column(name = "layer_describe", nullable = false, length = 200)
private String layerDescribe; private String layerDescribe;
@Column(name = "disabled", nullable = false) @Column(name = "status", nullable = false)
private Boolean disabled; private int status;
@Column(name = "memo", nullable = false, length = 100) @Column(name = "memo", nullable = false, length = 100)
private String memo; private String memo;
......
...@@ -234,7 +234,7 @@ public class BusinessBlockServiceImpl implements BusinessBlockService { ...@@ -234,7 +234,7 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
} }
LambdaQueryWrapper<MapLayerCustomize> lqwLayer = new LambdaQueryWrapper<>(); LambdaQueryWrapper<MapLayerCustomize> lqwLayer = new LambdaQueryWrapper<>();
lqwLayer.eq(MapLayerCustomize::getDisabled, 1); lqwLayer.eq(MapLayerCustomize::getStatus, 1);
lqwLayer.in(MapLayerCustomize::getBranchId, new ArrayList<>(branchIds)); lqwLayer.in(MapLayerCustomize::getBranchId, new ArrayList<>(branchIds));
List<MapLayerCustomize> layerCustomizes = mapLayerCustomizeMPDao.selectList(lqwLayer); List<MapLayerCustomize> layerCustomizes = mapLayerCustomizeMPDao.selectList(lqwLayer);
for(MapLayerCustomize r: layerCustomizes) { for(MapLayerCustomize r: layerCustomizes) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!