package com.sqx.modules.artificer.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sqx.modules.app.entity.UserMoneyDetails;
import com.sqx.modules.artificer.dao.MassageTypeDao;
import com.sqx.modules.artificer.dao.OrdersMassageDao;
import com.sqx.modules.artificer.entity.MassageType;
import com.sqx.modules.artificer.entity.OrdersMassage;
import com.sqx.modules.artificer.service.MassageTypeService;
import com.sqx.modules.artificer.service.OrdersMassageService;
import org.springframework.stereotype.Service;


@Service
public class OrdersMassageServiceImpl extends ServiceImpl<OrdersMassageDao, OrdersMassage> implements OrdersMassageService {

    public void removeByOrdersId(Long ordersId){
        QueryWrapper<OrdersMassage> queryWrapper = new QueryWrapper();
        queryWrapper.eq("orders_id", ordersId);
        baseMapper.delete(queryWrapper);
    }

}