Просмотр исходного кода

根据标签获取项目SQL修改

anderx лет назад: 7
Родитель
Сommit
a9982048b5

+ 1 - 1
src/main/java/com/goafanti/common/mapper/JtBusinessProjectMapper.xml

@@ -907,7 +907,7 @@
   </select>
   
   <!-- 根据项目标签名称查出拥有该标签的项目  -->
-  <select id="getProjectByTag" resultType="com.goafanti.common.model.JtBusinessProject">
+  <select id="getProjectByTag" resultMap="BaseResultMap">
   select p.* from jt_tag t 
   inner join jt_business_project_tag pt on t.id = pt.tag_id
   inner join jt_business_project p on pt.project_id = p.id