he2802 3 жил өмнө
parent
commit
d4cbf6c317

+ 2 - 2
zhongzheng-system/src/main/java/com/zhongzheng/modules/order/bo/OrderGoodsQueryBo.java

@@ -45,8 +45,8 @@ public class OrderGoodsQueryBo extends BaseEntity {
 	@ApiModelProperty("商品id")
 	private Long goodsId;
 	/** 商品id */
-	@ApiModelProperty("商品id数组")
-	private List<Long> goodsIds;
+	@ApiModelProperty("订单商品id数组")
+	private List<Long> orderGoodsIds;
 	/** 商品采集数据 */
 	@ApiModelProperty("商品采集数据")
 	private String goodsInputData;

+ 2 - 2
zhongzheng-system/src/main/resources/mapper/modules/order/OrderGoodsMapper.xml

@@ -77,8 +77,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="orderSn != null and orderSn != ''">
                 AND og.order_sn =  #{orderSn}
             </if>
-            <if test="goodsIds != null and goodsIds.size()!=0 ">
-                AND og.goods_id in
+            <if test="orderGoodsId != null and orderGoodsId.size()!=0 ">
+                AND og.order_goods_id in
                 <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
                     #{item}
                 </foreach>