| | |
| | | package com.iailab.module.data.point.service.impl; |
| | | |
| | | public class ArcPointSettingServiceImpl { |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.iailab.framework.common.service.impl.BaseServiceImpl; |
| | | import com.iailab.module.data.point.dao.ArcPointSettingDao; |
| | | import com.iailab.module.data.point.entity.ArcPointSettingEntity; |
| | | import com.iailab.module.data.point.service.ArcPointSettingService; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.*; |
| | | |
| | | @Service |
| | | public class ArcPointSettingServiceImpl extends BaseServiceImpl<ArcPointSettingDao, ArcPointSettingEntity> implements ArcPointSettingService { |
| | | |
| | | @Autowired |
| | | private ArcPointSettingDao arcPointSettingDao; |
| | | |
| | | @Override |
| | | public List<ArcPointSettingEntity> list(Map<String, Object> params) { |
| | | Object type = params.get("type"); |
| | | QueryWrapper<ArcPointSettingEntity> queryWrapper = new QueryWrapper(); |
| | | queryWrapper.eq(!ObjectUtils.isEmpty(type), "type", type); |
| | | return arcPointSettingDao.selectList(queryWrapper); |
| | | } |
| | | } |