Helius
2021-01-16 9fbd7c475b86b79d2820fc6cf8b49c408dd279c7
zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderItemDao.xml
@@ -535,4 +535,16 @@
        where a.ORDER_ID=#{orderId};
    </select>
    <select id="selectErpOrderItemByOrderId"
            resultType="com.matrix.system.shopXcx.api.vo.ErpOrderDetailItemVo">
            select
               b.name goodsName,
               a.COUNT count,
               a.PRICE price,
               a.ZK_PRICE zkPrice
        from sys_order_item a
        inner join shopping_goods b on a.goods_id=b.id
        where a.ORDER_ID=#{orderId}
    </select>
</mapper>