【fix sonar】SysDepartServiceImpl文件
This commit is contained in:
+1
-1
@@ -544,7 +544,7 @@ public class SysDepartServiceImpl extends ServiceImpl<SysDepartMapper, SysDepart
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SysDepart queryCompByOrgCode(String orgCode) {
|
public SysDepart queryCompByOrgCode(String orgCode) {
|
||||||
int length = YouBianCodeUtil.zhanweiLength;
|
int length = YouBianCodeUtil.ZHANWEI_LENGTH;
|
||||||
String compyOrgCode = orgCode.substring(0,length);
|
String compyOrgCode = orgCode.substring(0,length);
|
||||||
return this.baseMapper.queryCompByOrgCode(compyOrgCode);
|
return this.baseMapper.queryCompByOrgCode(compyOrgCode);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user