zoukankan      html  css  js  c++  java
  • 下拉框多选实现回显及sql

    <td class="tabTd"><label>客户来源:</label></td>
    <td><select class="easyui-combobox" panelHeight="auto" id="customer_source" name="teBuyerInfo.customer_source" multiple="multiple" style="600px">
    <option value="" ></option>
    <c:forEach var="customerSource" items="${customerSourcelList}" varStatus="status">
    <option value="${customerSource.type_value}" <c:if test="${fn:contains(newCustomer.teBuyerInfo.customer_source,customerSource.type_value)}">selected="selected"</c:if>>${customerSource.type_value_desc}</option>
    </c:forEach>
    </select></td>

    <if test="customer_source!=null and customer_source!=''">
    and (info.customer_source like CONCAT('%,', #{customer_source:VARCHAR}, ',%') or info.customer_source=#{customer_source:VARCHAR})
    </if>

  • 相关阅读:
    form标签
    roadmap
    自我介绍
    3 week work—Grid Layout
    3 week work—Position
    2nd week
    objects
    个人简介
    7th week :DOM BOM
    颜色表示法
  • 原文地址:https://www.cnblogs.com/knightsu/p/8056073.html
Copyright © 2011-2022 走看看