|
|
@ -132,8 +132,6 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
|
@Autowired |
|
|
|
private PartyStandardBearerApplyService partyStandardBearerApplyService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private PartyTagRelationService partyTagRelationService; |
|
|
|
|
|
|
|
@Override |
|
|
|
@DataSource(value = DataSourceNames.FIRST) |
|
|
@ -2012,12 +2010,12 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
|
entity.setId(form.getId()); |
|
|
|
entity.setRemark(form.getRemark()); |
|
|
|
entity.setExamineFlag(form.getExamineStatus()); |
|
|
|
if(partyStandardBearerApplyService.updateById(entity)){ |
|
|
|
if (partyStandardBearerApplyService.updateById(entity)) { |
|
|
|
String TagId = baseDao.selectTagId(UserTagEnum.PARTY_STANDARD_BEARER.value()); |
|
|
|
PartyTagRelationEntity TagRelEntity = new PartyTagRelationEntity(); |
|
|
|
TagRelEntity.setPartyId(form.getId()); |
|
|
|
UserTagRelationEntity TagRelEntity = new UserTagRelationEntity(); |
|
|
|
TagRelEntity.setUserId(form.getId()); |
|
|
|
TagRelEntity.setTagId(TagId); |
|
|
|
partyTagRelationService.insert(TagRelEntity); |
|
|
|
userTagRelationService.insert(TagRelEntity); |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|
return new Result().error("党员亮旗审核处理失败"); |
|
|
|