Commit aff7100e by songyinghui

Merge branch 'feature-0808' into developer

parents 89551f24 c1b24dcf
......@@ -143,12 +143,10 @@ public class WelcomeServiceImpl implements WelcomeService {
long count = welcomeMapper.countByWxEnterpriseId(bo.getWxEnterpriseId(), bo.getType());
if (count >= WELCOME_LIMIT) {
if (HmWelcomeType.NORMAL.getCode().equals(bo.getType())){
return "数量已达上限," +
"普通欢迎语最多可创建50条";
return "普通欢迎语最多可创建50条";
}
if (HmWelcomeType.SPECIAL.getCode().equals(bo.getType())){
return "数量已达上限," +
"特殊欢迎语最多可创建50条";
return "特殊欢迎语最多可创建50条";
}
return "欢迎语条目超过限制";
}
......
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