修改查机关树方法
This commit is contained in:
parent
761af9d5f2
commit
fef887909e
|
|
@ -60,7 +60,7 @@ public class GzaiccodeServiceImpl extends ServiceImpl<GzaiccodeMapper, Gzaiccode
|
|||
|
||||
@Override
|
||||
public void flushCache() {
|
||||
List<CascadeTreeNode> list = getList("3");
|
||||
List<CascadeTreeNode> list = getList(null);
|
||||
List<CascadeTreeNode> resultList = new ArrayList<>();
|
||||
if(CollectionUtils.isNotEmpty(list)){
|
||||
resultList = addChild(list);
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@
|
|||
select orgUnitID as id, orgUnitName as label, orgNumber as value, parentID as SPARENTCODE, '' as shortname
|
||||
from cxaicorg.t_orgunits
|
||||
where orgNumber like '15%'
|
||||
<if test="parentid != null and parentid != ''">
|
||||
and unittype = '1' and deleted = '0'
|
||||
<if test="parentid != null and parentid != ''">
|
||||
and parentID = #{parentid}
|
||||
</if>
|
||||
<if test="slevel != null and slevel != -99">
|
||||
|
|
|
|||
Loading…
Reference in New Issue