Merge remote-tracking branch 'origin/dev' into dev

dev
huwei 2026-08-03 17:59:18 +08:00
commit 360533f73e
2 changed files with 7 additions and 3 deletions

View File

@ -20,8 +20,8 @@ import org.qinan.safetyeval.infrastructure.adapter.gbs.GbsUserFacadeClient;
import org.qinan.safetyeval.infrastructure.dataobject.AccountDO;
import org.qinan.safetyeval.infrastructure.dataobject.OrgPersonnelDO;
import org.qinan.safetyeval.infrastructure.mapper.AccountMapper;
import org.qinan.safetyeval.infrastructure.mapper.OrgInfoMapper;
import org.qinan.safetyeval.infrastructure.mapper.OrgPersonnelMapper;
import org.qinan.safetyeval.infrastructure.mapper.QualFilingExpertMapper;
import org.qinan.safetyeval.infrastructure.remote.SmsRemote;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
@ -52,7 +52,7 @@ public class AccountExecutor implements AccountApi {
@Autowired
private SmsRemote smsRemote;
@Autowired
private OrgInfoMapper orgInfoMapper;
private QualFilingExpertMapper qualFilingExpertMapper;
@Autowired
private AccountMapper accountMapper;
@Autowired
@ -166,7 +166,6 @@ public class AccountExecutor implements AccountApi {
@Override
public SingleResponse<Integer> checkTerminalType() {
log.info("同步用户信息:{}", AuthUserContextAdapter.getCurrentUser());
System.err.println(AuthUserContextAdapter.getCurrentUser());
AccountEntity accountEntity = accountDomainService.get(AuthUserContextAdapter.getCurrentUserId());
OrgPersonnelDO orgPersonnelDO = orgPersonnelMapper.selectById(AuthUserContextAdapter.getCurrentUserId());
int type;

View File

@ -1,5 +1,6 @@
package org.qinan.safetyeval.app.support;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
@ -72,14 +73,18 @@ public class OrgPersonnelImportRow {
private String abilityDeclaration;
/** EasyExcel 解析时记录的物理行号从1开始含表头由导入器填充。 */
@ExcelIgnore
private Integer rowIndex;
/** 校验通过后回填的部门ID非Excel列。 */
@ExcelIgnore
private Long deptId;
/** 校验通过后回填的岗位ID非Excel列。 */
@ExcelIgnore
private Long postId;
/** 校验通过后回填的学科基础专业对照表ID非Excel列。 */
@ExcelIgnore
private Long basicDisciplineMajorId;
}