From 06b182905fcb8ea1931f8a6dd69fd6ef2d4928b8 Mon Sep 17 00:00:00 2001 From: shiyunteng <shiyunteng@example.com> Date: 星期五, 28 三月 2025 15:52:18 +0800 Subject: [PATCH] 合同明细中序列号唯一性判断 台账中业务判断 --- platformx-device-biz/src/main/resources/mapper/ReceivingNoteItemMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/platformx-device-biz/src/main/resources/mapper/ReceivingNoteItemMapper.xml b/platformx-device-biz/src/main/resources/mapper/ReceivingNoteItemMapper.xml index 6ebc75f..4ff3176 100644 --- a/platformx-device-biz/src/main/resources/mapper/ReceivingNoteItemMapper.xml +++ b/platformx-device-biz/src/main/resources/mapper/ReceivingNoteItemMapper.xml @@ -35,5 +35,8 @@ <if test="queryDTO.releaseCode != null and queryDTO.releaseCode !=''"> and rn.release_code like CONCAT('%', #{queryDTO.releaseCode}, '%') </if> + <if test="queryDTO.noteId != null and queryDTO.noteId !=''"> + and rni.note_id = #{queryDTO.noteId} + </if> </select> </mapper> -- Gitblit v1.9.1