综合查询删除

This commit is contained in:
马三炮 2025-04-03 15:45:56 +08:00
parent 9a87411a67
commit cbe71e31d1
5 changed files with 18 additions and 0 deletions

View File

@ -66,4 +66,6 @@ public interface SynthesisQueryDao {
* @date 2025/4/3 14:57
*/
String getSyData(SynthesisQueryVo vo);
void deleteComprehensiveQuery(Long id);
}

View File

@ -63,4 +63,10 @@ public interface SynthesisQueryService {
* @date 2025/4/3 14:23
*/
ServerResponse generateWatermark(SynthesisQueryVo data);
/**
* 综合查询删除
* @param id
*/
void deleteComprehensiveQuery(Long id);
}

View File

@ -130,6 +130,11 @@ public class SynthesisQueryServiceImpl implements SynthesisQueryService {
}
}
@Override
public void deleteComprehensiveQuery(Long id) {
synthesisQueryDao.deleteComprehensiveQuery(id);
}
public String generateWatermarkData(SynthesisQueryVo vo){
// 准备多行水印文本
List<String> watermarkLines = new ArrayList<>();

View File

@ -69,6 +69,7 @@ public class CoordinatePhotoServiceImpl implements CoordinatePhotoService {
try {
coordinatePhotoMapper.deleteCoordinatePhoto(data);
sysFileResourceService.deleteFileResource(data.getId());
synthesisQueryService.deleteComprehensiveQuery(data.getId());
return ServerResponse.createSuccess();
} catch (Exception e) {
log.error(e.toString(), e);

View File

@ -69,6 +69,10 @@
1
</trim>
</insert>
<delete id="deleteComprehensiveQuery">
update tb_comprehensive_query set is_active ='0'
where id = #{id}
</delete>
<!--综合查询-照片综合查询-照片数量-->
<select id="getImgNum" resultType="com.bonus.imgTool.backstage.entity.SynthesisNumVo">