From df9586ac7f3abd90d7b2aec871c7e6ac3d829d94 Mon Sep 17 00:00:00 2001 From: chenhuan <czj123456> Date: 星期四, 16 五月 2024 17:46:22 +0800 Subject: [PATCH] Merge branch 'master' of http://117.78.1.188:8089/r/dkyChenJiang --- javaweb-plus/javaweb-cms/src/main/resources/mapper/geo/ProjectDataMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/javaweb-plus/javaweb-cms/src/main/resources/mapper/geo/ProjectDataMapper.xml b/javaweb-plus/javaweb-cms/src/main/resources/mapper/geo/ProjectDataMapper.xml index 070168f..8b2cb56 100644 --- a/javaweb-plus/javaweb-cms/src/main/resources/mapper/geo/ProjectDataMapper.xml +++ b/javaweb-plus/javaweb-cms/src/main/resources/mapper/geo/ProjectDataMapper.xml @@ -26,7 +26,8 @@ <select id="selectProjectDataList" parameterType="ProjectData" resultMap="ProjectDataResult"> <include refid="selectProjectDataVo"/> - <where> + <where> + <if test="projectId != null and projectId != ''"> and project_id = #{projectId}</if> <if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if> <if test="dataType != null and dataType != ''"> and data_type = #{dataType}</if> <if test="fileType != null and fileType != ''"> and file_type = #{fileType}</if> -- Gitblit v1.9.1