|
|
|
@ -3,6 +3,7 @@ package com.glxp.api.service.collect;
|
|
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
|
|
import cn.hutool.core.io.FileUtil;
|
|
|
|
|
import cn.hutool.core.util.XmlUtil;
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
|
|
import com.glxp.api.entity.collect.RelCodeDetail;
|
|
|
|
|
import com.glxp.api.exception.JsonException;
|
|
|
|
@ -132,4 +133,11 @@ public class RelCodeBatchService extends ServiceImpl<RelCodeBatchMapper, RelCode
|
|
|
|
|
return this.baseMapper.filterList(relCodeBatchRequest);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void delete(Long id) {
|
|
|
|
|
if(id == null){
|
|
|
|
|
throw new JsonException("id 不能为空");
|
|
|
|
|
}
|
|
|
|
|
relCodeDetailService.remove(new LambdaQueryWrapper<RelCodeDetail>().eq(RelCodeDetail::getBatchIdFk,id));
|
|
|
|
|
this.removeById(id);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|