Commit dd90d2b1 authored by lizhichao's avatar lizhichao

借支申请-增加使用人查询条件

parent 44a9f908
...@@ -41,6 +41,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -41,6 +41,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="handledByUserId != null "> and a.handled_by_user_id = #{handledByUserId}</if> <if test="handledByUserId != null "> and a.handled_by_user_id = #{handledByUserId}</if>
<if test="applicationDescription != null and applicationDescription != ''"> and a.application_description = #{applicationDescription}</if> <if test="applicationDescription != null and applicationDescription != ''"> and a.application_description = #{applicationDescription}</if>
<if test="userId != null "> and a.user_id = #{userId}</if> <if test="userId != null "> and a.user_id = #{userId}</if>
<if test="userIdName != null "> and c.nick_name like concat('%', #{userIdName}, '%')</if>
<if test="totalWords != null and totalWords != ''"> and a.total_words = #{totalWords}</if> <if test="totalWords != null and totalWords != ''"> and a.total_words = #{totalWords}</if>
<if test="totalFigures != null "> and a.total_figures = #{totalFigures}</if> <if test="totalFigures != null "> and a.total_figures = #{totalFigures}</if>
<if test="approvedUserId != null "> and a.approved_user_id = #{approvedUserId}</if> <if test="approvedUserId != null "> and a.approved_user_id = #{approvedUserId}</if>
......
...@@ -10,6 +10,15 @@ ...@@ -10,6 +10,15 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="使用人" prop="userIdName">
<el-input
v-model="queryParams.userIdName"
placeholder="请输入使用人"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment