提交 9518fff5 编写于 作者: Skyeye云's avatar Skyeye云

获取通讯录列表接口改造

上级 3b0f09a7
......@@ -21,8 +21,14 @@
<if test="category == '1'.toString()">
AND a.create_id = #{userId}
</if>
<if test="searchCondition != '' and searchCondition != null">
AND (a.`name` LIKE '%${searchCondition}%' OR a.personal_phone LIKE '%${searchCondition}%' OR a.work_phone LIKE '%${searchCondition}%')
<if test="userName != '' and userName != null">
AND a.`name` LIKE '%${userName}%'
</if>
<if test="phone != '' and phone != null">
AND a.personal_phone LIKE '%${phone}%'
</if>
<if test="email != '' and email != null">
AND a.email LIKE '%${email}%'
</if>
ORDER BY a.create_time DESC
</select>
......
......@@ -9,7 +9,9 @@
<property id="limit" name="limit" ref="required,num" var="分页参数,每页多少条数据" />
<property id="page" name="page" ref="required,num" var="分页参数,第几页"/>
<property id="category" name="category" ref="required,num" var="通讯录类型 1.个人通讯录 2.公共通讯录"/>
<property id="searchCondition" name="searchCondition" ref="" var="查询条件"/>
<property id="userName" name="userName" ref="" var="姓名"/>
<property id="phone" name="phone" ref="" var="电话"/>
<property id="email" name="email" ref="" var="个人邮箱"/>
</url>
<url id="maillist002" path="/post/MailListController/insertMailMation" val="新增通讯录(个人或者公共通讯录)" allUse="1" method="POST" groupName="通讯录管理">
<property id="name" name="name" ref="required" var="姓名" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册