开店管理导出加字段

This commit is contained in:
shuo.wang
2025-02-07 14:40:11 +08:00
parent c87a934bde
commit 279ab0e0d4
4 changed files with 35 additions and 7 deletions

View File

@@ -9,14 +9,15 @@
order by create_time desc
limit 1
</select>
<select id="getPayTimeByShopIds" resultType="java.util.HashMap">
<select id="getPayTimeByShopIds" resultType="com.cool.store.dto.FranchiseFeeDTO">
select a.shop_id AS shopId ,
b.pay_time as payTime
from xfsg_franchise_fee a
LEFT JOIN xfsg_line_pay b ON b.id = a.pay_id;
LEFT JOIN xfsg_line_pay b ON b.id = a.pay_id
where a.shop_id in
<foreach collection="shopIds" item="shopId" open="(" separator="," close=")">
#{shopId}
</foreach>
</select>
</mapper>