浏览代码

查看作业libId取service表

shenhao 4 年之前
父节点
当前提交
17e540a2c9
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/main/resources/mybatis/mapper/CuratorMapper.xml

+ 3 - 2
src/main/resources/mybatis/mapper/CuratorMapper.xml

@@ -416,9 +416,10 @@
             AND to_days(  #{queryEndDate} ) >= to_days( t11.create_time )
             AND to_days(  #{queryEndDate} ) >= to_days( t11.create_time )
         </if>
         </if>
         )t11 on t12.id = t11.vip_id
         )t11 on t12.id = t11.vip_id
-        LEFT JOIN tb_lib_join t13 ON t12.lib_id = t13.id
+        left join tb_lib_vip_service t14 on t12.id = t14.vip_id
+        LEFT JOIN tb_lib_join t13 ON t14.lib_id = t13.id
         WHERE
         WHERE
-        t12.lib_id = #{libId}
+        t14.lib_id = #{libId}
         <if test="searchValue != '' ">
         <if test="searchValue != '' ">
             and t12.child_name regexp #{searchValue}
             and t12.child_name regexp #{searchValue}
         </if>
         </if>