Commit 5782ec9f authored by 332784038@qq.com's avatar 332784038@qq.com

批量订单费用申请查询sql条件修改

parent f71a1033
......@@ -29,6 +29,6 @@ public class BatchOrderFeeApplyQueryVO {
private Date endCreateTime;
@ApiModelProperty(value = "创建人")
private String creator;
private List<String> creatorList;
}
......@@ -38,8 +38,11 @@
<if test="query.beginCreateTime != null and query.endCreateTime != null ">
AND a.`create_time` between #{query.beginCreateTime} and #{query.endCreateTime}
</if>
<if test="query.creator != null and query.creator != '' ">
AND a.`creator` = #{query.creator}
<if test="query.creatorList != null and query.creatorList.size > 0 ">
AND a.`creator` in
<foreach item="creator" collection="query.creatorList" open="(" close=")" separator=",">
#{creator}
</foreach>
</if>
</sql>
</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