优化兴安bug

This commit is contained in:
zc
2026-01-12 15:07:55 +08:00
parent e77a22b50a
commit 6967a8e8fd

View File

@@ -34,7 +34,8 @@ public class SysEqDownRecordServiceImpl implements ISysEqDownRecordService {
LoginUser user = SecurityUtils.getLoginUser();
for (SysEqDownRecord sysEqDownRecord : downRecordList) {
sysEqDownRecord.setCreateTime(new Date());
sysEqDownRecord.setCreateBy(user.getUsername());
//人脸采集h5登录没有token获取不到登录信息
sysEqDownRecord.setCreateBy(null == user ? sysEqDownRecord.getPeopleId().toString() : user.getUsername());
}
sysEqDownRecordMapper.insertBatch(downRecordList);
}