|
|
@ -25,6 +25,7 @@ import com.elink.esua.epdc.commons.tools.page.PageData; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.ConvertUtils; |
|
|
|
import com.elink.esua.epdc.commons.tools.constant.FieldConstant; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.TreeUtils; |
|
|
|
import com.elink.esua.epdc.dto.TypeNode; |
|
|
|
import com.elink.esua.epdc.dto.suggestion.SuggestionTypeDTO; |
|
|
|
import com.elink.esua.epdc.modules.suggestion.dao.SuggestionTypeDao; |
|
|
@ -64,9 +65,8 @@ public class SuggestionTypeServiceImpl extends BaseServiceImpl<SuggestionTypeDao |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<SuggestionTypeDTO> list(Map<String, Object> params) { |
|
|
|
List<SuggestionTypeEntity> entityList = baseDao.selectList(getWrapper(params)); |
|
|
|
|
|
|
|
return ConvertUtils.sourceToTarget(entityList, SuggestionTypeDTO.class); |
|
|
|
// List<SuggestionTypeDTO> result = baseDao.getList(params);
|
|
|
|
return null;//TreeUtils.build(result);
|
|
|
|
} |
|
|
|
|
|
|
|
private QueryWrapper<SuggestionTypeEntity> getWrapper(Map<String, Object> params){ |
|
|
|