Commit c202fe3d authored by ZWT's avatar ZWT

得到的

parent 0dcb2df7
...@@ -139,9 +139,11 @@ public class SysUserService { ...@@ -139,9 +139,11 @@ public class SysUserService {
if (count > 0) { if (count > 0) {
return XServiceResult.error(context, LoginError.Account_Already_Exists); return XServiceResult.error(context, LoginError.Account_Already_Exists);
} }
entity.setLoginName(input.getLoginName());
entity.setUserCode(input.getUserCode()); entity.setUserCode(input.getUserCode());
entity.setUserName(input.getUserName()); entity.setUserName(input.getUserName());
entity.setAddress(input.getAddress()); entity.setAddress(input.getAddress());
entity.setPostalCode(input.getPostalCode());
if (CharSequenceUtil.isNotBlank(input.getPassword())) { if (CharSequenceUtil.isNotBlank(input.getPassword())) {
entity.setPassword(input.getPassword()); entity.setPassword(input.getPassword());
} else { } else {
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
SUOR.OU_ID, SUOR.OU_ID,
SO.OU_NAME, SO.OU_NAME,
SU.STATUS, SU.STATUS,
SO2.OU_NAME || '->' || SO.OU_NAME AS CONCAT_OU_NAME DECODE( SO2.OU_NAME, NULL, SO.OU_NAME, SO2.OU_NAME || '->' || SO.OU_NAME ) AS CONCAT_OU_NAME
FROM SYS_USER SU FROM SYS_USER SU
LEFT JOIN SYS_USER_ORGANIZATION_REL SUOR ON SUOR.USER_ID=SU.ID LEFT JOIN SYS_USER_ORGANIZATION_REL SUOR ON SUOR.USER_ID=SU.ID
LEFT JOIN SYS_ORGANIZATION SO ON SUOR.OU_ID=SO.ID LEFT JOIN SYS_ORGANIZATION SO ON SUOR.OU_ID=SO.ID
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment