冀北代码提交
This commit is contained in:
@@ -9,15 +9,17 @@
|
||||
INNER JOIN pqs_transformer pf on pf.Tf_Index=pt.Tf_Index
|
||||
<where>
|
||||
pf.Sub_Index = #{id}
|
||||
and ( Logic_Before IN
|
||||
<foreach item="item" collection="ids" separator="," open="(" close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
or Logic_Next IN
|
||||
<foreach item="item" collection="ids" separator="," open="(" close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
)
|
||||
<if test="ids.size()!=0">
|
||||
and ( Logic_Before IN
|
||||
<foreach item="item" collection="ids" separator="," open="(" close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
or Logic_Next IN
|
||||
<foreach item="item" collection="ids" separator="," open="(" close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
|
||||
</select>
|
||||
|
||||
@@ -192,8 +192,6 @@ public class PqsTransformerServiceImpl extends ServiceImpl<PqsTransformerMapper,
|
||||
List<PqsTflgass> pqsTflgasses = pqsTflgassMapper.selectFlgass(subId, ids);
|
||||
|
||||
|
||||
String dadadw = mostBefore(pqsTflgasses);
|
||||
// List<PqsTflgass> pqsTflgasses = pqsTflgassMapper.selectList(null);
|
||||
String[][] arr = new String[pqsTflgasses.size()][2];
|
||||
if (CollUtil.isNotEmpty(pqsTflgasses) && ids.size() > 2) {
|
||||
for (int i = 0; i < pqsTflgasses.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user