parent
460679ea62
commit
92cc6154c3
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue