xiaoyong931011
2023-02-09 e92b00089d8d57899df380135d79864dade09837
src/main/resources/mapper/dapp/IgtOnHookPlanOrderItemDao.xml
@@ -46,9 +46,8 @@
    <select id="selectTotalProfitByMemberIdAndStateAndIsgoal" resultType="java.math.BigDecimal">
        SELECT
            ifnull(sum(a.profit),0)
        FROM igt_on_hook_plan_order_item a
        FROM igt_on_hook_plan_order a
        where  a.member_id = #{memberId}
          and a.is_goal = #{isGoal}
          and a.state = #{state}
    </select>