From adef9ab40d4a7763cc3d70b582f511175e2cad61 Mon Sep 17 00:00:00 2001
From: 18516761980 <56479841@qq.com>
Date: 星期四, 23 六月 2022 10:01:19 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/LocDetlMapper.xml | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index 26dabee..d66d35c 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -5,16 +5,17 @@
<!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 -->
<resultMap id="BaseResultMap" type="com.zy.asrs.entity.LocDetl">
<result column="loc_no" property="locNo" />
- <result column="matnr" property="matnr" />
- <result column="maktx" property="maktx" />
- <result column="lgnum" property="lgnum" />
- <result column="type" property="type" />
+ <result column="mat_no" property="matNo" />
+ <result column="mat_name" property="matName" />
+ <result column="specs" property="specs" />
+ <result column="size" property="size" />
<result column="color" property="color" />
+ <result column="weight" property="weight" />
<result column="supplier" property="supplier" />
<result column="warehouse" property="warehouse" />
<result column="brand" property="brand" />
- <result column="anfme" property="anfme" />
- <result column="altme" property="altme" />
+ <result column="qty" property="qty" />
+ <result column="unit" property="unit" />
<result column="zpallet" property="zpallet" />
<result column="bname" property="bname" />
<result column="memo" property="memo" />
@@ -28,11 +29,11 @@
<if test="loc_no!=null and loc_no!='' ">
and a.loc_no like '%' + #{loc_no} + '%'
</if>
- <if test="matnr!=null and matnr!='' ">
- and a.matnr like '%' + #{matnr} + '%'
+ <if test="matNo!=null and matNo!='' ">
+ and a.mat_no like '%' + #{matNo} + '%'
</if>
- <if test="maktx!=null and maktx!='' ">
- and a.maktx like '%' + #{maktx} + '%'
+ <if test="matName!=null and matName!='' ">
+ and a.mat_name like '%' + #{matName} + '%'
</if>
<if test="anfme!=null and anfme!='' ">
and a.anfme like '%' + #{anfme} + '%'
--
Gitblit v1.9.1