| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.jeecg.modules.base.mapper.LineSideWarehouseMapper"> |
| | | |
| | | <select id="queryByProductionType" resultType="org.jeecg.modules.base.entity.LineSideWarehouse"> |
| | | select t1.* from base_line_side_warehouse t1 |
| | | left join base_factory t2 on t1.factory_id = t2.id |
| | | where t1.del_flag='0' and t1.warehouse_status='1' and |
| | | <foreach collection="types" item="item" open=" t2.production_type IN (" close=")" separator=",">#{item}</foreach> |
| | | order by t1.warehouse_code |
| | | </select> |
| | | </mapper> |