多单位版国产化地质资料管理系统
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
    }
}