gdg
2020-12-23 454eeeab24584c69418a5636132381a74efb8336
cas模糊查询
已修改1个文件
4 ■■■■ 文件已修改
src/main/java/com/nanometer/smartlab/dao/DangerousEncodeMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/nanometer/smartlab/dao/DangerousEncodeMapper.xml
@@ -310,7 +310,7 @@
        and reagent_name =  #{reagentname}
      </if>
      <if test="cas != null and cas != ''">
        and cas = #{cas}
        and cas like concat("%",#{cas},"%")
      </if>
      <if test="code != null and code != ''">
        and code = #{code}
@@ -328,7 +328,7 @@
            and reagent_name like concat("%",#{reagentname},"%")
        </if>
        <if test="cas != null and cas != ''">
            and cas = #{cas}
            and cas like concat("%",#{cas},"%")
        </if>
    </where>
  </select>