|
|
@ -79,9 +79,9 @@ public class ActCategoryDictServiceImpl extends BaseServiceImpl<ActCategoryDictD |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public List<CategoryCodeResultDTO> queryCategoryList(ActCategoryFormDTO formDTO) { |
|
|
|
List<CategoryCodeResultDTO> list = baseDao.selectCategoryList(formDTO.getCategoryCode(), formDTO.getCustomerId()); |
|
|
|
List<CategoryCodeResultDTO> list = baseDao.selectCategoryList(formDTO.getMenuCode(), formDTO.getCustomerId()); |
|
|
|
if (CollectionUtils.isEmpty(list)) { |
|
|
|
list = baseDao.selectCategoryList(formDTO.getCategoryCode(), GroupActConstant.DEFAULT_CUSTOMER_ID); |
|
|
|
list = baseDao.selectCategoryList(formDTO.getMenuCode(), GroupActConstant.DEFAULT_CUSTOMER_ID); |
|
|
|
} |
|
|
|
return list; |
|
|
|
} |
|
|
|