| | |
| | | ]]> |
| | | </if> |
| | | </sql> |
| | | <resultMap id="ViewInOutMap" type="com.zy.asrs.entity.ViewInOutBean"> |
| | | |
| | | <result column="ymd" property="ymd"/> |
| | | <result column="source_sta_no" property="source_sta_no"/> |
| | | |
| | | <result column="sto_qty" property="sto_qty"/> |
| | | <result column="ret_qty" property="ret_qty"/> |
| | | <result column="total_qty" property="total_qty"/> |
| | | |
| | | <!-- 查询条件字段(一般不从 SQL 返回,也写上不影响) --> |
| | | <result column="begin_date" property="begin_date"/> |
| | | <result column="end_date" property="end_date"/> |
| | | |
| | | </resultMap> |
| | | <!-- 分页查询所有信息 --> |
| | | <select id="queryViewInOutList" parameterType="com.zy.asrs.entity.ViewInOutBean" resultType="com.zy.asrs.entity.ViewInOutBean"> |
| | | <select id="queryViewInOutList" parameterType="com.zy.asrs.entity.ViewInOutBean" resultMap="ViewInOutMap"> |
| | | select * from ( |
| | | select *,ROW_NUMBER() OVER(Order by ymd desc) as rowid |
| | | from asr_sta_inout_view |