添加字段
This commit is contained in:
@@ -39,6 +39,9 @@
|
||||
<if test="csDevModelQueryParm.devType != null and csDevModelQueryParm.devType != ''">
|
||||
AND a.dev_type = #{csDevModelQueryParm.devType}
|
||||
</if>
|
||||
<if test="csDevModelQueryParm.name != null and csDevModelQueryParm.name != ''">
|
||||
AND a.name = #{csDevModelQueryParm.name}
|
||||
</if>
|
||||
</select><select id="queryList" resultType="com.njcn.algorithm.pojo.vo.CsDevModelPageVO">
|
||||
SELECT a.*,
|
||||
b.code as devName
|
||||
@@ -63,8 +66,12 @@
|
||||
<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 test="csDevModelQueryListParm.devName != null and csDevModelQueryListParm.devName != ''">
|
||||
AND b.code = #{csDevModelQueryListParm.devName}
|
||||
</if>
|
||||
<if test="csDevModelQueryListParm.name != null and csDevModelQueryListParm.name != ''">
|
||||
AND a.name = #{csDevModelQueryListParm.name}
|
||||
</if>
|
||||
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user