1.图像列表查询增加部件id字段
This commit is contained in:
parent
09064b201d
commit
caf716c126
|
@ -24,6 +24,9 @@ public class ImageListReq implements Serializable {
|
|||
@ApiModelProperty("机组id")
|
||||
private String turbineId;
|
||||
|
||||
@ApiModelProperty("部件id")
|
||||
private String partId;
|
||||
|
||||
@ApiModelProperty("图像类型")
|
||||
private String[] imageTypes;
|
||||
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
<if test="turbineId != null and turbineId != ''">
|
||||
AND p.turbine_id = #{turbineId}
|
||||
</if>
|
||||
<if test="partId != null and partId != ''">
|
||||
AND p.part_id = #{partId}
|
||||
</if>
|
||||
<if test="imageTypes != null and imageTypes.length > 0">
|
||||
AND i.image_type in <foreach collection="imageTypes" item="imageType" open="(" close=")" separator=",">#{imageType}</foreach>
|
||||
</if>
|
||||
|
|
Loading…
Reference in New Issue