Commit aff3677b authored by 廖旭伟's avatar 廖旭伟

测试bug修改

parent 6b9911ba
......@@ -49,6 +49,9 @@ public class FeedbackServiceImpl extends AbstractCRUDServiceImpl<FeedbackDao, Fe
entity.setCompanyName(userEntity.getCompanyAdress());
if(StringUtils.isEmpty(entity.getContactInfo())){
entity.setContactInfo(userEntity.getMobile());
if(StringUtils.isEmpty(entity.getContactInfo())){
entity.setContactInfo(userEntity.getPhone());
}
}
if(StringUtils.isEmpty(entity.getEmail())){
entity.setEmail(userEntity.getEmail());
......@@ -87,6 +90,12 @@ public class FeedbackServiceImpl extends AbstractCRUDServiceImpl<FeedbackDao, Fe
if(StringUtils.isEmpty(item.getEmail())){
item.setEmail(userEntity.getEmail());
}
if(StringUtils.isEmpty(item.getContactInfo())){
item.setContactInfo(userEntity.getMobile());
if(StringUtils.isEmpty(item.getContactInfo())){
item.setContactInfo(userEntity.getPhone());
}
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment