|
@@ -119,7 +119,9 @@
|
|
|
matInfo.project_id,
|
|
|
matInfo.id
|
|
|
from ctop_material_info matInfo
|
|
|
- left join ctop_material_tag_info tagInfo on tagInfo.code = matInfo.code
|
|
|
+ <if test="tagCode!=null">
|
|
|
+ left join ctop_material_tag_info tagInfo on tagInfo.code = matInfo.code
|
|
|
+ </if>
|
|
|
where 1=1
|
|
|
<if test="tagCode!=null">
|
|
|
and tagInfo.tag_code like concat(#{tagCode},'%')
|