冀北代码提交

This commit is contained in:
wr
2023-08-09 08:46:15 +08:00
parent c4978d971e
commit 895bfa0c93
11 changed files with 454 additions and 51 deletions

View File

@@ -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>

View File

@@ -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++) {