Commit 51131b5e authored by 332784038@qq.com's avatar 332784038@qq.com Committed by wux

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

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