执法检查抽样数据加密解密测试
This commit is contained in:
parent
218ec0f473
commit
501bdfe082
|
|
@ -526,6 +526,19 @@ public class EnforceCheckService {
|
||||||
return save;
|
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;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改抽样数据
|
* 修改抽样数据
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue