bug修复

This commit is contained in:
yuezhihang
2022-07-15 14:42:19 +08:00
parent 26adc2ca8d
commit ea247ac159
4 changed files with 14 additions and 7 deletions
@@ -18,10 +18,11 @@
</update>
<select id="getFileMaterialPage" resultType="com.adc.da.slrs.fileMaterialCenter.entity.FileMaterial">
SELECT
fm.*,zd.id as treeId
fm.*,zd.id as treeId,zt.name as treeName
FROM
file_material fm
LEFT JOIN zl_data zd ON zd.data_id=fm.id
LEFT JOIN zl_tree zt ON zd.id=zt.id
WHERE
fm.del_flag = '0'
<if test="flieM.treeId != null and flieM.treeId != ''">