| | |
| | | Long companyId = LoginUserUtil.getCompanyId(); |
| | | QueryWrapper<CmsTemplateEntity> objectQueryWrapper = new QueryWrapper<>(); |
| | | objectQueryWrapper.eq("company_id",companyId); |
| | | objectQueryWrapper.eq("company_id",companyId); |
| | | List<CmsTemplateEntity> cmsTemplateEntities = this.baseMapper.selectList(objectQueryWrapper); |
| | | return Result.ok(cmsTemplateEntities); |
| | | } |
| | |
| | | String baseUrl = cmsProperties.getBaseUrl(); |
| | | String templatePath = cmsProperties.getTemplatePath(); |
| | | String htmlUrl = baseUrl + templatePath; |
| | | String pathName = htmlUrl + "\\" + cmsTemplateEntity.getPath(); |
| | | String pathName = htmlUrl + "/" + cmsTemplateEntity.getPath(); |
| | | |
| | | byte[] bytes = new byte[0]; |
| | | try { |
| | |
| | | and a.title like concat ('%',#{record.title},'%') |
| | | </if> |
| | | <if test="record.columnIds != null"> |
| | | and a.column_id = |
| | | and a.column_id in |
| | | <foreach collection="record.columnIds" separator="," close=")" open="(" item="item"> |
| | | #{item} |
| | | </foreach> |