gdg
2021-02-23 3cc43725fa2e4b8ed4b4b00b845a7dc83f99f39a
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>