czh 2 лет назад
Родитель
Сommit
ab3f4b7978

+ 1 - 0
sckw-modules/sckw-contract/src/main/resources/mapper/KwcContractLogisticsMapper.xml

@@ -70,6 +70,7 @@
                 <foreach collection="allEnt" separator="," open="(" close=")" item="item">
                     #{item}
                 </foreach>
+               else 1 = 1
                  end
             and b.del_flag = 0
           left join kwc_contract_logistics_track c on a.id = c.contract_id and c.del_flag = 0 and c.type = 1

+ 1 - 0
sckw-modules/sckw-contract/src/main/resources/mapper/KwcContractTradeMapper.xml

@@ -69,6 +69,7 @@
                 <foreach collection="allEnt" separator="," open="(" close=")" item="item">
                     #{item}
                 </foreach>
+               else 1=1
                 end
            and b.del_flag = 0
           left join kwc_contract_trade_track c on a.id = c.contract_id and c.del_flag = 0 and c.type = 1