14 changed files with 113 additions and 27 deletions
@ -0,0 +1,25 @@ |
|||
package com.ccsens.logistics.bean.vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author 马 |
|||
*/ |
|||
@Data |
|||
public class ParkVo { |
|||
|
|||
@Data |
|||
@ApiModel("仓库及摄像头") |
|||
public static class ParkInfo{ |
|||
@ApiModelProperty("园区设备") |
|||
private List<EquipmentVo.ParkEquipment> parkEquipment = new ArrayList<>(); |
|||
@ApiModelProperty("仓库信息") |
|||
private List<WarehouseVo.AllWarehouse> warehouseInfo = new ArrayList<>(); |
|||
} |
|||
|
|||
} |
@ -1,11 +1,21 @@ |
|||
package com.ccsens.logistics.persist.dao; |
|||
|
|||
import com.ccsens.logistics.bean.vo.EquipmentVo; |
|||
import com.ccsens.logistics.persist.mapper.LogisticsParkEquipmentMapper; |
|||
import org.springframework.stereotype.Repository; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author 马 |
|||
*/ |
|||
@Repository |
|||
public interface LogisticsParkEquipmentDao extends LogisticsParkEquipmentMapper { |
|||
/** |
|||
* 查询园区下的设备 |
|||
* @param parkId 园区id |
|||
* @return 园区设备列表 |
|||
*/ |
|||
List<EquipmentVo.ParkEquipment> selParkEquipment(Long parkId); |
|||
|
|||
} |
|||
|
Loading…
Reference in new issue