| | |
| | | </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"> |
| | |
| | | <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> |