| | |
| | | import com.walker.infrastructure.utils.DateUtils; |
| | | import com.walker.infrastructure.utils.StringUtils; |
| | | import com.walker.jdbc.service.BaseServiceImpl; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Comparator; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * @Description 物品分类 |
| | |
| | | if (param.getFatherCategoryId() != null) { |
| | | sql.append("and father_category_id =:fatherCategoryId "); |
| | | paramts.put("fatherCategoryId", param.getFatherCategoryId()); |
| | | } else { |
| | | sql.append("and levels =1 "); |
| | | } |
| | | //分类名称 |
| | | if (!StringUtils.isEmpty(param.getCategoryName())) { |