|  |  | 
 |  |  |       <if test="matnr!=null and matnr!='' "> | 
 |  |  |          and matnr like '%' + #{matnr} + '%' | 
 |  |  |       </if> | 
 |  |  |       <if test="specs!=null and specs!='' "> | 
 |  |  |          and specs like '%' + #{specs} + '%' | 
 |  |  |       </if> | 
 |  |  |       <if test="maktx!=null and maktx!='' "> | 
 |  |  |          and (maktx like '%' + #{maktx} + '%' | 
 |  |  |          or matnr like '%' + #{maktx} + '%' | 
 |  |  | 
 |  |  |  | 
 |  |  | <!-- 不分页查询所有信息,用于excel导出 --> | 
 |  |  | <select id="getViewWorkInAll" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean"> | 
 |  |  |    select count(1) | 
 |  |  |    from asr_wrkin_view a | 
 |  |  | <!--   select count(1)--> | 
 |  |  | <!--   from asr_wrkin_view a--> | 
 |  |  | <!--   where 1=1--> | 
 |  |  | <!--   <include refid="viewWorkInConditionSql"></include>--> | 
 |  |  |    select * from asr_wrkin_view | 
 |  |  |    where 1=1 | 
 |  |  |    <include refid="viewWorkInConditionSql"></include> | 
 |  |  |    order by io_time desc | 
 |  |  | </select> | 
 |  |  |  | 
 |  |  | <!-- 出库统计 --> |