|
|
@ -156,7 +156,7 @@ |
|
|
|
select `id`,`number`,`name`,`path` |
|
|
|
select `id`,`number`,`name`,`path` |
|
|
|
from `hzims_em_info` |
|
|
|
from `hzims_em_info` |
|
|
|
<where> |
|
|
|
<where> |
|
|
|
`is_deleted` = 0 and `path` is not null |
|
|
|
`is_deleted` = 0 and `path` is not null and `path` = CONCAT('/',`number`) |
|
|
|
<if test="ew!=null and ew.sqlSegment!=null and ew.sqlSegment != ''"> |
|
|
|
<if test="ew!=null and ew.sqlSegment!=null and ew.sqlSegment != ''"> |
|
|
|
and ${ew.sqlSegment} |
|
|
|
and ${ew.sqlSegment} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|