package com.zbooksoft.gdmis.service.impl;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.zbooksoft.gdmis.dao.CatCgwjxxMapper;
|
import com.zbooksoft.gdmis.data.entity.CatCgwjxx;
|
import com.zbooksoft.gdmis.service.CatCgwjxxService;
|
import org.springframework.stereotype.Service;
|
|
/**
|
* @Description
|
* @Author zhai
|
* @Date 2024/7/31
|
**/
|
@Service
|
public class CatCgwjxxServiceImpl extends ServiceImpl<CatCgwjxxMapper, CatCgwjxx> implements CatCgwjxxService {
|
@Override
|
public boolean deleteCatCgwjxxByAjId(Long ajId) {
|
QueryWrapper<CatCgwjxx> catCgwjxxQueryWrapper = new QueryWrapper<>();
|
catCgwjxxQueryWrapper.eq("aj_id", ajId);
|
return this.remove(catCgwjxxQueryWrapper);
|
}
|
}
|