自动化立体仓库 - WMS系统
#
lty
2026-04-24 17f5d5ef7f8fb0f26d68331c012d2ca251a4f386
#
2个文件已修改
37 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/controller/ReportQueryController.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/ViewWorkInMapper.xml 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/controller/ReportQueryController.java
@@ -232,6 +232,12 @@
    //------------------日出库明细统计--------------------------------------
    @RequestMapping("/viewWorkOutList.action")
    public R viewWorkOutList(ViewWorkInBean bean){
        if (bean.getPageNumber() <= 0) {
            bean.setPageNumber(1);
        }
        if (bean.getPageSize() <= 0) {
            bean.setPageSize(16);
        }
        List<ViewWorkInBean> list = reportQueryMapper.queryViewWorkOutList(bean);
        int count = reportQueryMapper.getViewWorkOutCount(bean);
        Page<ViewWorkInBean> page = new Page<>();
src/main/resources/mapper/ViewWorkInMapper.xml
@@ -8,6 +8,8 @@
    <result column="row" property="row"/>
    <result column="io_time" property="io_time"/>
    <result column="loc_no" property="loc_no"/>
    <result column="crn_str_time" property="crn_str_time"/>
    <result column="crn_end_time" property="crn_end_time"/>
    <result column="zpallet" property="zpallet"/>
    <result column="anfme" property="anfme"/>
    <result column="matnr" property="matnr"/>
@@ -80,20 +82,17 @@
        <if test="matnr!=null and matnr!='' ">
            and matnr like '%' + #{matnr} + '%'
        </if>
        <if test="maktx!=null and maktx!='' ">
            and (maktx like '%' + #{maktx} + '%'
            or matnr like '%' + #{maktx} + '%'
            or lgnum like '%' + #{maktx} + '%'
            or tbnum like '%' + #{maktx} + '%'
            or tbpos like '%' + #{maktx} + '%'
            or zmatid like '%' + #{maktx} + '%'
            or maktx like '%' + #{maktx} + '%'
            or werks like '%' + #{maktx} + '%'
            or anfme like '%' + #{maktx} + '%'
            or altme like '%' + #{maktx} + '%'
            or zpallet like '%' + #{maktx} + '%'
            or bname like '%' + #{maktx} + '%'
            )
        <if test="anfme != null and anfme != ''">
            and anfme = #{anfme}
        </if>
        <if test="standby1 != null and standby1 != ''">
            and standby1 like concat('%',#{standby1},'%')
        </if>
        <if test="standby3 != null and standby3 != ''">
            and standby3 like concat('%',#{standby3},'%')
        </if>
        <if test="zpallet != null and zpallet != ''">
            and zpallet like concat('%',#{zpallet},'%')
        </if>
        <if test="begin_date!=null and begin_date!='' ">
            <![CDATA[
@@ -145,7 +144,7 @@
<!-- 出库统计 -->
<!-- 分页查询所有信息 -->
<select id="queryViewWorkOutList" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
<select id="queryViewWorkOutList" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultMap="ViewWorkInResultMap">
    select
    *
    from (
@@ -170,7 +169,7 @@
</select>
<!-- 不分页查询所有信息,用于excel导出 -->
<select id="getViewWorkOutAll" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
<select id="getViewWorkOutAll" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultMap="ViewWorkInResultMap">
    select *
    from asr_wrkout_view a
    where 1=1