|
|
@ -127,6 +127,7 @@ public class PersonalTemplateServiceImpl extends BaseServiceImpl<PersonalTemplat |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public List<GetTemplateListResultDTO> templateList(GetTemplateListFormDTO formDTO) { |
|
|
|
formDTO.setKeyIds("5,4,2"); |
|
|
|
//根据客户Id、appId、模板类型查询小程序订阅消息模板列表
|
|
|
|
return baseDao.selectTemplateList(formDTO); |
|
|
|
} |
|
|
@ -138,7 +139,23 @@ public class PersonalTemplateServiceImpl extends BaseServiceImpl<PersonalTemplat |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public List<CustomerTemplateListResultDTO> customerTemplateList(CustomerTemplateListFormDTO formDTO) { |
|
|
|
formDTO.setKeyIds("5,4,2"); |
|
|
|
return baseDao.selectCustomerTemplateList(formDTO); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据tid和keyIds查询是否已存在该模板类型数据 |
|
|
|
* |
|
|
|
* @param appId |
|
|
|
* @param tid |
|
|
|
* @param keyIds |
|
|
|
* @return java.util.List<com.epmet.dto.PersonalTemplateDTO> |
|
|
|
* @author zhaoqifeng |
|
|
|
* @date 2020/11/2 10:29 |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public List<PersonalTemplateDTO> getListByKey(String appId, String tid, String keyIds) { |
|
|
|
return baseDao.selectListByKey(appId, tid, keyIds); |
|
|
|
} |
|
|
|
|
|
|
|
} |