From b33e6f53dd537abaebad066de12474580fcc33b2 Mon Sep 17 00:00:00 2001 From: yaowanxin <3588231647@qq.com> Date: 星期四, 21 八月 2025 15:03:14 +0800 Subject: [PATCH] Merge branch 'pim_ywx' --- src/main/resources/mapper/warehouse/DocumentationFileMapper.xml | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/warehouse/DocumentationFileMapper.xml b/src/main/resources/mapper/warehouse/DocumentationFileMapper.xml new file mode 100644 index 0000000..a8b74f9 --- /dev/null +++ b/src/main/resources/mapper/warehouse/DocumentationFileMapper.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > +<mapper namespace="com.ruoyi.warehouse.mapper.DocumentationFileMapper"> + <select id="documentationFileListPage" resultType="com.ruoyi.warehouse.pojo.DocumentationFile"> + SELECT + * + FROM documentation_file + where + 1=1 + <if test="documentationFile.name != null and documentationFile.name != '' "> + AND name = #{documentationFile.name} + </if> + <if test="documentationFile.documentationId != null"> + AND documentation_id = #{documentationFile.documentationId} + </if> + </select> +</mapper> -- Gitblit v1.9.3