Antiloveg лет назад: 8
Родитель
Сommit
d0f13d7ba3
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      src/main/java/com/goafanti/common/mapper/ActivityUserMapper.xml

+ 7 - 0
src/main/java/com/goafanti/common/mapper/ActivityUserMapper.xml

@@ -79,4 +79,11 @@
     where aid = #{aid,jdbcType=BIGINT}
       and uid = #{uid,jdbcType=VARCHAR}
   </update>
+  
+  <select id="selectByUid" resultMap="BaseResultMap" parameterType="java.lang.String" >
+    select 
+    <include refid="Base_Column_List" />
+    from activity_user
+    where  uid = #{uid,jdbcType=VARCHAR}
+  </select>
 </mapper>