Commit dbaf0783 by qwmqiuwenmin

fix

parent da93d7c3
......@@ -281,6 +281,9 @@ public class StaffApiServiceImpl implements StaffApiService {
if(staff == null) {
WxEnterpriseDTO enterpriseDTO = wxEnterpriseService.selectById(wxEnterpriseId);
TabHaobanWxApplication application = wxApplicationService.selectByWxEnterpriseIdAndApplicationType(wxEnterpriseId,1);
if(application == null){
application = wxApplicationService.selectByWxEnterpriseIdAndApplicationType(wxEnterpriseId,0);
}
if(enterpriseDTO != null) {
if(application != null) {
Date now = new Date();
......
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