浏览代码

学习计划

change 3 年之前
父节点
当前提交
92a230fbae

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/exam/bo/ExamNumberGoodsQueryBo.java

@@ -62,4 +62,7 @@ public class ExamNumberGoodsQueryBo extends BaseEntity {
 
 	@ApiModelProperty("1 前培 2补考")
 	private Long filtration;
+
+	@ApiModelProperty("1上架 0未上架")
+	private Long goodsStatus;
 }

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsMapper.xml

@@ -229,5 +229,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="goodsType != null and goodsType != ''">
             and g.goods_type = #{goodsType}
         </if>
+          <if test="goodsStatus != null and goodsStatus != ''">
+            and g.goods_status = #{goodsStatus}
+        </if>
     </select>
 </mapper>