| | |
| | | package com.fgkj.services; |
| | | |
| | | import com.fgkj.dto.Fbsdev_Statechange_inf; |
| | | import com.fgkj.dto.ServiceModel; |
| | | import com.fgkj.mapper.impl.Fbsdev_Statechange_infMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import javax.annotation.Resource; |
| | | @Service |
| | | public class Fbsdev_Statechange_infService { |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private Fbsdev_Statechange_infMapper mapper;; |
| | | |
| | | private ServiceModel model; |
| | | ServiceModel model = new ServiceModel(); |
| | | |
| | | //根据设备id,时间等条件筛选设备 |
| | | public ServiceModel serchByCondition(Object obj){ |
| | | public ServiceModel serchByCondition(Fbsdev_Statechange_inf obj){ |
| | | List list=mapper.serchByCondition(obj); |
| | | |
| | | if(list!=null&&list.size()>0){ |