Commit 546c10de authored by liuyang's avatar liuyang

企业购买历史列表增加查询条件产品类型

parent 97a6d3cd
package com.qkdata.biz.management.vo; package com.qkdata.biz.management.vo;
import com.qkdata.biz.enums.ProductTypeEnum;
import com.qkdata.common.constants.Constants; import com.qkdata.common.constants.Constants;
import lombok.Data; import lombok.Data;
...@@ -10,4 +11,5 @@ public class QueryProductOrderModel { ...@@ -10,4 +11,5 @@ public class QueryProductOrderModel {
private String username; private String username;
private boolean isEnterprise = false; private boolean isEnterprise = false;
private Long orgId; private Long orgId;
private ProductTypeEnum productType;
} }
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
<if test="p.orgId != null"> <if test="p.orgId != null">
and o.org_id = #{p.orgId} and o.org_id = #{p.orgId}
</if> </if>
<if test="p.productType != null">
and o.product_type = #{p.productType}
</if>
order by create_time DESC order by create_time DESC
</select> </select>
</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