From 34a93b4b34e056ac7c20891efe5630245dc9766c Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 09 六月 2023 16:57:25 +0800
Subject: [PATCH] #出库修改完成数量变更修改工作数量
---
src/main/resources/mapper/LocCheckMapper.xml | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/LocCheckMapper.xml b/src/main/resources/mapper/LocCheckMapper.xml
index 5066d4c..728d148 100644
--- a/src/main/resources/mapper/LocCheckMapper.xml
+++ b/src/main/resources/mapper/LocCheckMapper.xml
@@ -15,6 +15,9 @@
<result column="update_by" property="updateBy" />
<result column="update_time" property="updateTime" />
<result column="memo" property="memo" />
+ <result column="examine" property="examine" />
+ <result column="owner" property="owner" />
+ <result column="payment" property="payment" />
</resultMap>
<!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 -->
@@ -81,4 +84,35 @@
and matnr = #{matnr}
ORDER BY NEWID()
</select>
+
+ <select id="getLocCountLocDetl" resultMap="BaseResultMap2">
+ SELECT TOP ${count}
+ *
+ FROM
+ man_loc_detl
+ WHERE
+ 1 = 1
+ and loc_no = #{loc_no}
+ ORDER BY NEWID()
+ </select>
+
+
+ <select id="getLocCount" resultType="java.lang.String">
+ SELECT loc_no FROM man_loc_detl
+ GROUP BY loc_no
+ </select>
+ <select id="getOwnerCount" resultType="com.zy.asrs.entity.LocOwner">
+ select * from bas_loc_owner
+ </select>
+ <select id="getOwnerCountLocDetl" resultMap="BaseResultMap2">
+ SELECT TOP ${count}
+ *
+ FROM
+ man_loc_detl
+ WHERE
+ 1 = 1
+ and owner = #{owner}
+ ORDER BY NEWID()
+ </select>
+
</mapper>
--
Gitblit v1.9.1