海南版本提交
This commit is contained in:
@@ -1018,7 +1018,7 @@ public class CarryCapcityServiceImpl implements CarryCapcityService {
|
||||
carryCapacityResultPO.setIResultList(JSONUtil.toJsonStr(carryCapacityIResultList));
|
||||
long count = carryCapacityIResultList.stream().filter(temp -> temp.getI() > temp.getI_limit()).count();
|
||||
carryCapacityResultPO.setReslutLevel(count==0?6:5);
|
||||
|
||||
vo.setReslutLevel(count==0?6:5);
|
||||
carryCapacityResultPOService.save(carryCapacityResultPO);
|
||||
|
||||
return vo;
|
||||
|
||||
@@ -35,7 +35,6 @@ import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
import org.springframework.util.ObjectUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
@@ -173,8 +172,8 @@ public class RGeneralSurveyPlanPOServiceImpl extends MppServiceImpl<RGeneralSurv
|
||||
}
|
||||
queryWrapper.in(RGeneralSurveyPlanPO::getStatus, statusList);
|
||||
queryWrapper.orderByAsc(RGeneralSurveyPlanPO::getStatus).orderByDesc(RGeneralSurveyPlanPO::getPlanCreateTime);
|
||||
|
||||
List<RGeneralSurveyPlanPO> rGeneralSurveyPlanPOS = rGeneralSurveyPlanPOMapper.selectPage(page, queryWrapper).getRecords();
|
||||
IPage<RGeneralSurveyPlanPO> rGeneralSurveyPlanPOIPage = rGeneralSurveyPlanPOMapper.selectPage(page, queryWrapper);
|
||||
List<RGeneralSurveyPlanPO> rGeneralSurveyPlanPOS = rGeneralSurveyPlanPOIPage.getRecords();
|
||||
if (CollectionUtils.isEmpty(rGeneralSurveyPlanPOS)) {
|
||||
return returnpage;
|
||||
}
|
||||
@@ -220,6 +219,7 @@ public class RGeneralSurveyPlanPOServiceImpl extends MppServiceImpl<RGeneralSurv
|
||||
rGeneralSurveyPlanVOList.add(rGeneralSurveyPlanVO);
|
||||
});
|
||||
returnpage.setRecords(rGeneralSurveyPlanVOList);
|
||||
returnpage.setTotal(rGeneralSurveyPlanPOIPage.getTotal());
|
||||
return returnpage;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user