|
|
|
@ -50,6 +50,8 @@ import org.jeecg.modules.demo.expscore.service.IExpScoreService; |
|
|
|
|
import org.jeecg.modules.demo.score_management.entity.ScoreManagement; |
|
|
|
|
import org.jeecg.modules.demo.scorepersion.entity.ScorePersion; |
|
|
|
|
import org.jeecg.modules.demo.scorepersion.service.IScorePersionService; |
|
|
|
|
import org.jeecg.modules.demo.upfile_persion.entity.UpfilePersion; |
|
|
|
|
import org.jeecg.modules.demo.upfile_persion.service.IUpfilePersionService; |
|
|
|
|
import org.jeecg.modules.system.entity.SysUser; |
|
|
|
|
import org.jeecg.modules.system.service.ISysUserService; |
|
|
|
|
import org.jeecgframework.poi.excel.ExcelImportUtil; |
|
|
|
@ -124,6 +126,9 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
@Resource |
|
|
|
|
private JeecgBaseConfig jeecgBaseConfig; |
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
private IUpfilePersionService upfilePersionService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 分页列表查询 |
|
|
|
@ -412,6 +417,18 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
} |
|
|
|
|
annualCompPoint.setIsCjhz(1); |
|
|
|
|
annualCompPointService.updateById(annualCompPoint); |
|
|
|
|
//更新作品状态为已评分
|
|
|
|
|
for (int b = 0 ; b < list.size() ; b++){ |
|
|
|
|
UpfilePersion up = new UpfilePersion(); |
|
|
|
|
QueryWrapper<UpfilePersion> queryWrapperup = new QueryWrapper<>(); |
|
|
|
|
queryWrapperup.eq("apply_code",list.get(b).getBmcode()); |
|
|
|
|
List<UpfilePersion> listup = upfilePersionService.list(queryWrapperup); |
|
|
|
|
if(listup.size()>0){ |
|
|
|
|
up = listup.get(0); |
|
|
|
|
up.setStatus(1); |
|
|
|
|
upfilePersionService.updateById(up); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return Result.OK("成功!"); |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -484,6 +501,18 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint, |
|
|
|
|
} |
|
|
|
|
annualCompPoint.setIsCjhz(1); |
|
|
|
|
annualCompPointService.updateById(annualCompPoint); |
|
|
|
|
//更新作品状态为已评分
|
|
|
|
|
for (int b = 0 ; b < list.size() ; b++){ |
|
|
|
|
UpfilePersion up = new UpfilePersion(); |
|
|
|
|
QueryWrapper<UpfilePersion> queryWrapperup = new QueryWrapper<>(); |
|
|
|
|
queryWrapperup.eq("apply_code",list.get(b).getBmcode()); |
|
|
|
|
List<UpfilePersion> listup = upfilePersionService.list(queryWrapperup); |
|
|
|
|
if(listup.size()>0){ |
|
|
|
|
up = listup.get(0); |
|
|
|
|
up.setStatus(1); |
|
|
|
|
upfilePersionService.updateById(up); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return Result.OK("成功!"); |
|
|
|
|
} |
|
|
|
|