|
|
@@ -1062,7 +1062,11 @@ public class CompanyUserServiceImpl implements ICompanyUserService
|
|
|
@Override
|
|
|
public Boolean bindCompanyUserReplyTxt(String replyText, List<Long> userIds) {
|
|
|
try {
|
|
|
- companyUserMapper.bindCompanyUserReplyTxt(replyText, userIds);
|
|
|
+ if(replyText != null && !replyText.isEmpty()){
|
|
|
+ companyUserMapper.bindCompanyUserReplyTxt(replyText, userIds);
|
|
|
+ }else{
|
|
|
+ companyUserMapper.unbindCompanyUserReplyTxt(userIds);
|
|
|
+ }
|
|
|
} catch (RuntimeException e) {
|
|
|
throw new ServiceException("操作异常");
|
|
|
}
|