| | |
| | | <result column="goodsCostPrice" property="goodsCostPrice" /> |
| | | <result column="goodsSalePrice" property="goodsSalePrice" /> |
| | | <result column="goodsCount" property="goodsCount" /> |
| | | <result column="salePrice" property="salePrice" /> |
| | | <result column="thisSalePrice" property="thisSalePrice" /> |
| | | <result column="goodsPicture" property="goodsPicture" /> |
| | | <result column="typeName" property="typeName" /> |
| | | <result column="typeId" property="typeId" /> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <sql id="Base_Column_List"> |
| | | id, orderId, goodsNum, goodsName, goodsCostPrice, goodsSalePrice, goodsCount, salePrice, goodsPicture,typeName,typeId |
| | | id, orderId, goodsNum, goodsName, goodsCostPrice, goodsSalePrice, goodsCount, thisSalePrice, goodsPicture,typeId |
| | | </sql> |
| | | <select id="costTotal" resultType="java.math.BigDecimal"> |
| | | select sum(goodsCostPrice) from t_order_meal_goods |