【fix sonar】SysDepartServiceImpl文件

This commit is contained in:
梁琦涛
2023-03-06 11:37:00 +08:00
parent ca663b237b
commit 0ed65b3b8a
@@ -544,7 +544,7 @@ public class SysDepartServiceImpl extends ServiceImpl<SysDepartMapper, SysDepart
@Override
public SysDepart queryCompByOrgCode(String orgCode) {
int length = YouBianCodeUtil.zhanweiLength;
int length = YouBianCodeUtil.ZHANWEI_LENGTH;
String compyOrgCode = orgCode.substring(0,length);
return this.baseMapper.queryCompByOrgCode(compyOrgCode);
}