From 4a36a12d40453f7686e5f2664f19601b9f6b9ae2 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期四, 22 八月 2024 14:39:52 +0800 Subject: [PATCH] order status --- pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml index 705cb10..6bfacd5 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml @@ -33,7 +33,9 @@ from pr_order where id = #{id,jdbcType=BIGINT} </select> - + <select id="selectOrderNameById" parameterType="java.lang.Long" resultType="String"> + select name from pr_order where id=#{orderId,jdbcType=BIGINT} + </select> <select id="exists" resultType="java.lang.Boolean"> select count(1) from pr_order where name = #{name} <if test="id != null"> -- Gitblit v1.8.0