|
|
|
@ -361,6 +361,23 @@ public class StuPublicServiceImpl implements StuPublicService {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//提交完成状态
|
|
|
|
|
@Override
|
|
|
|
|
public void updateState(String userId) {
|
|
|
|
|
|
|
|
|
|
StuSupplyScoreExample stuInvoiceScoreExample = new StuSupplyScoreExample();
|
|
|
|
|
stuInvoiceScoreExample.createCriteria().andUserIdEqualTo(userId).andNumbersEqualTo(3);
|
|
|
|
|
List<StuSupplyScore> stuInvoiceScores = stuSupplyScoreMapper.selectByExample(stuInvoiceScoreExample);
|
|
|
|
|
if (!stuInvoiceScores.isEmpty()){
|
|
|
|
|
|
|
|
|
|
stuInvoiceScores.get(0).setReplenishScore("1");
|
|
|
|
|
stuSupplyScoreMapper.updateByPrimaryKeySelective(stuInvoiceScores.get(0));
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 操作记录和成绩
|
|
|
|
|