Commit a8cf2263 by huangZW

Merge branch 'developer' of http://115.159.76.241/haoban3.0/haoban-manage3.0.git into developer

parents 07c393de 6ed44124
......@@ -117,6 +117,10 @@ public class ApplicationTemplateApiServiceImpl implements ApplicationTemplateApi
for (String wxEnterpriseId : wxEnterpriseIdArr) {
TemplateEnterpriseRelatedDTO dto = templateEnterpriseRelatedService.selectByWxEnterpriseId(wxEnterpriseId);
if(dto != null){
if(!dto.getApplicationTemplateId().equals(applicationTemplateId)){
dto.setApplicationTemplateId(applicationTemplateId);
templateEnterpriseRelatedService.update(dto);
}
continue;
}
dto = new TemplateEnterpriseRelatedDTO();
......
......@@ -355,7 +355,7 @@ public class StaffApiServiceImpl implements StaffApiService {
staff.setPostion(user.getPosition());
staff.setExtendPostion(user.getExternal_position());
//成员更改或更新
if(staff == null) {
if(StringUtils.isBlank(staff.getStaffId())) {
logger.info("新增成员");
staff.setActiveFlag(0);
staff.setCreateTime(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