添加插叙条件

This commit is contained in:
huangzj
2023-04-17 10:12:42 +08:00
parent 2be275027e
commit 5c90d14d74
2 changed files with 7 additions and 0 deletions

View File

@@ -62,6 +62,9 @@
</if>
<if test="csDevModelQueryListParm.devType != null and csDevModelQueryListParm.devType != ''">
AND a.dev_type = #{csDevModelQueryListParm.devType}
</if>
<if test="csDevModelQueryListParm.devName != null and csDevModelQueryListParm.devName != ''">
AND b.code = #{csDevModelQueryListParm.devName}
</if>
</select>
</mapper>