Commit 0ba0d2c4 by lal Committed by chenzg

修复BUG

parent 9715dc7f
......@@ -18,4 +18,7 @@ public class AttqueryCriteriaDto extends Page {
@ApiModelProperty(value = "关键字", example = "")
private String query;
@ApiModelProperty(value = "部门ID", example = "")
private Integer deptid;
}
......@@ -83,6 +83,9 @@
emp.emp_num like CONCAT('%',#{param.query},'%') or
c.name like CONCAT('%',#{param.query},'%'))
</if>
<if test="param.deptid != null and param.deptid != ''">
and c.id = #{param.deptid}
</if>
ORDER BY emp.emp_num DESC
</select>
......
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