|  | @@ -21,6 +21,7 @@ import com.ozs.service.service.MsgAlarmService;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  |  import org.springframework.beans.BeanUtils;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | +import org.springframework.beans.factory.annotation.Value;
 | 
	
		
			
				|  |  |  import org.springframework.util.ObjectUtils;
 | 
	
		
			
				|  |  |  import org.springframework.web.bind.annotation.GetMapping;
 | 
	
		
			
				|  |  |  import org.springframework.web.bind.annotation.PathVariable;
 | 
	
	
		
			
				|  | @@ -32,6 +33,7 @@ import org.springframework.web.bind.annotation.RestController;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import javax.annotation.Resource;
 | 
	
		
			
				|  |  |  import java.util.ArrayList;
 | 
	
		
			
				|  |  | +import java.util.Arrays;
 | 
	
		
			
				|  |  |  import java.util.Date;
 | 
	
		
			
				|  |  |  import java.util.List;
 | 
	
		
			
				|  |  |  import java.util.stream.Collectors;
 | 
	
	
		
			
				|  | @@ -55,6 +57,8 @@ public class MsgAlarmController extends BaseController {
 | 
	
		
			
				|  |  |      BaseCameraManagementService baseCameraManagementService;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      BaseRailwayManagementService baseRailwayManagementService;
 | 
	
		
			
				|  |  | +    @Value("${base.imgUrl:http://124.71.171.71:18801/picbucket}")
 | 
	
		
			
				|  |  | +    private String imgUrl; 
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /**
 | 
	
		
			
				|  |  |       * 测试消息推送
 | 
	
	
		
			
				|  | @@ -124,6 +128,13 @@ public class MsgAlarmController extends BaseController {
 | 
	
		
			
				|  |  |          IPage<MsgAlarm> page = msgAlarmService.page(new Page<>(msgAlarmVo.getPageNum(), msgAlarmVo.getPageSize()), lw);
 | 
	
		
			
				|  |  |          if(!ObjectUtils.isEmpty(page) && !ObjectUtils.isEmpty(page.getRecords())){
 | 
	
		
			
				|  |  |              List<MsgAlarm> dto1 = page.getRecords().stream().map(o -> {
 | 
	
		
			
				|  |  | +                ArrayList<String> objects = new ArrayList<>();
 | 
	
		
			
				|  |  | +                String[] split = o.getImageUrl().split(";");
 | 
	
		
			
				|  |  | +                for (String s : split) {
 | 
	
		
			
				|  |  | +                    s=imgUrl+s;
 | 
	
		
			
				|  |  | +                    objects.add(s);
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                o.setImageUrlS(objects);
 | 
	
		
			
				|  |  |                  LambdaQueryWrapper<BaseCameraManagement> cameraManagementLambdaQueryWrapper = new LambdaQueryWrapper<BaseCameraManagement>();
 | 
	
		
			
				|  |  |                  if (!ObjectUtils.isEmpty(o.getCameraCode())) {
 | 
	
		
			
				|  |  |                      cameraManagementLambdaQueryWrapper.eq(BaseCameraManagement::getCameraCode, o.getCameraCode());
 |