xiaoyong931011
2022-10-20 6827cdbc773688f34c8b9470bf5300054292fe14
src/main/resources/mapper/dapp/IgtOnHookPlanOrderDao.xml
@@ -38,4 +38,11 @@
            id = #{id}
    </update>
    <select id="selectSumProfitByMemberId" resultType="java.math.BigDecimal">
        SELECT
            ifnull(sum(a.profit),0)
        FROM igt_on_hook_plan_order a
        where a.member_id = #{memberId}
    </select>
</mapper>