| | |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import com.stylefeng.guns.core.util.ToolUtil; |
| | | import com.stylefeng.guns.modular.system.dao.UserRedPacketRecordMapper; |
| | | import com.stylefeng.guns.modular.system.model.TBranchOffice; |
| | | import com.stylefeng.guns.modular.system.model.UserRedPacketRecord; |
| | | import com.stylefeng.guns.modular.system.service.ITCompanyService; |
| | | import com.stylefeng.guns.modular.system.service.ITBranchOfficeService; |
| | | import com.stylefeng.guns.modular.system.service.IUserRedPacketRecordService; |
| | | import org.apache.poi.hssf.usermodel.*; |
| | | import org.apache.poi.ss.usermodel.CellType; |
| | |
| | | @Resource |
| | | private UserRedPacketRecordMapper userRedPacketRecordMapper; |
| | | |
| | | @Autowired |
| | | private ITCompanyService companyService; |
| | | @Resource |
| | | private ITBranchOfficeService branchOfficeService; |
| | | |
| | | |
| | | /** |
| | |
| | | list.add(time); |
| | | list.add(""); |
| | | list.add("运营商:"); |
| | | list.add(null != companyId ? companyService.selectById(companyId).getName() : ""); |
| | | TBranchOffice tBranchOffice = branchOfficeService.selectById(companyId); |
| | | list.add(null != tBranchOffice ? tBranchOffice.getBranchOfficeName() : ""); |
| | | lists.add(list); |
| | | list = new ArrayList<>(); |
| | | list.add("时间"); |
| | |
| | | list.add("起止时间:"); |
| | | list.add(time); |
| | | list.add("运营商:"); |
| | | list.add(null != companyId ? companyService.selectById(companyId).getName() : ""); |
| | | TBranchOffice tBranchOffice = branchOfficeService.selectById(companyId); |
| | | list.add(null != tBranchOffice ? tBranchOffice.getBranchOfficeName() : ""); |
| | | lists.add(list); |
| | | list = new ArrayList<>(); |
| | | list.add("领取时间"); |