chenjiahe
2023-08-08 ee6443582325b3b02154e8898d0d94bcaed4f540
提交 | 用户 | age
7418f9 1 package com.hz.his.dto.report;
F 2
3 import com.hx.util.StringUtils;
4 import lombok.Data;
5
6 import java.util.ArrayList;
7 import java.util.Date;
8 import java.util.List;
9
10 @Data
11 public class OperationalStatementsVo {
12
13     /**年份:yyyy*/
14     private String year;
15     /**月份:yyyy-MM*/
16     private String month;
17     /**月份:yyyy-MM-dd*/
18     private String day;
19
20     /**门店标识*/
21     private String shopId;
22     private List<String> shopIdList;
23     /**开始时间*/
24     private Date startTime;
25     /**结束时间*/
26     private Date endTime;
27     /**登录员工标识*/
28     private String loginEmpId;
29     /**登录员工名称*/
30     private String loginCnName;
31     /**登录员工唯一字符串*/
32     private String loginEmpStr;
33
34     public List<String> getShopIdList() {
35         if(shopIdList == null){
36             shopIdList = new ArrayList<>();
37         }
38         if(StringUtils.noNull(shopId)&&!shopIdList.contains(shopId)){
39             shopIdList.add(shopId);
40         }
41         return shopIdList;
42     }
43
44     public void setShopIdList(List<String> shopIdList) {
45         this.shopIdList = shopIdList;
46     }
47 }