|
@@ -21,9 +21,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<select id="queryCarInfos" resultMap="CarInfoResult" parameterType="Object">
|
|
<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
|
|
order by carNo
|
|
</select>
|
|
</select>
|
|
</mapper>
|
|
</mapper>
|