执法信息数据加密解密测试

This commit is contained in:
renhao02 2025-10-17 17:49:12 +08:00
parent 501bdfe082
commit 2d18b64128
1 changed files with 0 additions and 6 deletions

View File

@ -370,12 +370,6 @@ public class EnforcementInfoService {
if (enforcementTime == null || enforcementTime.length < 2) {
throw new BusinessError("执法时间不能为空!");
}
enforcementInfo.setEnforcementStartTime(enforcementTime[0]);
enforcementInfo.setEnforcementEndTime(enforcementTime[1]);
enforcementInfo.setAgencyId(enforcementInfoDto.getAgencyId());
enforcementInfo.setEnterpriseId(enterprise.getEnterpriseId());
enforcementInfo.setUpdateTime(LocalDateTime.now());
enforcementInfoRepository.save(enforcementInfo);
});
enforceCheckRepository.findById(enforcementInfoDto.getEnforceCheckId()).ifPresent(enforceCheck -> {
Optional.ofNullable(enforcementInfoDto.getCheckItemIds()).ifPresent(ids -> enforceCheck.setCheckItemIds(String.join(",", ids)));