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