zouxuan 5 anos atrás
pai
commit
07bb464150

+ 3 - 3
mec-biz/src/main/resources/config/mybatis/GoodsMapper.xml

@@ -354,10 +354,10 @@
         <result property="image" column="image_"/>
         <result property="goodsName" column="name_"/>
         <result property="goodsType" column="type_"/>
-        <result property="goodsPrice" column="market_price_"/>
-        <result property="totalGoodsPrice" column="market_price_"/>
+        <result property="goodsPrice" column="discount_price_"/>
+        <result property="totalGoodsPrice" column="discount_price_"/>
     </resultMap>
     <select id="queryGoodsSellDtos" resultMap="GoodsSellDtoMap">
-        SELECT id_,image_,name_,type_,market_price_,market_price_ FROM goods WHERE FIND_IN_SET(id_,#{goodsId})
+        SELECT id_,image_,name_,type_,discount_price_ FROM goods WHERE FIND_IN_SET(id_,#{goodsId})
     </select>
 </mapper>