多单位版国产化地质资料管理系统
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.CatSmxxMapper;
import com.zbooksoft.gdmis.data.entity.CatSmxx;
import com.zbooksoft.gdmis.service.CatSmxxService;
import org.springframework.stereotype.Service;
 
/**
 * @Description
 * @Author zhai
 * @Date 2024/7/31
 **/
@Service
public class CatSmxxServiceImpl extends ServiceImpl<CatSmxxMapper, CatSmxx> implements CatSmxxService {
    @Override
    public boolean deleteCatSmxxByAjId(Long ajId) {
        QueryWrapper<CatSmxx> catSmxxQueryWrapper = new QueryWrapper<>();
        catSmxxQueryWrapper.eq("aj_id", ajId);
        return this.remove(catSmxxQueryWrapper);
    }
}