Commit e923e9a9 by fudahua

绑定的时候 新增小程序配置

parent 8144a45c
...@@ -209,7 +209,8 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService { ...@@ -209,7 +209,8 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
public boolean saveWelcome(WelcomeDTO dto) { public boolean saveWelcome(WelcomeDTO dto) {
TabWelcome tabWelcome = welcomeMapper.selectByWxEnterpriseId(dto.getWxEnterpriseId()); TabWelcome tabWelcome = welcomeMapper.selectByWxEnterpriseId(dto.getWxEnterpriseId());
if (tabWelcome == null) { if (tabWelcome == null) {
tabWelcome.setTitle(dto.getTitle()); tabWelcome = new TabWelcome();
tabWelcome.setTitle(dto.getTitle());
tabWelcome.setWelcomeContent(dto.getWelcomeContent()); tabWelcome.setWelcomeContent(dto.getWelcomeContent());
tabWelcome.setCreateTime(new Date()); tabWelcome.setCreateTime(new Date());
tabWelcome.setUpdateTime(new Date()); tabWelcome.setUpdateTime(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