xucaiqin преди 2 години
родител
ревизия
fd74a42d79

+ 1 - 1
sckw-modules/sckw-payment/src/main/resources/mapper/KwpLedgerLogisticsMapper.xml

@@ -718,7 +718,7 @@
                 </when>
                 <otherwise>
                     and kllu2.top_ent_id = #{logisticsReq.entId,jdbcType=BIGINT}
-                    <if test="logisticsReq.status != null">
+                    <if test="logisticsReq.status != null and logisticsReq.status != 0">
                         and kll.status = #{logisticsReq.status}
                     </if>
                     <if test="logisticsReq.trading != null">

+ 1 - 1
sckw-modules/sckw-payment/src/main/resources/mapper/KwpLedgerTradeMapper.xml

@@ -838,7 +838,7 @@
                 </when>
                 <otherwise>
                     and kltu2.top_ent_id = #{tradeReq.entId,jdbcType=BIGINT}
-                    <if test="tradeReq.status != null">
+                    <if test="tradeReq.status != null and tradeReq.status != 0">
                         and klt.status = #{tradeReq.status}
                     </if>
                     <if test="tradeReq.trading != null">