执法检查抽样数据加密解密测试

This commit is contained in:
luolianxin 2025-10-17 17:48:20 +08:00
parent 218ec0f473
commit 501bdfe082
1 changed files with 13 additions and 0 deletions

View File

@ -526,6 +526,19 @@ public class EnforceCheckService {
return save;
}
/**
* 根据执法信息ID查询抽样数据
*
* @param enforcementId 执法信息ID
* @return 抽样数据
*/
public Optional<SpotCheck> getSpotCheck(String enforcementId) {
return spotCheckRepo.findByEnforcementId(enforcementId).map(o -> {
o.setSpotCheckList(spotCheckListRepo.findBySpotId(o.getSpotId()));
return o;
});
}
/**
* 修改抽样数据
*