添加最总得分赋值功能
This commit is contained in:
parent
8895352a23
commit
e1cbeecf8b
|
@ -441,15 +441,15 @@ public class ZyInfoController extends JeecgController<ZyInfo, IZyInfoService> {
|
|||
zyDbtx.setFbr(user.getUsername());
|
||||
zyDbtxService.save(zyDbtx);
|
||||
|
||||
try {
|
||||
KcWechatSendLog kcWechatSendLog = new KcWechatSendLog();
|
||||
kcWechatSendLog.setOpenid(xxhbbks.getXh());
|
||||
// kcWechatSendLog.setOpenid("2016900057");//指定曹老师账号
|
||||
kcWechatSendLog.setYtkcs(zyDbtx.getContent());
|
||||
sendWxmessage(kcWechatSendLog);
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
// try {
|
||||
// KcWechatSendLog kcWechatSendLog = new KcWechatSendLog();
|
||||
// kcWechatSendLog.setOpenid(xxhbbks.getXh());
|
||||
//// kcWechatSendLog.setOpenid("2016900057");//指定曹老师账号
|
||||
// kcWechatSendLog.setYtkcs(zyDbtx.getContent());
|
||||
// sendWxmessage(kcWechatSendLog);
|
||||
// }catch (Exception e){
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -448,6 +448,7 @@ public class ZyInfoStudentController extends JeecgController<ZyInfoStudent, IZyI
|
|||
par.setCreateTime(new Date());
|
||||
par.setMainId(zyInfo.getId());
|
||||
par.setScore("0");
|
||||
par.setZzdf("0");
|
||||
par.setScoreFabu("1");
|
||||
zyInfoStudentService.save(par);
|
||||
}else{//不相等则是帧数据,直接修改
|
||||
|
@ -455,6 +456,9 @@ public class ZyInfoStudentController extends JeecgController<ZyInfoStudent, IZyI
|
|||
zyInfoStudentUp.eq("id",par.getId());
|
||||
if(StringUtils.isEmpty(par.getScore())){
|
||||
zyInfoStudentUp.set("score","0");
|
||||
zyInfoStudentUp.set("zzdf","0");
|
||||
}else{
|
||||
zyInfoStudentUp.set("zzdf",par.getScore());
|
||||
}
|
||||
zyInfoStudentUp.set("score_fabu","1");
|
||||
zyInfoStudentService.update(zyInfoStudentUp);
|
||||
|
|
Loading…
Reference in New Issue