Commit a5304e09 by qwmqiuwenmin

fix

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