|
|
@ -5,8 +5,10 @@ import cn.hutool.core.util.IdcardUtil; |
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
import com.ccsens.mt.bean.dto.CompeteDto; |
|
|
|
import com.ccsens.mt.bean.dto.ProvinceCompeteDto; |
|
|
|
import com.ccsens.mt.bean.dto.ScoreDto; |
|
|
|
import com.ccsens.mt.bean.po.*; |
|
|
|
import com.ccsens.mt.bean.vo.CompeteExcelVo; |
|
|
|
import com.ccsens.mt.bean.vo.CompeteVo; |
|
|
|
import com.ccsens.mt.bean.vo.TableVo; |
|
|
|
import com.ccsens.mt.persist.dao.*; |
|
|
|
import com.ccsens.mt.persist.mapper.*; |
|
|
@ -81,6 +83,9 @@ public class ExcelService implements IExcelService { |
|
|
|
@Resource |
|
|
|
private CompeteProjectDao competeProjectDao; |
|
|
|
|
|
|
|
@Resource |
|
|
|
private ICompeteService competeService; |
|
|
|
|
|
|
|
@Override |
|
|
|
public String dasaiduiwuxinxiWPS(QueryDto<CompeteDto.CompeteTime> params) { |
|
|
|
//这个里面包含联系人得信息
|
|
|
@ -1368,5 +1373,35 @@ public class ExcelService implements IExcelService { |
|
|
|
// }
|
|
|
|
return schedulePlanDetailList; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String patternExpTable(ScoreDto.ShowResult param) { |
|
|
|
List<CompeteVo.TotalScoreDisplay> totalScoreDisplays = competeService.showResult(param); |
|
|
|
List<List<PoiUtil.PoiUtilCell>> list = new ArrayList<>(); |
|
|
|
List<PoiUtil.PoiUtilCell> one=new ArrayList<>(); |
|
|
|
PoiUtil.PoiUtilCell oneOne=new PoiUtil.PoiUtilCell("参赛单位", 1, 2); |
|
|
|
PoiUtil.PoiUtilCell oneTwo=new PoiUtil.PoiUtilCell("参赛队员", 1, 2); |
|
|
|
PoiUtil.PoiUtilCell oneThree=new PoiUtil.PoiUtilCell("创意编排分", 3, 1); |
|
|
|
PoiUtil.PoiUtilCell oneFour=new PoiUtil.PoiUtilCell("创意最后得分", 1, 1); |
|
|
|
PoiUtil.PoiUtilCell oneFive=new PoiUtil.PoiUtilCell("完成质量分", 3, 1); |
|
|
|
PoiUtil.PoiUtilCell oneSix=new PoiUtil.PoiUtilCell("完成最后得分", 1, 1); |
|
|
|
PoiUtil.PoiUtilCell oneSeven=new PoiUtil.PoiUtilCell("主裁判扣分", 1, 1); |
|
|
|
PoiUtil.PoiUtilCell oneEight=new PoiUtil.PoiUtilCell("最后得分", 1, 1); |
|
|
|
PoiUtil.PoiUtilCell oneNine=new PoiUtil.PoiUtilCell("名次", 1, 1); |
|
|
|
PoiUtil.PoiUtilCell oneTen=new PoiUtil.PoiUtilCell("备注", 1, 1); |
|
|
|
one.add(oneOne); |
|
|
|
one.add(oneTwo); |
|
|
|
one.add(oneThree); |
|
|
|
one.add(oneFour); |
|
|
|
one.add(oneFive); |
|
|
|
one.add(oneSix); |
|
|
|
one.add(oneSeven); |
|
|
|
one.add(oneEight); |
|
|
|
one.add(oneNine); |
|
|
|
one.add(oneTen); |
|
|
|
List<PoiUtil.PoiUtilCell> two=new ArrayList<>(); |
|
|
|
PoiUtil.PoiUtilCell twoOne=new PoiUtil.PoiUtilCell("参赛单位", 1, 2); |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|