Commit e371e957 by liyanlin

增加用户ID搜索条件

parent 9fa4f953
......@@ -34,4 +34,7 @@ public class ApprovalHistoryReq {
@ApiModelProperty("费用单号,支持模糊搜索")
private String costNo;
@ApiModelProperty("用户ID")
private Integer userId;
}
......@@ -14,6 +14,7 @@
where ah.approval_time between #{startTime} and #{endTime}
<if test="costStatus != null">and ah.cost_status = #{costStatus}</if>
<if test="typeNo != null and typeNo != ''">and c.type_no = #{typeNo}</if>
<if test="userId != null and userId != ''">and ah.approval_user_id = #{userId}</if>
<if test="costNo != null and costNo != ''">and ah.cost_no like concat('%',#{costNo},'%')</if>
</select>
</mapper>
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