gdg
2020-12-29 b06e4004a2ff3c4562da8b6d44decffa643b686b
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>