From 1c703617885275090d69c697e82e61f4940c0bdc Mon Sep 17 00:00:00 2001 From: yyt <306727702@qq.com> Date: 星期二, 28 五月 2024 14:20:29 +0800 Subject: [PATCH] 380新产品,优化 --- jcdm-main/src/main/resources/mapper/da/passingStationCollection/DaPassingStationCollectionMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/jcdm-main/src/main/resources/mapper/da/passingStationCollection/DaPassingStationCollectionMapper.xml b/jcdm-main/src/main/resources/mapper/da/passingStationCollection/DaPassingStationCollectionMapper.xml index d38a3dd..f4a5e06 100644 --- a/jcdm-main/src/main/resources/mapper/da/passingStationCollection/DaPassingStationCollectionMapper.xml +++ b/jcdm-main/src/main/resources/mapper/da/passingStationCollection/DaPassingStationCollectionMapper.xml @@ -48,6 +48,7 @@ <if test="outRsSign != null "> and out_rs_sign = #{outRsSign}</if> <if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> and outbound_time between #{startTime} and #{endTime}</if> </where> + ORDER BY id DESC </select> <select id="selectDaPassingStationCollectionById" parameterType="Long" resultMap="DaPassingStationCollectionResult"> @@ -150,4 +151,14 @@ #{id} </foreach> </delete> + + <select id="SelectSN" parameterType="java.util.Map" statementType="CALLABLE" resultType="java.lang.String"> + { + call SNRetrieval( + #{SN_CODE,mode=IN,jdbcType=VARCHAR}, + #{Node,mode=IN,jdbcType=VARCHAR}, + #{Success,mode=OUT,jdbcType=VARCHAR} + ) + } + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3