邱宇豪
2023-11-03 bd74616204baf4e3f8bb124f142a07be8e5e9f13
hd/pipe/mobile/src/main/resources/mapping/PipeInfoMapper.xml
@@ -192,8 +192,14 @@
                 <if test="num!=null">
                     tpi.pipe_num = #{num} AND
                 </if>
            </trim>
        </where>
                 <if test="segmentId!=null">
                     tpi.segment_id = #{segmentId} AND
                 </if>
                 <if test="yearMonth!=null">
                     out_mod_time like CONCAT(#{yearMonth},'%') AND
                 </if>
             </trim>
         </where>
         order by tpi.check_time desc
         ) a
         <if test="groupId != null and groupId !=''">