修改参数
This commit is contained in:
parent
6a3c2b537e
commit
6064a76d2d
@ -384,7 +384,8 @@ public class DepartmentServiceImpl extends DefaultBaseService implements IDepart
|
||||
public List<ZTreeDTO> listZTreeByAreaCodeAndParentIdAndType(String departmentAreaCode, String departmentParentId, Integer departmentType) {
|
||||
Map<String, Object> params = getHashMap(8);
|
||||
if (StringUtils.isBlank(departmentParentId) || StringUtils.equals(departmentParentId, "0")) {
|
||||
params.put("departmentAreaCode", departmentAreaCode);
|
||||
// params.put("departmentAreaCode", departmentAreaCode);
|
||||
params.put("departmentAreaCodeLike", WStringUtil.cutContinuityRepeatCharDesc(departmentAreaCode, '0', 3));
|
||||
} else {
|
||||
params.put("departmentAreaCodeLike", WStringUtil.cutContinuityRepeatCharDesc(departmentAreaCode, '0', 3));
|
||||
params.put("departmentParentId", departmentParentId);
|
||||
|
Loading…
Reference in New Issue
Block a user