自定义joinQueryWrapper实现

This commit is contained in:
张松
2025-02-20 14:18:32 +08:00
parent c4f0c9e6d4
commit d8935700f2
4 changed files with 82 additions and 4 deletions

View File

@@ -20,7 +20,7 @@
${qwSql}
limit ${pageOffset}, ${pageSize}
</select>
<select id="selectPageByKeyAndShopId_COUNT" resultType="com.czg.account.dto.pad.PadProductCategoryDTO">
<select id="selectPageByKeyAndShopId_COUNT" resultType="java.lang.Long">
SELECT count(1)
FROM tb_pad_product_category
LEFT JOIN tb_pad_product_category_detail