luofl
2025-02-20 e4eaabefaaa2ca95f809c47a11712c3bee56e1b5
ruoyi-service/ruoyi-other/src/main/resources/mapper/other/ShopMapper.xml
@@ -68,9 +68,9 @@
            SUM(ts.can_withdraw_money) canWithdrawMoney,
            SUM(ts.withdraw_money) alreadyWithdrawMoney
        FROM
            t_shop ts
            t_shop ts where ts.del_flag = 0
            <if test="null != shopId">
                where ts.id = #{shopId}
                and ts.id = #{shopId}
            </if>
    </select>
</mapper>