修改查询/cms/job/list 中jobid加密

This commit is contained in:
sh
2026-04-21 15:58:17 +08:00
parent acaf0a3d48
commit ba21eddc91

View File

@@ -331,7 +331,7 @@ public class JobServiceImpl extends ServiceImpl<JobMapper,Job> implements IJobSe
List<JobContact> jobContent = jobContactGroupMap.getOrDefault(jobItemId, Collections.emptyList());
jobItem.setFilesList(jobFiles);
jobItem.setJobContactList(jobContent);
jobItem.setEncryptJobId(SM4Utils.encryptEcb(SM4Constants.SM4_KET, String.valueOf(job.getJobId())));
jobItem.setEncryptJobId(SM4Utils.encryptEcb(SM4Constants.SM4_KET, String.valueOf(jobItem.getJobId())));
}
});
}