提交 | 用户 | 时间
|
3205a2
|
1 |
package com.iailab.module.data.point.service.impl; |
D |
2 |
|
5c2e16
|
3 |
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
D |
4 |
import com.iailab.framework.common.service.impl.BaseServiceImpl; |
|
5 |
import com.iailab.module.data.point.dao.ArcPointSettingDao; |
|
6 |
import com.iailab.module.data.point.entity.ArcPointSettingEntity; |
|
7 |
import com.iailab.module.data.point.service.ArcPointSettingService; |
|
8 |
import org.apache.commons.lang3.ObjectUtils; |
|
9 |
import org.springframework.beans.factory.annotation.Autowired; |
|
10 |
import org.springframework.stereotype.Service; |
3205a2
|
11 |
|
5c2e16
|
12 |
import java.util.*; |
D |
13 |
|
|
14 |
@Service |
|
15 |
public class ArcPointSettingServiceImpl extends BaseServiceImpl<ArcPointSettingDao, ArcPointSettingEntity> implements ArcPointSettingService { |
|
16 |
|
|
17 |
@Autowired |
|
18 |
private ArcPointSettingDao arcPointSettingDao; |
|
19 |
|
|
20 |
@Override |
|
21 |
public List<ArcPointSettingEntity> list(Map<String, Object> params) { |
|
22 |
Object type = params.get("type"); |
|
23 |
QueryWrapper<ArcPointSettingEntity> queryWrapper = new QueryWrapper(); |
|
24 |
queryWrapper.eq(!ObjectUtils.isEmpty(type), "type", type); |
|
25 |
return arcPointSettingDao.selectList(queryWrapper); |
|
26 |
} |
3205a2
|
27 |
} |