综合查询删除
This commit is contained in:
parent
9a87411a67
commit
cbe71e31d1
|
|
@ -66,4 +66,6 @@ public interface SynthesisQueryDao {
|
|||
* @date 2025/4/3 14:57
|
||||
*/
|
||||
String getSyData(SynthesisQueryVo vo);
|
||||
|
||||
void deleteComprehensiveQuery(Long id);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,4 +63,10 @@ public interface SynthesisQueryService {
|
|||
* @date 2025/4/3 14:23
|
||||
*/
|
||||
ServerResponse generateWatermark(SynthesisQueryVo data);
|
||||
|
||||
/**
|
||||
* 综合查询删除
|
||||
* @param id
|
||||
*/
|
||||
void deleteComprehensiveQuery(Long id);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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<>();
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue