From b0c345d2a74f47e5c34617051bcd61becde11b96 Mon Sep 17 00:00:00 2001 From: yaowanxin <3588231647@qq.com> Date: 星期五, 15 八月 2025 14:09:59 +0800 Subject: [PATCH] 业务流程修改 --- src/main/resources/mapper/warehouse/DocumentationMapper.xml | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/resources/mapper/warehouse/DocumentationMapper.xml b/src/main/resources/mapper/warehouse/DocumentationMapper.xml index 533002a..768e272 100644 --- a/src/main/resources/mapper/warehouse/DocumentationMapper.xml +++ b/src/main/resources/mapper/warehouse/DocumentationMapper.xml @@ -6,7 +6,7 @@ <resultMap id="BaseResultMap" type="com.ruoyi.warehouse.pojo.Documentation"> <id property="id" column="id" jdbcType="BIGINT"/> - <result property="categoryName" column="category_name" jdbcType="VARCHAR"/> + <result property="documentClassificationId" column="document_classification_id"/> <result property="docName" column="doc_name" jdbcType="VARCHAR"/> <result property="docNumber" column="doc_number" jdbcType="BIGINT"/> <result property="year" column="year" jdbcType="BIGINT"/> @@ -42,17 +42,14 @@ <select id="listPage" resultType="com.ruoyi.warehouse.pojo.Documentation"> select * from documentation where 1=1 - <if test="documentation.categoryName != null"> - and category_name = #{documentation.categoryName} + <if test="documentation.documentClassificationId != null"> + and document_classification_id = #{documentation.documentClassificationId} </if> <if test="documentation.docName != null"> and doc_name = #{documentation.docName} </if> <if test="documentation.docNumber != null"> and doc_number = #{documentation.docNumber} - </if> - <if test="documentation.warehouse_goods_shelves_rowcol_id != null"> - and warehouse_goods_shelves_rowcol_id = #{documentation.warehouseGoodsShelvesRowcolId} </if> </select> <select id="list" resultType="com.ruoyi.warehouse.pojo.Documentation"> -- Gitblit v1.9.3