#
18516761980
2022-07-22 b743b62c7d57c84d16422841b0b51e85fe53a891
src/main/resources/mapper/WaitPakOutMapper.xml
@@ -43,7 +43,11 @@
</update>
<select id="countEmsNum" resultType="integer">
   select count(*) from cust_wait_pakout where ems_status = 1
   select count(*) from (select vlpla from cust_wait_pakout where ems_status = 1 group by vlpla) t;
</select>
<select id="queryWaitOutPak" resultType="com.slcf.pojo.WaitPakOutBean">
   select * from cust_wait_pakout where vlpla = #{vlpla} and matnr = #{matnr}
</select>
<select id="getWaitPakOutCount" parameterType="com.slcf.bean.WaitPakOutCondition"   resultType="Integer">
@@ -55,4 +59,20 @@
<include refid="WaitPakOutConditionSql"></include>
</where>
</select>
   <!-- 不分页查询所有信息,用于excel导出 -->
   <select id="getWaitPakOutAll" parameterType="com.slcf.bean.WaitPakOutCondition" resultType="com.slcf.pojo.WaitPakOutBean">
      select a.*
      from cust_wait_pakout a
      <where>
         <![CDATA[
1=1
]]>
         <include refid="WaitPakOutConditionSql"></include>
         <![CDATA[
order by a.appe_time desc
]]>
      </where>
   </select>
</mapper>