大华口门对接

(cherry picked from commit ac94e9fe88)
dahua_koumen
zhangxiongfeng 2026-07-28 18:25:57 +08:00
parent e369717b9d
commit ccd10c317b
1 changed files with 4 additions and 5 deletions

View File

@ -101,11 +101,10 @@ public class UserAddExe {
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public boolean execute(UserAddCmd cmd) { public boolean execute(UserAddCmd cmd) {
// 临时注释,跳过企业信息校验(测试用) Boolean b = corpInfoQueryExe.verifyCorpInfo();
// Boolean b = corpInfoQueryExe.verifyCorpInfo(); if (!b) {
// if (!b) { throw new BizException("请先完善企业信息");
// throw new BizException("请先完善企业信息"); }
// }
log.info("开始新增用户name: {}, corpinfoId: {}, phone: {}", cmd.getName(), cmd.getCorpinfoId(), cmd.getPhone()); log.info("开始新增用户name: {}, corpinfoId: {}, phone: {}", cmd.getName(), cmd.getCorpinfoId(), cmd.getPhone());
try { try {
ServletRequestAttributes attrs = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes(); ServletRequestAttributes attrs = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();