测试、答卷已完成状态优化
This commit is contained in:
parent
a10540b7cd
commit
e0ec8c9ff3
|
@ -222,13 +222,10 @@ public class WjxDjxxServiceImpl extends ServiceImpl<WjxDjxxMapper, WjxDjxx> impl
|
|||
List<WjxDjxx> listNum = baseMapper.selectList(djxxQueryWrapper);
|
||||
int djsl = listNum.size();
|
||||
System.out.println(xkrs+"------------------------"+djsl);
|
||||
if(1 == 1){
|
||||
if(xkrs == djsl){
|
||||
wjxWjxx.setQpublish("2");
|
||||
wjxWjxxMapper.updateById(wjxWjxx);
|
||||
}
|
||||
|
||||
|
||||
|
||||
String type = "";
|
||||
String content = "";
|
||||
if(StringUtils.equals("6",wjxWjxx.getAtype())){
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
b.id as djId
|
||||
from wjx_wjxx a
|
||||
left join wjx_djxx b on a.vid = b.vid and b.user_id = #{param.userId}
|
||||
where a.qpublish = '1'
|
||||
where a.qpublish in ('1','2')
|
||||
and a.rwbh = #{param.rwbh}
|
||||
and a.xqxn = #{param.xqxn}
|
||||
and a.atype = #{param.atype}
|
||||
|
|
Loading…
Reference in New Issue