瀏覽代碼

WalletBillMapper 中的方法添加 @Param

reghao 8 月之前
父節點
當前提交
16803c5c2a

+ 1 - 1
user/user-service/src/main/java/cn/reghao/tnb/user/app/db/mapper/WalletBillMapper.java

@@ -15,5 +15,5 @@ import java.util.List;
 @Mapper
 public interface WalletBillMapper extends BaseMapper<WalletBill> {
     List<WalletBill> findByOwner(@Param("pageSize") int pageSize, @Param("owner") long owner);
-    WalletDetail findByTypeAndOwner(int type, long owner);
+    WalletDetail findByTypeAndOwner(@Param("type") int type, @Param("owner") long owner);
 }