소스 검색

凯和单航次配船查询查已配船但为到港卸货的

lazhaoqian 4 년 전
부모
커밋
5566d97c93
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      ruoyi-warehouse/src/main/resources/mapper/warehouseBusiness/TWarehousebillsMapper.xml

+ 2 - 1
ruoyi-warehouse/src/main/resources/mapper/warehouseBusiness/TWarehousebillsMapper.xml

@@ -2615,7 +2615,8 @@
         where
             tw.f_typeid = '1'
             and tw.del_flag = '0'
-            and f_cargo_planning = '0'
+            and tw.f_cargo_planning = '0'
+            and tw.f_arrival_status != '2'
         <if test="fVslid != null ">and tw.f_vslid = #{fVslid}</if>
         <if test="fVoyid != null ">and tw.f_voyid = #{fVoyid}</if>
         GROUP BY tw.f_vslid,tw.f_voyid