综合查询-设备订单详情
This commit is contained in:
		
							parent
							
								
									05f6a6f9a0
								
							
						
					
					
						commit
						ee5eed0a59
					
				| 
						 | 
				
			
			@ -761,12 +761,16 @@ public class DevInfoServiceImpl implements DevInfoService {
 | 
			
		|||
 | 
			
		||||
    @Override
 | 
			
		||||
    public List<DevInfoVo> getDevList(DevInfoVo devInfo) {
 | 
			
		||||
        Integer rentNum = devInfo.getRentNum();
 | 
			
		||||
        List<DevInfoVo> devList = devInfoMapper.getDevList(devInfo);
 | 
			
		||||
        for (DevInfoVo devInfoVo : devList) {
 | 
			
		||||
            DevInfo devInfo1 = devInfoMapper.getDevStatus(devInfoVo);
 | 
			
		||||
            devInfoVo.setRentNum(devInfo1.getRentNum());
 | 
			
		||||
            devInfoVo.setMaStatus(devInfo1.getMaStatus());
 | 
			
		||||
        }
 | 
			
		||||
        if (rentNum != null){
 | 
			
		||||
            devList = devList.stream().filter(devInfoVo -> devInfoVo.getRentNum().equals(rentNum)).collect(Collectors.toList());
 | 
			
		||||
        }
 | 
			
		||||
        return devList;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -849,6 +849,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
			
		|||
        <if test="typeId != null">
 | 
			
		||||
            AND d.type_id = #{typeId}
 | 
			
		||||
        </if>
 | 
			
		||||
        <if test="maStatus != null">
 | 
			
		||||
            AND d.ma_status = #{maStatus}
 | 
			
		||||
        </if>
 | 
			
		||||
        <if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
 | 
			
		||||
            AND d.update_time BETWEEN CONCAT(#{startTime}, ' 00:00:00') AND CONCAT(#{endTime}, ' 23:59:59')
 | 
			
		||||
        </if>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue