| | |
| | | ]]> |
| | | </where> |
| | | </select> |
| | | |
| | | <!-- 分页查询所有信息 --> |
| | | <select id="queryViewStockUse1List" parameterType="com.zy.asrs.entity.ViewStockUseBean" resultType="com.zy.asrs.entity.ViewStockUseBean"> |
| | | select top (#{pageSize}) * from agv_stk_use_view1 |
| | | <where> |
| | | row1 not in (select top ((#{pageNumber}-1)*#{pageSize}) row1 from agv_stk_use_view1 |
| | | <where> |
| | | 1=1 |
| | | <include refid="viewStockUseConditionSql"></include> |
| | | </where> |
| | | order by row1 asc) |
| | | <include refid="viewStockUseConditionSql"></include> |
| | | <![CDATA[ |
| | | order by row1 asc |
| | | ]]> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="getViewStockUse1Count" parameterType="com.zy.asrs.entity.ViewStockUseBean" resultType="Integer"> |
| | | select count(1) from agv_stk_use_view1 |
| | | <where> |
| | | <![CDATA[ |
| | | 1=1 |
| | | ]]> |
| | | <include refid="viewStockUseConditionSql"></include> |
| | | </where> |
| | | </select> |
| | | |
| | | <!-- 不分页查询所有信息,用于excel导出 --> |
| | | <select id="getViewStockUse1All" parameterType="com.zy.asrs.entity.ViewStockUseBean" resultType="com.zy.asrs.entity.ViewStockUseBean"> |
| | | select * from agv_stk_use_view1 |
| | | <where> |
| | | <![CDATA[ |
| | | 1=1 |
| | | ]]> |
| | | <include refid="viewStockUseConditionSql"></include> |
| | | <![CDATA[ |
| | | order by row1 asc |
| | | ]]> |
| | | </where> |
| | | </select> |
| | | |
| | | <!-- 分页查询所有信息 --> |
| | | <select id="queryViewStockUse3List" parameterType="com.zy.asrs.entity.ViewStockUseBean" resultType="com.zy.asrs.entity.ViewStockUseBean"> |
| | | select top (#{pageSize}) * from agv_stk_use_view3 |
| | | <where> |
| | | row1 not in (select top ((#{pageNumber}-1)*#{pageSize}) row1 from agv_stk_use_view3 |
| | | <where> |
| | | 1=1 |
| | | <include refid="viewStockUseConditionSql"></include> |
| | | </where> |
| | | order by row1 asc) |
| | | <include refid="viewStockUseConditionSql"></include> |
| | | <![CDATA[ |
| | | order by row1 asc |
| | | ]]> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="getViewStockUse3Count" parameterType="com.zy.asrs.entity.ViewStockUseBean" resultType="Integer"> |
| | | select count(1) from agv_stk_use_view3 |
| | | <where> |
| | | <![CDATA[ |
| | | 1=1 |
| | | ]]> |
| | | <include refid="viewStockUseConditionSql"></include> |
| | | </where> |
| | | </select> |
| | | |
| | | <!-- 不分页查询所有信息,用于excel导出 --> |
| | | <select id="getViewStockUse3All" parameterType="com.zy.asrs.entity.ViewStockUseBean" resultType="com.zy.asrs.entity.ViewStockUseBean"> |
| | | select * from agv_stk_use_view3 |
| | | <where> |
| | | <![CDATA[ |
| | | 1=1 |
| | | ]]> |
| | | <include refid="viewStockUseConditionSql"></include> |
| | | <![CDATA[ |
| | | order by row1 asc |
| | | ]]> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectWorkCountIn" resultType="com.zy.asrs.entity.ViewWorkCountInView"> |
| | | SELECT * |
| | | FROM ( |