Commit 42cd5437 by songyinghui

feat: 新建欢迎语时 不关联欢迎语时

parent 71fa2870
...@@ -168,15 +168,17 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService { ...@@ -168,15 +168,17 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
} }
private void saveWelcomeRelation(HmQrcodeQDTO hmQrcodeQDTO) { private void saveWelcomeRelation(HmQrcodeQDTO hmQrcodeQDTO) {
HmWelcomeRelationBO welcomeRelationBo = new HmWelcomeRelationBO(); if (StringUtils.isNotBlank(hmQrcodeQDTO.getWelcomeId())) {
welcomeRelationBo.setEnterpriseId(hmQrcodeQDTO.getEnterpriseId()); HmWelcomeRelationBO welcomeRelationBo = new HmWelcomeRelationBO();
welcomeRelationBo.setWxEnterpriseId(hmQrcodeQDTO.getWxEnterpriseId()); welcomeRelationBo.setEnterpriseId(hmQrcodeQDTO.getEnterpriseId());
welcomeRelationBo.setWelcomeId(hmQrcodeQDTO.getWelcomeId()); welcomeRelationBo.setWxEnterpriseId(hmQrcodeQDTO.getWxEnterpriseId());
welcomeRelationBo.setReferId(hmQrcodeQDTO.getHmId() + ""); welcomeRelationBo.setWelcomeId(hmQrcodeQDTO.getWelcomeId());
welcomeRelationBo.setReferCode(hmQrcodeQDTO.getHmCode()); welcomeRelationBo.setReferId(hmQrcodeQDTO.getHmId() + "");
welcomeRelationBo.setReferName(hmQrcodeQDTO.getName()); welcomeRelationBo.setReferCode(hmQrcodeQDTO.getHmCode());
welcomeRelationBo.setType(HmWelcomeReferType.HM.getCode()); welcomeRelationBo.setReferName(hmQrcodeQDTO.getName());
welcomeRelationService.saveHmWelcomeRelation(welcomeRelationBo); welcomeRelationBo.setType(HmWelcomeReferType.HM.getCode());
welcomeRelationService.saveHmWelcomeRelation(welcomeRelationBo);
}
} }
@GicLogRecord(value = "修改员工活码-${#hmName}-${#logContent}", @GicLogRecord(value = "修改员工活码-${#hmName}-${#logContent}",
......
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