fhx
2024-08-27 7f15963954cb6c0cbbdd6908164fc51bef3466c4
提交 | 用户 | age
bb3b55 1 package com.hz.his.dto.report;
F 2
3 import lombok.Data;
4
5 import java.util.List;
6
7 /**
8  * @Author  门店业绩报表实体
9  */
10 @Data
11 public class ShopCashReportDto {
12     /**门店标识*/
13     private String shopId;
14     /** 业绩类型   */
15     private String type;
16     /**开始时间*/
17     private String startTime;
18     /**结束时间*/
19     private String endTime;
20     /**门店列表标识*/
21     private List<String> shopIdList;
ec8699 22     /** 是否过滤测试用户账号 */
F 23     private Integer isFilterTestAccount;
bb3b55 24
F 25     /**业绩类型-门店日现金业绩*/
26     public static final String  TYPE_DAY_CASH= "day_cash";
27     /**业绩类型-门店日执行业绩*/
28     public static final String  TYPE_DAY_IMPLEMENT= "day_implement";
29     /**业绩类型-门店周现金业绩*/
30     public static final String  TYPE_WEEK_CASH= "week_cash";
31     /**业绩类型-门店周执行业绩*/
32     public static final String  TYPE_WEEK_IMPLEMENT= "week_implement";
33     /**业绩类型-门店月现金业绩*/
34     public static final String  TYPE_MONTH_CASH= "month_cash";
35     /**业绩类型-门店月执行业绩*/
36     public static final String  TYPE_MONTH_IMPLEMENT= "month_implement";
37
38
39     /** 获取查询门店insql */
40     public String getSelectShopInSql(){
41         if(shopIdList == null || shopIdList.size() < 1){
42             return null;
43         }
44
45         StringBuffer sql = new StringBuffer();
46         sql.append("(");
47         for(String shopId : shopIdList){
48             sql.append("'").append(shopId).append("',");
49         }
50         sql.delete(sql.length()-1, sql.length());
51         sql.append(")");
52         return sql.toString();
53     }
54 }