mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
禅道Bug修改
This commit is contained in:
+2
-1
@@ -31,7 +31,8 @@ public class ProcessApiImpl implements ProcessApi {
|
||||
|
||||
ProcessDO processDO = processMapper.selectByType(ProcessProcessingTypeEnum.COMPONENTPROCESSING.getNumber(),getUserOrganId());
|
||||
|
||||
return processDO.getPieceRate();
|
||||
|
||||
return processDO == null ? BigDecimal.ZERO : processDO.getPieceRate();
|
||||
}
|
||||
|
||||
|
||||
|
||||
+3
-1
@@ -363,7 +363,9 @@ public class AdminUserServiceImpl implements AdminUserService {
|
||||
// 关闭数据权限,避免因为没有数据权限,查询不到数据,进而导致唯一校验不正确
|
||||
DataPermissionUtils.executeIgnore(() -> {
|
||||
// 校验用户的密码是否符合规则
|
||||
validatePassword(password);
|
||||
if(password != null) {
|
||||
validatePassword(password);
|
||||
}
|
||||
// 校验用户存在
|
||||
validateUserExists(id);
|
||||
// 校验用户名唯一
|
||||
|
||||
Reference in New Issue
Block a user