代码提交
This commit is contained in:
@@ -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