bug
This commit is contained in:
@@ -9,8 +9,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@RestController("commonTaihuWelfare")
|
@RestController("commonTaihuWelfare")
|
||||||
@RequestMapping("common/taihuWelfare")
|
@RequestMapping("common/taihuWelfare")
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ public class TaihuWelfareServiceImpl extends ServiceImpl<TaihuWelfareDao, TaihuW
|
|||||||
wrapper.leftJoin(ShopProduct.class,ShopProduct::getProductId,ShopStoreToProductEntity::getProductId);
|
wrapper.leftJoin(ShopProduct.class,ShopProduct::getProductId,ShopStoreToProductEntity::getProductId);
|
||||||
wrapper.eq(ShopStoreToProductEntity::getStoreId,1);
|
wrapper.eq(ShopStoreToProductEntity::getStoreId,1);
|
||||||
wrapper.orderByAsc(ShopStoreToProductEntity::getSort);
|
wrapper.orderByAsc(ShopStoreToProductEntity::getSort);
|
||||||
Page<ShopStoreToProductEntity> shopStoreToProductEntityPage = shopStoreToProductDao.selectPage(new Page<>(param.getPage(), param.getLimit()), wrapper);
|
Page<ShopProduct> shopProductPage = shopStoreToProductDao.selectJoinPage(new Page<>(param.getPage(), param.getLimit()), ShopProduct.class, wrapper);
|
||||||
return R.ok().put("page",shopStoreToProductEntityPage);
|
return R.ok().put("page",shopProductPage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user