Commit e987cdcc by qwmqiuwenmin

fix

parent 4546fb03
......@@ -117,7 +117,12 @@ public class ApplicationTemplateApiServiceImpl implements ApplicationTemplateApi
for (String wxEnterpriseId : wxEnterpriseIdArr) {
TemplateEnterpriseRelatedDTO dto = templateEnterpriseRelatedService.selectByWxEnterpriseId(wxEnterpriseId);
if(dto != null){
continue;
if(dto.getApplicationTemplateId().equals(applicationTemplateId)){
continue;
}else{
dto.setApplicationTemplateId(applicationTemplateId);
templateEnterpriseRelatedService.update(dto);
}
}
dto = new TemplateEnterpriseRelatedDTO();
dto.setWxEnterpriseId(wxEnterpriseId);
......
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