|
@@ -172,7 +172,7 @@ public class ZEngineeringCivilServiceImpl implements IZEngineeringCivilService {
|
|
lqw.eq(StringUtils.isNotBlank(bo.getBuildingId()), ZEngineeringCivil::getBuildingId, bo.getBuildingId());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getBuildingId()), ZEngineeringCivil::getBuildingId, bo.getBuildingId());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getUnitId()), ZEngineeringCivil::getUnitId, bo.getUnitId());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getUnitId()), ZEngineeringCivil::getUnitId, bo.getUnitId());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getDistrict()), ZEngineeringCivil::getDistrict, bo.getDistrict());
|
|
lqw.eq(StringUtils.isNotBlank(bo.getDistrict()), ZEngineeringCivil::getDistrict, bo.getDistrict());
|
|
- lqw.last("limit "+(pageQuery.getPageNum() - 1)+","+(pageQuery.getPageNum()*pageQuery.getPageSize()));
|
|
|
|
|
|
+ //lqw.last("limit "+(pageQuery.getPageNum() - 1)+","+(pageQuery.getPageNum()*pageQuery.getPageSize()));
|
|
LambdaQueryWrapper<ZEngineeringCivil> lqw2 = Wrappers.lambdaQuery();
|
|
LambdaQueryWrapper<ZEngineeringCivil> lqw2 = Wrappers.lambdaQuery();
|
|
lqw2.eq(StringUtils.isNotBlank(bo.getEnginType()), ZEngineeringCivil::getEnginType, bo.getEnginType());
|
|
lqw2.eq(StringUtils.isNotBlank(bo.getEnginType()), ZEngineeringCivil::getEnginType, bo.getEnginType());
|
|
lqw2.eq(StringUtils.isNotBlank(bo.getEnginClassification()), ZEngineeringCivil::getEnginClassification, bo.getEnginClassification());
|
|
lqw2.eq(StringUtils.isNotBlank(bo.getEnginClassification()), ZEngineeringCivil::getEnginClassification, bo.getEnginClassification());
|
|
@@ -190,7 +190,14 @@ public class ZEngineeringCivilServiceImpl implements IZEngineeringCivilService {
|
|
{
|
|
{
|
|
return TableDataInfo.build(result);
|
|
return TableDataInfo.build(result);
|
|
}
|
|
}
|
|
- result = baseMapper.queryPageIdList(IDList, baseMapper.selectCount(lqw2), page,pageQuery.getPageNum() - 1, pageQuery.getPageSize());
|
|
|
|
|
|
+ LinkedList <String>list=baseMapper.getTableNames("z_engineering_info");
|
|
|
|
+ List DateList=new ArrayList();
|
|
|
|
+ list.removeLast();
|
|
|
|
+ list.stream().forEach(item->{
|
|
|
|
+
|
|
|
|
+ DateList.add(item.substring(item.indexOf("2")));
|
|
|
|
+ });
|
|
|
|
+ result = baseMapper.queryPageIdList(IDList, baseMapper.getTypeNumber(DateList,bo), page,pageQuery.getPageNum() - 1, pageQuery.getPageSize());
|
|
Map<String,Object> ReviewList=zEngineeringNodeService.ReViewList(result.getRecords());
|
|
Map<String,Object> ReviewList=zEngineeringNodeService.ReViewList(result.getRecords());
|
|
result.getRecords().forEach(item->{
|
|
result.getRecords().forEach(item->{
|
|
item.setNodeReViewStateList(ReviewList.get(item.getId()));
|
|
item.setNodeReViewStateList(ReviewList.get(item.getId()));
|