From bd90850664bfe4b43df094321e811f3bb398f97f Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期四, 12 十二月 2024 18:01:01 +0800 Subject: [PATCH] resultIndex --- iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/ProjectDao.xml | 23 ----------------------- 1 files changed, 0 insertions(+), 23 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/ProjectDao.xml b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/ProjectDao.xml index e707de7..a29d5d1 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/ProjectDao.xml +++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/ProjectDao.xml @@ -12,27 +12,4 @@ <result property="pyName" column="py_name"/> </collection> </resultMap> - - <select id="getPageList" resultMap="projectModel" resultType="com.iailab.module.model.mpk.dto.ProjectDTO"> - SELECT - t1.id, - t1.project_name, - t1.project_code, - t1.create_time, - t2.model_id, - t3.py_name - FROM - t_mpk_project t1 - LEFT JOIN t_mpk_project_model t2 on t1.id = t2.project_id - LEFT JOIN t_mpk_file t3 ON t2.model_id = t3.id - <where> - <if test="params.projectName != null and params.projectName != ''"> - and t1.project_name like CONCAT('%',#{params.projectName},'%') - </if> - <if test="params.projectCode != null and params.projectCode != ''"> - and t1.project_code like CONCAT('%',#{params.projectCode},'%') - </if> - </where> - order by t1.create_time desc - </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3