From 662d609f61c569782844c261a4c1d7535cae878b Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 18 Aug 2022 14:09:22 +0800
Subject: [PATCH] 当全部退回时也会存储退回记录,查看出入库记录时当类型为农资退回时显示 + 而非-
---
src/main/java/org/springblade/modules/system/mapper/DictBizMapper.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/system/mapper/DictBizMapper.xml b/src/main/java/org/springblade/modules/system/mapper/DictBizMapper.xml
index b52d72d..db2e190 100644
--- a/src/main/java/org/springblade/modules/system/mapper/DictBizMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/DictBizMapper.xml
@@ -48,4 +48,11 @@
select id, parent_id, dict_value as title, id as "value", id as "key" from blade_dict_biz where is_deleted = 0 and parent_id = 0
</select>
+ <!--获取字典-微信小程序-->
+ <select id="getListWx" resultMap="dictResultMap">
+ select id, parent_id, code, dict_key, dict_value, sort, remark from blade_dict_biz
+ where code = #{code} and tenant_id = #{tenantId}
+ and parent_id > 0 and is_sealed = 0 and is_deleted = 0
+ </select>
+
</mapper>
--
Gitblit v1.9.3