| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.zy.asrs.wms.asrs.mapper.TaskMapper"> |
| | | |
| | | <select id="selectWaitWaveOut" resultType="com.zy.asrs.wms.asrs.entity.Task"> |
| | | select * from man_task mt |
| | | left join man_task_detl mtd |
| | | on mt.id = mtd.task_id |
| | | where task_sts not in (199,200) |
| | | and wave_id in |
| | | <foreach item="item" collection="waveIds" index="index" separator="," open="(" close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </select> |
| | | |
| | | </mapper> |
| | | <?xml version="1.0" encoding="UTF-8"?>
|
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
| | | <mapper namespace="com.zy.asrs.wms.asrs.mapper.TaskMapper">
|
| | |
|
| | | <select id="selectWaitWaveOut" resultType="com.zy.asrs.wms.asrs.entity.Task">
|
| | | select * from man_task mt
|
| | | left join man_task_detl mtd
|
| | | on mt.id = mtd.task_id
|
| | | where task_sts not in (199,200)
|
| | | and wave_id in
|
| | | <foreach item="item" collection="waveIds" index="index" separator="," open="(" close=")">
|
| | | #{item}
|
| | | </foreach>
|
| | | </select>
|
| | |
|
| | | </mapper>
|