Explorar o código

修改PostPushDao.xml,移除重复查询字段

cornyuan hai 7 meses
pai
achega
d2e055ce6b
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      src/main/resources/mapper/resumes/PostPushDao.xml

+ 3 - 2
src/main/resources/mapper/resumes/PostPushDao.xml

@@ -186,9 +186,10 @@
           and p.status = 2
         GROUP BY BINARY rule_classify_name
     </select>
-    <select id="getAdminPostPushList" resultType="com.sqx.modules.resumes.entity.PostPush">
+    <select id="getAdminPostPushList" parameterType="com.sqx.modules.resumes.entity.PostPush"
+            resultType="com.sqx.modules.resumes.entity.PostPush">
         SELECT p.*,
-        u.user_id,
+<!--        u.user_id,-->
         IFNULL(c.company_name, "企业不存在") AS company_name,
         IFNULL(u.user_name, "未设置") AS user_name
         FROM post_push p