src/main/java/com/mzl/flower/mapper/wallet/WalletMapper.java
@@ -2,6 +2,8 @@ import com.mzl.flower.entity.wallet.WalletDO; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Select; import org.springframework.stereotype.Repository; /** * <p> @@ -11,6 +13,10 @@ * @author @TaoJie * @since 2024-10-22 */ @Repository public interface WalletMapper extends BaseMapper<WalletDO> { @Select("select * from t_wallet where supplier_id =#{supplierId}") public WalletDO getTotalAmount(String supplierId); }