积分问题

banner问题
This commit is contained in:
2024-12-30 23:43:41 +08:00
parent 5f3e76fb5c
commit f5b2f827d1
6 changed files with 16 additions and 15 deletions

View File

@@ -3,11 +3,11 @@
<mapper namespace="com.sqx.modules.banner.dao.BannerDao">
<select id="selectList" resultType="com.sqx.modules.banner.entity.Banner">
select * from banner
where classify=#{classify} and `state`=1
order by `sort` desc
</select>
<!-- <select id="selectList" resultType="com.sqx.modules.banner.entity.Banner">-->
<!-- select * from banner-->
<!-- where classify=#{classify} and `state`=1-->
<!-- order by `sort` desc-->
<!-- </select>-->
<select id="selectLists" resultType="com.sqx.modules.banner.entity.Banner">
select * from banner

View File

@@ -3,9 +3,9 @@
<mapper namespace="com.sqx.modules.pay.dao.PayDetailsDao">
<select id="selectById" resultType="com.sqx.modules.pay.entity.PayDetails">
select * from pay_details d where d.id=#{id}
</select>
<!-- <select id="selectById" resultType="com.sqx.modules.pay.entity.PayDetails">-->
<!-- select * from pay_details d where d.id=#{id}-->
<!-- </select>-->
<select id="selectByRemark" resultType="com.sqx.modules.pay.entity.PayDetails">
select * from pay_details d where d.remark=#{remark}