3254194295 1 年之前
父節點
當前提交
f676807080
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      platform-dao/src/main/resources/mapper/sb/SbMeasureLogMapper.xml

+ 3 - 0
platform-dao/src/main/resources/mapper/sb/SbMeasureLogMapper.xml

@@ -158,6 +158,9 @@
         left join t_sb_type type on type.id = sb.type_id
         <where>
             <include refid="List_Condition"/>
+            <if test="sbName!=null and sbName!=''">
+                and sb.name like concat('%',#{sbName},'%')
+            </if>
         </where>
         order by checkstandard.created_time desc
     </select>