From 6af9c1de7445337be2e13e150a476497a9708c99 Mon Sep 17 00:00:00 2001
From: pjb <pjb123456>
Date: 星期四, 24 七月 2025 21:08:16 +0800
Subject: [PATCH] 10秒后转历史
---
src/main/resources/mapper/ViewWorkInMapper.xml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/mapper/ViewWorkInMapper.xml b/src/main/resources/mapper/ViewWorkInMapper.xml
index 0f5d0cd..e813cfc 100644
--- a/src/main/resources/mapper/ViewWorkInMapper.xml
+++ b/src/main/resources/mapper/ViewWorkInMapper.xml
@@ -6,10 +6,10 @@
<!-- mapper涓嶆敮鎸乻ql璇彞宓屽鏃讹紝閲囩敤sql鐗囨鍖呭惈鏂瑰紡锛岃В鍐硏ml鏍囩闂 -->
<sql id="viewWorkInConditionSql">
<if test="loc_no!=null and loc_no!='' ">
- and loc_no like '%' + #{loc_no} + '%'
+ and loc_no = #{loc_no}
</if>
<if test="matnr!=null and matnr!='' ">
- and matnr like '%' + #{matnr} + '%'
+ and matnr = #{matnr}
</if>
<if test="anfme != null and anfme != ''">
and anfme = #{anfme}
@@ -94,7 +94,7 @@
ROW_NUMBER() OVER(Order by t.io_time desc) as row
, *
from (
- select *
+ select manu_date manuDate,man_length manLength,*
from asr_wrkin_view
where 1=1
<include refid="viewWorkInConditionSql"></include>
@@ -115,7 +115,7 @@
<!-- from asr_wrkin_view a-->
<!-- where 1=1-->
<!-- <include refid="viewWorkInConditionSql"></include>-->
- select * from asr_wrkin_view
+ select *,manu_date manuDate,man_length manLength from asr_wrkin_view
where 1=1
<include refid="viewWorkInConditionSql"></include>
</select>
@@ -132,7 +132,7 @@
ROW_NUMBER() OVER(Order by t.io_time desc) as row
, *
from (
- select *
+ select manu_date manuDate,man_length manLength,*
from asr_wrkout_view
where 1=1
<include refid="viewWorkInConditionSql"></include>
@@ -150,7 +150,7 @@
<!-- 涓嶅垎椤垫煡璇㈡墍鏈変俊鎭紝鐢ㄤ簬excel瀵煎嚭 -->
<select id="getViewWorkOutAll" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
- select *
+ select *,manu_date manuDate,man_length manLength
from asr_wrkout_view a
where 1=1
<include refid="viewWorkInConditionSql"></include>
--
Gitblit v1.9.1