| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import static java.util.Objects.isNull; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | |
| | | import com.panzhihua.service_community.dao.ConvenientProductCategoryDAO; |
| | | import com.panzhihua.service_community.model.dos.ConvenientProductCategoryDO; |
| | | import com.panzhihua.service_community.service.ConvenientProductCategoryService; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import static java.util.Objects.isNull; |
| | | |
| | | /** |
| | | * @title: ConvenientProductCategoryServiceImpl |
| | |
| | | IPage<ConvenientProductCategoryVO> iPage = this.baseMapper.pageProductCategory(page, pageConvenientProductCategoryDTO); |
| | | return R.ok(iPage); |
| | | } |
| | | |
| | | @Override |
| | | public R getAllProductCategory() { |
| | | return R.ok(this.baseMapper.selectAllCategories()); |
| | | } |
| | | } |