zoujiajian 3 ani în urmă
părinte
comite
232f6a7434
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      netflix-dao/src/main/resources/mapper/CouponUserMapper.xml

+ 1 - 1
netflix-dao/src/main/resources/mapper/CouponUserMapper.xml

@@ -196,6 +196,6 @@
               where channel = #{channel}
               where channel = #{channel}
                 and user_id = #{userId}
                 and user_id = #{userId}
                 and valid_end_time > #{now} limit 1) cu
                 and valid_end_time > #{now} limit 1) cu
-                 inner join coupon cp on cp.id = cu.coupon_id
+                 inner join coupon c on c.id = cu.coupon_id
     </select>
     </select>
 </mapper>
 </mapper>