综合查询删除
This commit is contained in:
parent
9a87411a67
commit
cbe71e31d1
|
|
@ -66,4 +66,6 @@ public interface SynthesisQueryDao {
|
||||||
* @date 2025/4/3 14:57
|
* @date 2025/4/3 14:57
|
||||||
*/
|
*/
|
||||||
String getSyData(SynthesisQueryVo vo);
|
String getSyData(SynthesisQueryVo vo);
|
||||||
|
|
||||||
|
void deleteComprehensiveQuery(Long id);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -63,4 +63,10 @@ public interface SynthesisQueryService {
|
||||||
* @date 2025/4/3 14:23
|
* @date 2025/4/3 14:23
|
||||||
*/
|
*/
|
||||||
ServerResponse generateWatermark(SynthesisQueryVo data);
|
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){
|
public String generateWatermarkData(SynthesisQueryVo vo){
|
||||||
// 准备多行水印文本
|
// 准备多行水印文本
|
||||||
List<String> watermarkLines = new ArrayList<>();
|
List<String> watermarkLines = new ArrayList<>();
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,7 @@ public class CoordinatePhotoServiceImpl implements CoordinatePhotoService {
|
||||||
try {
|
try {
|
||||||
coordinatePhotoMapper.deleteCoordinatePhoto(data);
|
coordinatePhotoMapper.deleteCoordinatePhoto(data);
|
||||||
sysFileResourceService.deleteFileResource(data.getId());
|
sysFileResourceService.deleteFileResource(data.getId());
|
||||||
|
synthesisQueryService.deleteComprehensiveQuery(data.getId());
|
||||||
return ServerResponse.createSuccess();
|
return ServerResponse.createSuccess();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error(e.toString(), e);
|
log.error(e.toString(), e);
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,10 @@
|
||||||
1
|
1
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</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">
|
<select id="getImgNum" resultType="com.bonus.imgTool.backstage.entity.SynthesisNumVo">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue