fix
This commit is contained in:
@@ -100,7 +100,7 @@ public class PlayCommodityInfoServiceImpl extends ServiceImpl<PlayCommodityInfoM
|
|||||||
public List<PlayCommodityInfoEntity> selectByType() {
|
public List<PlayCommodityInfoEntity> selectByType() {
|
||||||
LambdaQueryWrapper<PlayCommodityInfoEntity> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<PlayCommodityInfoEntity> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
lambdaQueryWrapper.eq(PlayCommodityInfoEntity::getItemType, "服务类型");
|
lambdaQueryWrapper.eq(PlayCommodityInfoEntity::getItemType, "服务类型");
|
||||||
lambdaQueryWrapper.orderByAsc(PlayCommodityInfoEntity::getSort);
|
lambdaQueryWrapper.orderByDesc(PlayCommodityInfoEntity::getSort);
|
||||||
return this.baseMapper.selectList(lambdaQueryWrapper);
|
return this.baseMapper.selectList(lambdaQueryWrapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -126,8 +126,7 @@ public class WxClerkCommodityController {
|
|||||||
PlayCommodityReturnVo item = it.next();
|
PlayCommodityReturnVo item = it.next();
|
||||||
if ("00".equals(item.getPId()) && item.getChild().isEmpty()) {
|
if ("00".equals(item.getPId()) && item.getChild().isEmpty()) {
|
||||||
it.remove();
|
it.remove();
|
||||||
}
|
} else if (clerkCommodityEntities != null && "00".equals(item.getPId()) && !clerkCommodityEntities.containsKey(item.getId())) {
|
||||||
if (clerkCommodityEntities != null && "00".equals(item.getPId()) && !clerkCommodityEntities.containsKey(item.getId())) {
|
|
||||||
it.remove();
|
it.remove();
|
||||||
}
|
}
|
||||||
formatPlayCommodityReturnVoTree(item.getChild(), clerkCommodityEntities);
|
formatPlayCommodityReturnVoTree(item.getChild(), clerkCommodityEntities);
|
||||||
|
|||||||
Reference in New Issue
Block a user