| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | |
| | | @Override |
| | | public List<CokingTraceConfEntity> list(Map<String, Object> params) { |
| | | return cokingTraceConfDao.selectList(new QueryWrapper<CokingTraceConfEntity>().eq(ObjectUtils.isNotEmpty(params.get("indType")),"ind_type",params.get("indType"))); |
| | | String indType = (String) params.get("indType"); |
| | | String ext1 = (String) params.get("ext1"); |
| | | if (StringUtils.isBlank(indType)) { |
| | | return new ArrayList<>(); |
| | | } |
| | | |
| | | QueryWrapper<CokingTraceConfEntity> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.eq("ind_type", indType) |
| | | .eq(StringUtils.isNotBlank(ext1),"ext1", ext1); |
| | | return cokingTraceConfDao.selectList(queryWrapper); |
| | | } |
| | | } |