|
|
|
@ -126,10 +126,10 @@
|
|
|
|
|
from hzims_em_info info |
|
|
|
|
LEFT JOIN hzims_em_tree tree ON info.tree_id = tree.id |
|
|
|
|
LEFT JOIN hzims_em_tree_basic etb ON tree.id = etb.tree_id |
|
|
|
|
LEFT JOIN dev_hzims_assets.wt_sp_basic basic ON etb.basic_id = basic.id |
|
|
|
|
LEFT JOIN dev_hzims_assets.wt_sp_total total ON basic.id = total.SP_BASIC_ID |
|
|
|
|
LEFT JOIN dev_hzims_assets.wt_sp_warehouse house ON total.WAREHOUSE_ID = house.id |
|
|
|
|
LEFT JOIN dev_hzims_operation.hzims_oper_access_material mat ON basic.id = mat.SP_BASIC_ID |
|
|
|
|
LEFT JOIN hzims_assets.wt_sp_basic basic ON etb.basic_id = basic.id |
|
|
|
|
LEFT JOIN hzims_assets.wt_sp_total total ON basic.id = total.SP_BASIC_ID |
|
|
|
|
LEFT JOIN hzims_assets.wt_sp_warehouse house ON total.WAREHOUSE_ID = house.id |
|
|
|
|
LEFT JOIN hzims_operation.hzims_oper_access_material mat ON basic.id = mat.SP_BASIC_ID |
|
|
|
|
<where> |
|
|
|
|
<if test="path != null"> |
|
|
|
|
info.path like CONCAT(#{path},'%') |
|
|
|
|