添加插叙条件
This commit is contained in:
@@ -25,6 +25,10 @@ public class CsDevModelQueryListParm {
|
||||
*/
|
||||
@ApiModelProperty(value = "装置型号")
|
||||
private String devType;
|
||||
|
||||
@ApiModelProperty(value = "装置型号名称")
|
||||
private String devName;
|
||||
|
||||
@ApiModelProperty(value = "版本号")
|
||||
private String versionNo;
|
||||
/**
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user