From b6b46e1c4d390c80cf9bd7d4daa23202f2d11a22 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 26 五月 2023 13:47:57 +0800 Subject: [PATCH] 站点管理编辑高低库位 --- src/main/resources/mapper/ViewWorkInMapper.xml | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/ViewWorkInMapper.xml b/src/main/resources/mapper/ViewWorkInMapper.xml index 703625f..015ed17 100644 --- a/src/main/resources/mapper/ViewWorkInMapper.xml +++ b/src/main/resources/mapper/ViewWorkInMapper.xml @@ -11,6 +11,9 @@ <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} + '%' @@ -99,11 +102,13 @@ <!-- 涓嶅垎椤垫煡璇㈡墍鏈変俊鎭紝鐢ㄤ簬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> <!-- 鍑哄簱缁熻 --> -- Gitblit v1.9.1