he2802 2 years ago
parent
commit
ae01398078

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

@@ -313,6 +313,9 @@
         <if test="goodsStatus != null ">
         <if test="goodsStatus != null ">
             AND g.goods_status = #{goodsStatus}
             AND g.goods_status = #{goodsStatus}
         </if>
         </if>
+        <if test="commitPeriodStatus != null ">
+            AND g.commit_period_status = #{commitPeriodStatus}
+        </if>
         <if test="studyStartTime != null and studyStartTime != '' and studyEndTime != null and studyEndTime != ''">
         <if test="studyStartTime != null and studyStartTime != '' and studyEndTime != null and studyEndTime != ''">
             and #{studyStartTime} BETWEEN g.validity_start_time and g.validity_end_time or #{studyEndTime} BETWEEN
             and #{studyStartTime} BETWEEN g.validity_start_time and g.validity_end_time or #{studyEndTime} BETWEEN
             g.validity_start_time and g.validity_end_time
             g.validity_start_time and g.validity_end_time