联系方式模块调整

This commit is contained in:
dingruichao 2020-11-03 21:08:04 +08:00
parent c6bf33ee4c
commit 8d5d7df74c
3 changed files with 10 additions and 10 deletions

View File

@ -27,13 +27,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectContactInformationList" parameterType="ContactInformation" resultMap="ContactInformationResult"> <select id="selectContactInformationList" parameterType="ContactInformation" resultMap="ContactInformationResult">
<include refid="selectContactInformationVo"/> <include refid="selectContactInformationVo"/>
<where> <where>
<if test="address != null and address != ''"> and address = #{address}</if> <if test="address != null and address != ''"> and address like concat('%', #{address}, '%')</if>
<if test="servicePhone != null and servicePhone != ''"> and service_phone = #{servicePhone}</if> <if test="servicePhone != null and servicePhone != ''"> and service_phone like concat('%', #{servicePhone}, '%')</if>
<if test="supervisePhone != null and supervisePhone != ''"> and supervise_phone = #{supervisePhone}</if> <if test="supervisePhone != null and supervisePhone != ''"> and supervise_phone like concat('%', #{supervisePhone}, '%')</if>
<if test="superviseDept != null and superviseDept != ''"> and supervise_dept = #{superviseDept}</if> <if test="superviseDept != null and superviseDept != ''"> and supervise_dept like concat('%', #{superviseDept}, '%')</if>
<if test="email != null and email != ''"> and email = #{email}</if> <if test="email != null and email != ''"> and email like concat('%', #{email}, '%')</if>
<if test="serviceDate != null and serviceDate != ''"> and service_date = #{serviceDate}</if> <if test="serviceDate != null and serviceDate != ''"> and service_date = #{serviceDate}</if>
<if test="copyright != null and copyright != ''"> and copyright = #{copyright}</if> <if test="copyright != null and copyright != ''"> and copyright like concat('%', #{copyright}, '%')</if>
</where> </where>
</select> </select>

View File

@ -48,12 +48,12 @@
<input name="copyright" class="form-control" type="text" required> <input name="copyright" class="form-control" type="text" required>
</div> </div>
</div> </div>
<div class="form-group"> <!--<div class="form-group">
<label class="col-sm-3 control-label">删除标志:</label> <label class="col-sm-3 control-label">删除标志:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="delFlag" class="form-control" type="text"> <input name="delFlag" class="form-control" type="text">
</div> </div>
</div> </div>-->
</form> </form>
</div> </div>
<th:block th:include="include :: footer" /> <th:block th:include="include :: footer" />

View File

@ -57,9 +57,9 @@
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="front:contactInformation:remove"> <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="front:contactInformation:remove">
<i class="fa fa-remove"></i> 删除 <i class="fa fa-remove"></i> 删除
</a> </a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="front:contactInformation:export"> <!-- <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="front:contactInformation:export">
<i class="fa fa-download"></i> 导出 <i class="fa fa-download"></i> 导出
</a> </a>-->
</div> </div>
<div class="col-sm-12 select-table table-striped"> <div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table> <table id="bootstrap-table"></table>