Commit ad0f27c2 by 刘宇峰

车辆上牌资料添加日志

1 parent ef74e34d
...@@ -119,20 +119,19 @@ public class VehicleDocService { ...@@ -119,20 +119,19 @@ public class VehicleDocService {
public PageInfo<VehicleApproDto> search(VehicleApproSearch vehicleDocSearch) { public PageInfo<VehicleApproDto> search(VehicleApproSearch vehicleDocSearch) {
PageHelper.startPage(vehicleDocSearch.getPageNumber(), vehicleDocSearch.getPageSize()); PageHelper.startPage(vehicleDocSearch.getPageNumber(), vehicleDocSearch.getPageSize());
List<VehicleApproDto> vehicleDtoPageInfo = vehicleDocMapper.search(vehicleDocSearch); List<VehicleApproDto> vehicleDtoPageInfo = vehicleDocMapper.search(vehicleDocSearch);
vehicleDtoPageInfo.forEach(index->{ vehicleDtoPageInfo.forEach(index -> {
if(index.getStatus()==null||index.getStatus()== ApprovalStatusEnum.APPROVAL_STATUS_REJECT.getCode()){ if (index.getStatus() == null || ApprovalStatusEnum.APPROVAL_STATUS_REJECT.getCode().equals(index.getStatus())) {
index.setIsbutton(true); index.setIsbutton(true);
}else{ } else {
index.setIsbutton(false); index.setIsbutton(false);
} }
if(index.getStatus()==null){ if (index.getStatus() == null) {
index.setSubmitStatus("0"); index.setSubmitStatus("0");
}else{ } else {
index.setSubmitStatus("1"); index.setSubmitStatus("1");
} }
}); });
organizaService.drawOrganization(vehicleDtoPageInfo); organizaService.drawOrganization(vehicleDtoPageInfo);
log.info("上牌车辆提交数据,{}",vehicleDtoPageInfo);
return new PageInfo<>(vehicleDtoPageInfo); return new PageInfo<>(vehicleDtoPageInfo);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!