|
@@ -73,6 +73,15 @@ public class GljtJkzkServiceImpl implements IGljtJkzkService
|
|
|
public GljtJkzk selectGljtJkzkById(String id)
|
|
|
{
|
|
|
GljtJkzk res = gljtJkzkMapper.selectById(id);
|
|
|
+ if (!ObjectUtils.isEmpty(res)) {
|
|
|
+ GljtSqLr lr = gljtSqLrMapper.selectOne(new LambdaQueryWrapper<GljtSqLr>()
|
|
|
+ .eq(GljtSqLr::getSqrZjhm, SecurityUtils.sm4encrypt_ECB(EncryptionUtils.key, res.getSfzh())));
|
|
|
+ if (!ObjectUtils.isEmpty(lr)) {
|
|
|
+ res.setSqrZjzm(lr.getSqrZjzm());
|
|
|
+ res.setSqrZjbm(lr.getSqrZjbm());
|
|
|
+ res.setTx(lr.getTx());
|
|
|
+ }
|
|
|
+ }
|
|
|
EncryptionUtils.decryptForPlaintext(res);
|
|
|
res.setXzqhName(SysDeptJlUtils.getDeptCache(res.getXzqh()));
|
|
|
res.setXzqhCode(sysDeptJlMapper.getXzqhCodes(res.getXzqh()));
|