添加插叙条件
This commit is contained in:
@@ -25,6 +25,10 @@ public class CsDevModelQueryListParm {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "装置型号")
|
@ApiModelProperty(value = "装置型号")
|
||||||
private String devType;
|
private String devType;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "装置型号名称")
|
||||||
|
private String devName;
|
||||||
|
|
||||||
@ApiModelProperty(value = "版本号")
|
@ApiModelProperty(value = "版本号")
|
||||||
private String versionNo;
|
private String versionNo;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -62,6 +62,9 @@
|
|||||||
</if>
|
</if>
|
||||||
<if test="csDevModelQueryListParm.devType != null and csDevModelQueryListParm.devType != ''">
|
<if test="csDevModelQueryListParm.devType != null and csDevModelQueryListParm.devType != ''">
|
||||||
AND a.dev_type = #{csDevModelQueryListParm.devType}
|
AND a.dev_type = #{csDevModelQueryListParm.devType}
|
||||||
|
</if>
|
||||||
|
<if test="csDevModelQueryListParm.devName != null and csDevModelQueryListParm.devName != ''">
|
||||||
|
AND b.code = #{csDevModelQueryListParm.devName}
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user