代码提交
This commit is contained in:
@@ -99,5 +99,5 @@ public class CsEquipmentDeliveryDTO {
|
||||
private Integer runStatus;
|
||||
|
||||
private Integer moduleNumber;
|
||||
|
||||
private Integer process;
|
||||
}
|
||||
@@ -23,4 +23,7 @@ public class LineParamDTO {
|
||||
|
||||
@ApiModelProperty(value = "设备id")
|
||||
private String devId;
|
||||
|
||||
@ApiModelProperty(value = "监测点id")
|
||||
private String lineId;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
</select>
|
||||
|
||||
<select id="queryLine" resultType="com.njcn.csdevice.pojo.po.CsLedger">
|
||||
select id from cs_ledger a where a.`Level`='3' and a.state='1'
|
||||
select * from cs_ledger a where a.`Level`='3' and a.state='1'
|
||||
<if test="lineParamdto.engineerId!=null and lineParamdto.engineerId!=''">
|
||||
and FIND_IN_SET(#{lineParamdto.engineerId}, a.pids )
|
||||
</if>
|
||||
@@ -50,6 +50,9 @@
|
||||
<if test="lineParamdto.devId!=null and lineParamdto.devId!=''">
|
||||
and FIND_IN_SET(#{lineParamdto.devId}, a.pids )
|
||||
</if>
|
||||
<if test="lineParamdto.lineId!=null and lineParamdto.lineId!=''">
|
||||
and a.id=#{lineParamdto.lineId}
|
||||
</if>
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user