lyfO_o
2021-09-16 0dfab938c5116c8fa0191cadf36a47f5bb4f2936
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>
@@ -344,4 +344,10 @@
          </if>
      </where>
  </select>
  <select id="selectById" resultType="com.nanometer.smartlab.entity.DangerousEncode">
    select
    <include refid="Base_Column_List" />
    from sys_dangerous_encode
    where id = #{id}
  </select>
</mapper>