添加调查问卷功能
This commit is contained in:
parent
0a2dd0d38b
commit
2de52530bf
|
@ -280,6 +280,7 @@ public class WjxDjxxServiceImpl extends ServiceImpl<WjxDjxxMapper, WjxDjxx> impl
|
|||
}
|
||||
} else {
|
||||
baseMapper.updateErrMsg(user.getUsername(), vid, jsonResult.getString("errormsg"));
|
||||
|
||||
return jsonResult.getString("errormsg");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -164,4 +164,6 @@ public class WjxWjxx implements Serializable {
|
|||
private String yuanTeacherName;
|
||||
@TableField(exist = false)
|
||||
private String ts;
|
||||
@TableField(exist = false)
|
||||
private String errorMsg;
|
||||
}
|
||||
|
|
|
@ -43,7 +43,8 @@
|
|||
a.fzbms,
|
||||
a.zdsx,
|
||||
ifnull(b.flag,'-1') as flag,
|
||||
b.id as djId
|
||||
b.id as djId,
|
||||
b.error_msg
|
||||
from wjx_wjxx a
|
||||
left join wjx_djxx b on a.vid = b.vid and b.user_id = #{param.userId}
|
||||
where a.qpublish in ('1','2')
|
||||
|
|
|
@ -46,7 +46,7 @@ public class WjxWjxxTmlbServiceImpl extends ServiceImpl<WjxWjxxTmlbMapper, WjxWj
|
|||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public void saveMain(WjxWjxxTmlb wjxWjxxTmlb, List<WjxWjxxTmxx> wjxWjxxTmxxList) {
|
||||
wjxWjxxTmlb.setWjLeixing("6");
|
||||
// wjxWjxxTmlb.setWjLeixing("6");
|
||||
wjxWjxxTmlbMapper.insert(wjxWjxxTmlb);
|
||||
if(wjxWjxxTmxxList!=null && wjxWjxxTmxxList.size()>0) {
|
||||
for(WjxWjxxTmxx entity:wjxWjxxTmxxList) {
|
||||
|
|
Loading…
Reference in New Issue