袁少华 4 years ago
parent
commit
0aa9f08f14

+ 1 - 1
src/main/java/org/jeecg/modules/fbsDispatchList/mapper/xml/FbsDispatchListMapper.xml

@@ -6,7 +6,7 @@
          SELECT top 6 <!--c.cWhName '仓库',a.cInvCode '物料编码',d.cInvName '物料名称',d.cInvStd '规格',
                 a.iQuantity - a.fOutQuantity '已做发货单未出库数据',b.dDate '到货日期'-->
                 c.cWhName warehouseName,a.cInvCode materialCode,d.cInvName materialName,d.cInvStd specs,
-                a.iQuantity - a.fOutQuantity sendSum,b.,CONVERT(varchar(30),b.dDate,23) planSendDate
+                a.iQuantity - a.fOutQuantity sendSum,CONVERT(varchar(30),b.dDate,23) planSendDate
         FROM
              DispatchLists a
              left join DispatchList b on a.DLID  = b.DLID

+ 0 - 11
src/main/java/org/jeecg/modules/fbsPerson/mapper/xml/FbsPersonMapper.xml

@@ -21,15 +21,4 @@
              where cpersonCode=#{code}
     </select>
 
-
-    <select id="selNowDispatchList" resultType="org.jeecg.modules.fbsWorkshopDispatchList.entity.FbsWorkshopDispatchList">
-        SELECT
-            a.*,b.firstTime
-        FROM
-            fbs_workshop_dispatch_list a
-            left join fbs_working_statistics b on a.id = b.pk_workshop_dispatch_list and b.del_falg='0' and b.state='1'
-        WHERE
-            a.del_flag = '0' <!--and a.state ='1'-->
-
-    </select>
 </mapper>

+ 1 - 1
src/main/java/org/jeecg/modules/fbsWorkshopDispatchList/mapper/xml/FbsWorkshopDispatchListMapper.xml

@@ -10,7 +10,7 @@
             a.*,b.first_time as firstTime
         FROM
             fbs_workshop_dispatch_list a
-            left join fbs_working_statistics b on a.id = b.pk_workshop_dispatch_list and b.del_flag='0' and b.state='1'
+            left join fbs_working_statistics b on a.id = b.pk_workshop_dispatch_list and b.del_flag='0'
         WHERE
             a.del_flag = '0' <!--and a.state ='1'-->