1、调整导入运单

2、调整对账
This commit is contained in:
2026-09-10 22:50:00 +08:00
parent e7d7e61846
commit 93c7e6f8f5
33 changed files with 553 additions and 22 deletions
@@ -167,6 +167,16 @@ public class SysClient implements ISysClient {
return R.data(roleService.getRoleAliases(roleIds));
}
@Override
@GetMapping(ROLE_ID_BY_ALIAS)
public R<String> getRoleIdByAlias(String tenantId, String roleAlias) {
Role role = roleService.getOne(Wrappers.<Role>lambdaQuery()
.eq(Role::getTenantId, tenantId)
.eq(Role::getRoleAlias, roleAlias)
.last("LIMIT 1"));
return R.data(role == null || role.getId() == null ? null : String.valueOf(role.getId()));
}
@Override
@GetMapping(TENANT)
public R<Tenant> getTenant(Long id) {
@@ -108,6 +108,12 @@ public class UserClient implements IUserClient {
return R.data(service.submit(user));
}
@Override
@PostMapping(UPDATE_USER)
public R<Boolean> updateUser(@RequestBody User user) {
return R.data(service.updateUser(user));
}
@Override
@PostMapping(SAVE_IAM_USER)
public R<Boolean> saveIamUser(@RequestBody User user) {