提交 9b52210b 作者: xiaowang

更新:用户标签

上级 398e969b
......@@ -135,6 +135,11 @@ public class CooperationServiceImpl implements CooperationService {
if (count == 0) {
if (status) {
cooperationDao.updateApplyTagStatus(id, 1);
// 审批通过往用户标签表中新增一条数据
UserTagDO userTagDO = new UserTagDO();
userTagDO.setUserAccountId(userApplyTag.getUserAccountId());
userTagDO.setCooperationTagId(userApplyTag.getCooperationTagId());
cooperationDao.insertUserTag(userTagDO);
} else {
cooperationDao.updateApplyTagStatus(id, 2);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论