Pārlūkot izejas kodu

-- 查询车辆信息

star 1 gadu atpakaļ
vecāks
revīzija
5e7ca55467

+ 2 - 3
warewms-ams/src/main/resources/mapper/ams/CarInfoMapper.xml

@@ -21,9 +21,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <select id="queryCarInfos"  resultMap="CarInfoResult" parameterType="Object">
-        select carNo,IF(ifnull(wt.task_no,0) = 0,'否','是') as userdefine4
-        from car_info ci
-        LEFT JOIN (select * from wcs_task where state not in ('2','6','7')) wt on wt.agv_no = ci.carNo
+        select *
+        from car_info
         order by carNo
     </select>
 </mapper>