添加cms管理模块
This commit is contained in:
parent
85cbd77d43
commit
8f7ea2e492
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<parent>
|
||||||
|
<artifactId>ruoyi</artifactId>
|
||||||
|
<groupId>com.ruoyi</groupId>
|
||||||
|
<version>4.2.0</version>
|
||||||
|
</parent>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<artifactId>business</artifactId>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.ruoyi</groupId>
|
||||||
|
<artifactId>ruoyi-common</artifactId>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,154 @@
|
||||||
|
package com.ruoyi.business.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.business.domain.BArticleClass;
|
||||||
|
import com.ruoyi.business.service.IBArticleClassService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.utils.StringUtils;
|
||||||
|
import com.ruoyi.common.core.domain.Ztree;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章分类Controller
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-26
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/business/articleclass")
|
||||||
|
public class BArticleClassController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "business/articleclass";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IBArticleClassService bArticleClassService;
|
||||||
|
|
||||||
|
@RequiresPermissions("business:articleclass:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String articleclass()
|
||||||
|
{
|
||||||
|
return prefix + "/articleclass";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章分类树列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:articleclass:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public List<BArticleClass> list(BArticleClass bArticleClass)
|
||||||
|
{
|
||||||
|
List<BArticleClass> list = bArticleClassService.selectBArticleClassList(bArticleClass);
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出文章分类列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:articleclass:export")
|
||||||
|
@Log(title = "文章分类", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(BArticleClass bArticleClass)
|
||||||
|
{
|
||||||
|
List<BArticleClass> list = bArticleClassService.selectBArticleClassList(bArticleClass);
|
||||||
|
ExcelUtil<BArticleClass> util = new ExcelUtil<BArticleClass>(BArticleClass.class);
|
||||||
|
return util.exportExcel(list, "articleclass");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增文章分类
|
||||||
|
*/
|
||||||
|
@GetMapping(value = { "/add/{id}", "/add/" })
|
||||||
|
public String add(@PathVariable(value = "id", required = false) Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
if (StringUtils.isNotNull(id))
|
||||||
|
{
|
||||||
|
mmap.put("bArticleClass", bArticleClassService.selectBArticleClassById(id));
|
||||||
|
}
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存文章分类
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:articleclass:add")
|
||||||
|
@Log(title = "文章分类", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(BArticleClass bArticleClass)
|
||||||
|
{
|
||||||
|
return toAjax(bArticleClassService.insertBArticleClass(bArticleClass));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改文章分类
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
BArticleClass bArticleClass = bArticleClassService.selectBArticleClassById(id);
|
||||||
|
mmap.put("bArticleClass", bArticleClass);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存文章分类
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:articleclass:edit")
|
||||||
|
@Log(title = "文章分类", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(BArticleClass bArticleClass)
|
||||||
|
{
|
||||||
|
return toAjax(bArticleClassService.updateBArticleClass(bArticleClass));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:articleclass:remove")
|
||||||
|
@Log(title = "文章分类", businessType = BusinessType.DELETE)
|
||||||
|
@GetMapping("/remove/{id}")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(@PathVariable("id") Long id)
|
||||||
|
{
|
||||||
|
return toAjax(bArticleClassService.deleteBArticleClassById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 选择文章分类树
|
||||||
|
*/
|
||||||
|
@GetMapping(value = { "/selectArticleclassTree/{id}", "/selectArticleclassTree/" })
|
||||||
|
public String selectArticleclassTree(@PathVariable(value = "id", required = false) Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
if (StringUtils.isNotNull(id))
|
||||||
|
{
|
||||||
|
mmap.put("bArticleClass", bArticleClassService.selectBArticleClassById(id));
|
||||||
|
}
|
||||||
|
return prefix + "/tree";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 加载文章分类树列表
|
||||||
|
*/
|
||||||
|
@GetMapping("/treeData")
|
||||||
|
@ResponseBody
|
||||||
|
public List<Ztree> treeData()
|
||||||
|
{
|
||||||
|
List<Ztree> ztrees = bArticleClassService.selectBArticleClassTree();
|
||||||
|
return ztrees;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.business.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.business.domain.BArticle;
|
||||||
|
import com.ruoyi.business.service.IBArticleService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章Controller
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-26
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/business/article")
|
||||||
|
public class BArticleController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "business/article";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IBArticleService bArticleService;
|
||||||
|
|
||||||
|
@RequiresPermissions("business:article:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String article()
|
||||||
|
{
|
||||||
|
return prefix + "/article";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:article:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(BArticle bArticle)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<BArticle> list = bArticleService.selectBArticleList(bArticle);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出文章列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:article:export")
|
||||||
|
@Log(title = "文章", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(BArticle bArticle)
|
||||||
|
{
|
||||||
|
List<BArticle> list = bArticleService.selectBArticleList(bArticle);
|
||||||
|
ExcelUtil<BArticle> util = new ExcelUtil<BArticle>(BArticle.class);
|
||||||
|
return util.exportExcel(list, "article");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增文章
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存文章
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:article:add")
|
||||||
|
@Log(title = "文章", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(BArticle bArticle)
|
||||||
|
{
|
||||||
|
return toAjax(bArticleService.insertBArticle(bArticle));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改文章
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
BArticle bArticle = bArticleService.selectBArticleById(id);
|
||||||
|
mmap.put("bArticle", bArticle);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存文章
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:article:edit")
|
||||||
|
@Log(title = "文章", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(BArticle bArticle)
|
||||||
|
{
|
||||||
|
return toAjax(bArticleService.updateBArticle(bArticle));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除文章
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:article:remove")
|
||||||
|
@Log(title = "文章", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(bArticleService.deleteBArticleByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.business.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.business.domain.BBanner;
|
||||||
|
import com.ruoyi.business.service.IBBannerService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 轮播图Controller
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/business/banner")
|
||||||
|
public class BBannerController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "business/banner";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IBBannerService bBannerService;
|
||||||
|
|
||||||
|
@RequiresPermissions("business:banner:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String banner()
|
||||||
|
{
|
||||||
|
return prefix + "/banner";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询轮播图列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:banner:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(BBanner bBanner)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<BBanner> list = bBannerService.selectBBannerList(bBanner);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出轮播图列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:banner:export")
|
||||||
|
@Log(title = "轮播图", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(BBanner bBanner)
|
||||||
|
{
|
||||||
|
List<BBanner> list = bBannerService.selectBBannerList(bBanner);
|
||||||
|
ExcelUtil<BBanner> util = new ExcelUtil<BBanner>(BBanner.class);
|
||||||
|
return util.exportExcel(list, "banner");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增轮播图
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存轮播图
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:banner:add")
|
||||||
|
@Log(title = "轮播图", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(BBanner bBanner)
|
||||||
|
{
|
||||||
|
return toAjax(bBannerService.insertBBanner(bBanner));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改轮播图
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
BBanner bBanner = bBannerService.selectBBannerById(id);
|
||||||
|
mmap.put("bBanner", bBanner);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存轮播图
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:banner:edit")
|
||||||
|
@Log(title = "轮播图", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(BBanner bBanner)
|
||||||
|
{
|
||||||
|
return toAjax(bBannerService.updateBBanner(bBanner));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除轮播图
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:banner:remove")
|
||||||
|
@Log(title = "轮播图", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(bBannerService.deleteBBannerByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,154 @@
|
||||||
|
package com.ruoyi.business.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.business.domain.BFrontEndMenu;
|
||||||
|
import com.ruoyi.business.service.IBFrontEndMenuService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.utils.StringUtils;
|
||||||
|
import com.ruoyi.common.core.domain.Ztree;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 前端菜单Controller
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-24
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/business/menu")
|
||||||
|
public class BFrontEndMenuController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "business/menu";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IBFrontEndMenuService bFrontEndMenuService;
|
||||||
|
|
||||||
|
@RequiresPermissions("business:menu:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String menu()
|
||||||
|
{
|
||||||
|
return prefix + "/menu";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询前端菜单树列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:menu:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public List<BFrontEndMenu> list(BFrontEndMenu bFrontEndMenu)
|
||||||
|
{
|
||||||
|
List<BFrontEndMenu> list = bFrontEndMenuService.selectBFrontEndMenuList(bFrontEndMenu);
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出前端菜单列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:menu:export")
|
||||||
|
@Log(title = "前端菜单", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(BFrontEndMenu bFrontEndMenu)
|
||||||
|
{
|
||||||
|
List<BFrontEndMenu> list = bFrontEndMenuService.selectBFrontEndMenuList(bFrontEndMenu);
|
||||||
|
ExcelUtil<BFrontEndMenu> util = new ExcelUtil<BFrontEndMenu>(BFrontEndMenu.class);
|
||||||
|
return util.exportExcel(list, "menu");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增前端菜单
|
||||||
|
*/
|
||||||
|
@GetMapping(value = { "/add/{id}", "/add/" })
|
||||||
|
public String add(@PathVariable(value = "id", required = false) Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
if (StringUtils.isNotNull(id))
|
||||||
|
{
|
||||||
|
mmap.put("bFrontEndMenu", bFrontEndMenuService.selectBFrontEndMenuById(id));
|
||||||
|
}
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存前端菜单
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:menu:add")
|
||||||
|
@Log(title = "前端菜单", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(BFrontEndMenu bFrontEndMenu)
|
||||||
|
{
|
||||||
|
return toAjax(bFrontEndMenuService.insertBFrontEndMenu(bFrontEndMenu));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改前端菜单
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
BFrontEndMenu bFrontEndMenu = bFrontEndMenuService.selectBFrontEndMenuById(id);
|
||||||
|
mmap.put("bFrontEndMenu", bFrontEndMenu);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存前端菜单
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:menu:edit")
|
||||||
|
@Log(title = "前端菜单", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(BFrontEndMenu bFrontEndMenu)
|
||||||
|
{
|
||||||
|
return toAjax(bFrontEndMenuService.updateBFrontEndMenu(bFrontEndMenu));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:menu:remove")
|
||||||
|
@Log(title = "前端菜单", businessType = BusinessType.DELETE)
|
||||||
|
@GetMapping("/remove/{id}")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(@PathVariable("id") Long id)
|
||||||
|
{
|
||||||
|
return toAjax(bFrontEndMenuService.deleteBFrontEndMenuById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 选择前端菜单树
|
||||||
|
*/
|
||||||
|
@GetMapping(value = { "/selectMenuTree/{id}", "/selectMenuTree/" })
|
||||||
|
public String selectMenuTree(@PathVariable(value = "id", required = false) Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
if (StringUtils.isNotNull(id))
|
||||||
|
{
|
||||||
|
mmap.put("bFrontEndMenu", bFrontEndMenuService.selectBFrontEndMenuById(id));
|
||||||
|
}
|
||||||
|
return prefix + "/tree";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 加载前端菜单树列表
|
||||||
|
*/
|
||||||
|
@GetMapping("/treeData")
|
||||||
|
@ResponseBody
|
||||||
|
public List<Ztree> treeData()
|
||||||
|
{
|
||||||
|
List<Ztree> ztrees = bFrontEndMenuService.selectBFrontEndMenuTree();
|
||||||
|
return ztrees;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,154 @@
|
||||||
|
package com.ruoyi.business.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.business.domain.BProductClass;
|
||||||
|
import com.ruoyi.business.service.IBProductClassService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.utils.StringUtils;
|
||||||
|
import com.ruoyi.common.core.domain.Ztree;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品分类Controller
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/business/businessclass")
|
||||||
|
public class BProductClassController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "business/businessclass";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IBProductClassService bProductClassService;
|
||||||
|
|
||||||
|
@RequiresPermissions("business:businessclass:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String businessclass()
|
||||||
|
{
|
||||||
|
return prefix + "/businessclass";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询商品分类树列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:businessclass:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public List<BProductClass> list(BProductClass bProductClass)
|
||||||
|
{
|
||||||
|
List<BProductClass> list = bProductClassService.selectBProductClassList(bProductClass);
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出商品分类列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:businessclass:export")
|
||||||
|
@Log(title = "商品分类", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(BProductClass bProductClass)
|
||||||
|
{
|
||||||
|
List<BProductClass> list = bProductClassService.selectBProductClassList(bProductClass);
|
||||||
|
ExcelUtil<BProductClass> util = new ExcelUtil<BProductClass>(BProductClass.class);
|
||||||
|
return util.exportExcel(list, "businessclass");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增商品分类
|
||||||
|
*/
|
||||||
|
@GetMapping(value = { "/add/{id}", "/add/" })
|
||||||
|
public String add(@PathVariable(value = "id", required = false) Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
if (StringUtils.isNotNull(id))
|
||||||
|
{
|
||||||
|
mmap.put("bProductClass", bProductClassService.selectBProductClassById(id));
|
||||||
|
}
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存商品分类
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:businessclass:add")
|
||||||
|
@Log(title = "商品分类", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(BProductClass bProductClass)
|
||||||
|
{
|
||||||
|
return toAjax(bProductClassService.insertBProductClass(bProductClass));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改商品分类
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
BProductClass bProductClass = bProductClassService.selectBProductClassById(id);
|
||||||
|
mmap.put("bProductClass", bProductClass);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存商品分类
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:businessclass:edit")
|
||||||
|
@Log(title = "商品分类", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(BProductClass bProductClass)
|
||||||
|
{
|
||||||
|
return toAjax(bProductClassService.updateBProductClass(bProductClass));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:businessclass:remove")
|
||||||
|
@Log(title = "商品分类", businessType = BusinessType.DELETE)
|
||||||
|
@GetMapping("/remove/{id}")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(@PathVariable("id") Long id)
|
||||||
|
{
|
||||||
|
return toAjax(bProductClassService.deleteBProductClassById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 选择商品分类树
|
||||||
|
*/
|
||||||
|
@GetMapping(value = { "/selectBusinessclassTree/{id}", "/selectBusinessclassTree/" })
|
||||||
|
public String selectBusinessclassTree(@PathVariable(value = "id", required = false) Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
if (StringUtils.isNotNull(id))
|
||||||
|
{
|
||||||
|
mmap.put("bProductClass", bProductClassService.selectBProductClassById(id));
|
||||||
|
}
|
||||||
|
return prefix + "/tree";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 加载商品分类树列表
|
||||||
|
*/
|
||||||
|
@GetMapping("/treeData")
|
||||||
|
@ResponseBody
|
||||||
|
public List<Ztree> treeData()
|
||||||
|
{
|
||||||
|
List<Ztree> ztrees = bProductClassService.selectBProductClassTree();
|
||||||
|
return ztrees;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.ruoyi.business.controller;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.ModelMap;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import com.ruoyi.common.annotation.Log;
|
||||||
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
|
import com.ruoyi.business.domain.BProduct;
|
||||||
|
import com.ruoyi.business.service.IBProductService;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产品Controller
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/business/product")
|
||||||
|
public class BProductController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "business/product";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IBProductService bProductService;
|
||||||
|
|
||||||
|
@RequiresPermissions("business:product:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String product()
|
||||||
|
{
|
||||||
|
return prefix + "/product";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询产品列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:product:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(BProduct bProduct)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<BProduct> list = bProductService.selectBProductList(bProduct);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出产品列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:product:export")
|
||||||
|
@Log(title = "产品", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(BProduct bProduct)
|
||||||
|
{
|
||||||
|
List<BProduct> list = bProductService.selectBProductList(bProduct);
|
||||||
|
ExcelUtil<BProduct> util = new ExcelUtil<BProduct>(BProduct.class);
|
||||||
|
return util.exportExcel(list, "product");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增产品
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存产品
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:product:add")
|
||||||
|
@Log(title = "产品", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(BProduct bProduct)
|
||||||
|
{
|
||||||
|
return toAjax(bProductService.insertBProduct(bProduct));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改产品
|
||||||
|
*/
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
BProduct bProduct = bProductService.selectBProductById(id);
|
||||||
|
mmap.put("bProduct", bProduct);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存产品
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:product:edit")
|
||||||
|
@Log(title = "产品", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(BProduct bProduct)
|
||||||
|
{
|
||||||
|
return toAjax(bProductService.updateBProduct(bProduct));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除产品
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("business:product:remove")
|
||||||
|
@Log(title = "产品", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(bProductService.deleteBProductByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,135 @@
|
||||||
|
package com.ruoyi.business.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章对象 b_article
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-26
|
||||||
|
*/
|
||||||
|
public class BArticle extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** id */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 标题 */
|
||||||
|
@Excel(name = "标题")
|
||||||
|
private String title;
|
||||||
|
|
||||||
|
/** 内容 */
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
/** 语言 */
|
||||||
|
@Excel(name = "语言")
|
||||||
|
private String language;
|
||||||
|
|
||||||
|
/** 来源 */
|
||||||
|
@Excel(name = "来源")
|
||||||
|
private String source;
|
||||||
|
|
||||||
|
/** 外链 */
|
||||||
|
@Excel(name = "外链")
|
||||||
|
private String link;
|
||||||
|
|
||||||
|
/** 分类id */
|
||||||
|
@Excel(name = "分类id")
|
||||||
|
private Long articleclassid;
|
||||||
|
|
||||||
|
/** 分类id */
|
||||||
|
@Excel(name = "分类名称")
|
||||||
|
private String parentName;
|
||||||
|
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setTitle(String title)
|
||||||
|
{
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTitle()
|
||||||
|
{
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
public void setContent(String content)
|
||||||
|
{
|
||||||
|
this.content = content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getContent()
|
||||||
|
{
|
||||||
|
return content;
|
||||||
|
}
|
||||||
|
public void setLanguage(String language)
|
||||||
|
{
|
||||||
|
this.language = language;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLanguage()
|
||||||
|
{
|
||||||
|
return language;
|
||||||
|
}
|
||||||
|
public void setSource(String source)
|
||||||
|
{
|
||||||
|
this.source = source;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSource()
|
||||||
|
{
|
||||||
|
return source;
|
||||||
|
}
|
||||||
|
public void setLink(String link)
|
||||||
|
{
|
||||||
|
this.link = link;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLink()
|
||||||
|
{
|
||||||
|
return link;
|
||||||
|
}
|
||||||
|
public void setArticleclassid(Long articleclassid)
|
||||||
|
{
|
||||||
|
this.articleclassid = articleclassid;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getArticleclassid()
|
||||||
|
{
|
||||||
|
return articleclassid;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getParentName() {
|
||||||
|
return parentName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setParentName(String parentName) {
|
||||||
|
this.parentName = parentName;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("title", getTitle())
|
||||||
|
.append("content", getContent())
|
||||||
|
.append("language", getLanguage())
|
||||||
|
.append("source", getSource())
|
||||||
|
.append("link", getLink())
|
||||||
|
.append("articleclassid", getArticleclassid())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("updateTime", getUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,82 @@
|
||||||
|
package com.ruoyi.business.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.TreeEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章分类对象 b_article_class
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-26
|
||||||
|
*/
|
||||||
|
public class BArticleClass extends TreeEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** id */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 名称 */
|
||||||
|
@Excel(name = "名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/** 描述 */
|
||||||
|
@Excel(name = "描述")
|
||||||
|
private String articleDescribe;
|
||||||
|
|
||||||
|
/** 附加参数 */
|
||||||
|
@Excel(name = "附加参数")
|
||||||
|
private String additional;
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setName(String name)
|
||||||
|
{
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName()
|
||||||
|
{
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setArticleDescribe(String articleDescribe)
|
||||||
|
{
|
||||||
|
this.articleDescribe = articleDescribe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getArticleDescribe()
|
||||||
|
{
|
||||||
|
return articleDescribe;
|
||||||
|
}
|
||||||
|
public void setAdditional(String additional)
|
||||||
|
{
|
||||||
|
this.additional = additional;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAdditional()
|
||||||
|
{
|
||||||
|
return additional;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("parentId", getParentId())
|
||||||
|
.append("name", getName())
|
||||||
|
.append("articleDescribe", getArticleDescribe())
|
||||||
|
.append("additional", getAdditional())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("updateTime", getUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,67 @@
|
||||||
|
package com.ruoyi.business.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 轮播图对象 b_banner
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
public class BBanner extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** id */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 描述 */
|
||||||
|
@Excel(name = "描述")
|
||||||
|
private String bannerDescribe;
|
||||||
|
|
||||||
|
/** 文件路径 */
|
||||||
|
@Excel(name = "文件路径")
|
||||||
|
private String bannerFile;
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setBannerDescribe(String bannerDescribe)
|
||||||
|
{
|
||||||
|
this.bannerDescribe = bannerDescribe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBannerDescribe()
|
||||||
|
{
|
||||||
|
return bannerDescribe;
|
||||||
|
}
|
||||||
|
public void setBannerFile(String bannerFile)
|
||||||
|
{
|
||||||
|
this.bannerFile = bannerFile;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBannerFile()
|
||||||
|
{
|
||||||
|
return bannerFile;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("bannerDescribe", getBannerDescribe())
|
||||||
|
.append("bannerFile", getBannerFile())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("updateTime", getUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,80 @@
|
||||||
|
package com.ruoyi.business.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.TreeEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 前端菜单对象 b_front_end_menu
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-24
|
||||||
|
*/
|
||||||
|
public class BFrontEndMenu extends TreeEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** id */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 名字 */
|
||||||
|
@Excel(name = "名字")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/** 链接 */
|
||||||
|
@Excel(name = "链接")
|
||||||
|
private String link;
|
||||||
|
|
||||||
|
/** 附加参数 */
|
||||||
|
@Excel(name = "附加参数")
|
||||||
|
private String additional;
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setName(String name)
|
||||||
|
{
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName()
|
||||||
|
{
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setLink(String link)
|
||||||
|
{
|
||||||
|
this.link = link;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLink()
|
||||||
|
{
|
||||||
|
return link;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAdditional() {
|
||||||
|
return additional;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAdditional(String additional) {
|
||||||
|
this.additional = additional;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("name", getName())
|
||||||
|
.append("link", getLink())
|
||||||
|
.append("parentId", getParentId())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("updateTime", getUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,91 @@
|
||||||
|
package com.ruoyi.business.domain;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.BaseEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产品对象 b_product
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
public class BProduct extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** id */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 商品名称 */
|
||||||
|
@Excel(name = "商品名称")
|
||||||
|
private String productName;
|
||||||
|
|
||||||
|
/** 商品详情 */
|
||||||
|
private String productDetails;
|
||||||
|
|
||||||
|
/** 分类id */
|
||||||
|
@Excel(name = "分类id")
|
||||||
|
private Long classId;
|
||||||
|
/** 分类名称 */
|
||||||
|
String className;
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setProductName(String productName)
|
||||||
|
{
|
||||||
|
this.productName = productName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProductName()
|
||||||
|
{
|
||||||
|
return productName;
|
||||||
|
}
|
||||||
|
public void setProductDetails(String productDetails)
|
||||||
|
{
|
||||||
|
this.productDetails = productDetails;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getProductDetails()
|
||||||
|
{
|
||||||
|
return productDetails;
|
||||||
|
}
|
||||||
|
public void setClassId(Long classId)
|
||||||
|
{
|
||||||
|
this.classId = classId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getClassId()
|
||||||
|
{
|
||||||
|
return classId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getClassName() {
|
||||||
|
return className;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setClassName(String className) {
|
||||||
|
this.className = className;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("productName", getProductName())
|
||||||
|
.append("productDetails", getProductDetails())
|
||||||
|
.append("classId", getClassId())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("updateTime", getUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,83 @@
|
||||||
|
package com.ruoyi.business.domain;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import com.ruoyi.common.core.domain.TreeEntity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品分类对象 b_product_class
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
public class BProductClass extends TreeEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** id */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 分类名称 */
|
||||||
|
@Excel(name = "分类名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/** 分类描述 */
|
||||||
|
@Excel(name = "分类描述")
|
||||||
|
private String classDescribe;
|
||||||
|
|
||||||
|
/** 附加参数 */
|
||||||
|
@Excel(name = "附加参数")
|
||||||
|
private String additional;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setId(Long id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId()
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setName(String name)
|
||||||
|
{
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName()
|
||||||
|
{
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setClassDescribe(String classDescribe)
|
||||||
|
{
|
||||||
|
this.classDescribe = classDescribe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getClassDescribe()
|
||||||
|
{
|
||||||
|
return classDescribe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAdditional() {
|
||||||
|
return additional;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAdditional(String additional) {
|
||||||
|
this.additional = additional;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("id", getId())
|
||||||
|
.append("parentId", getParentId())
|
||||||
|
.append("name", getName())
|
||||||
|
.append("classDescribe", getClassDescribe())
|
||||||
|
.append("additional", getAdditional())
|
||||||
|
.append("createTime", getCreateTime())
|
||||||
|
.append("updateTime", getUpdateTime())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.ruoyi.business.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BArticleClass;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章分类Mapper接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-26
|
||||||
|
*/
|
||||||
|
public interface BArticleClassMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询文章分类
|
||||||
|
*
|
||||||
|
* @param id 文章分类ID
|
||||||
|
* @return 文章分类
|
||||||
|
*/
|
||||||
|
public BArticleClass selectBArticleClassById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章分类列表
|
||||||
|
*
|
||||||
|
* @param bArticleClass 文章分类
|
||||||
|
* @return 文章分类集合
|
||||||
|
*/
|
||||||
|
public List<BArticleClass> selectBArticleClassList(BArticleClass bArticleClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增文章分类
|
||||||
|
*
|
||||||
|
* @param bArticleClass 文章分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBArticleClass(BArticleClass bArticleClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改文章分类
|
||||||
|
*
|
||||||
|
* @param bArticleClass 文章分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBArticleClass(BArticleClass bArticleClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除文章分类
|
||||||
|
*
|
||||||
|
* @param id 文章分类ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBArticleClassById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除文章分类
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBArticleClassByIds(String[] ids);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.ruoyi.business.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BArticle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章Mapper接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-26
|
||||||
|
*/
|
||||||
|
public interface BArticleMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询文章
|
||||||
|
*
|
||||||
|
* @param id 文章ID
|
||||||
|
* @return 文章
|
||||||
|
*/
|
||||||
|
public BArticle selectBArticleById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章列表
|
||||||
|
*
|
||||||
|
* @param bArticle 文章
|
||||||
|
* @return 文章集合
|
||||||
|
*/
|
||||||
|
public List<BArticle> selectBArticleList(BArticle bArticle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增文章
|
||||||
|
*
|
||||||
|
* @param bArticle 文章
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBArticle(BArticle bArticle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改文章
|
||||||
|
*
|
||||||
|
* @param bArticle 文章
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBArticle(BArticle bArticle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除文章
|
||||||
|
*
|
||||||
|
* @param id 文章ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBArticleById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除文章
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBArticleByIds(String[] ids);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.ruoyi.business.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BBanner;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 轮播图Mapper接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
public interface BBannerMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询轮播图
|
||||||
|
*
|
||||||
|
* @param id 轮播图ID
|
||||||
|
* @return 轮播图
|
||||||
|
*/
|
||||||
|
public BBanner selectBBannerById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询轮播图列表
|
||||||
|
*
|
||||||
|
* @param bBanner 轮播图
|
||||||
|
* @return 轮播图集合
|
||||||
|
*/
|
||||||
|
public List<BBanner> selectBBannerList(BBanner bBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增轮播图
|
||||||
|
*
|
||||||
|
* @param bBanner 轮播图
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBBanner(BBanner bBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改轮播图
|
||||||
|
*
|
||||||
|
* @param bBanner 轮播图
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBBanner(BBanner bBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除轮播图
|
||||||
|
*
|
||||||
|
* @param id 轮播图ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBBannerById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除轮播图
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBBannerByIds(String[] ids);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.ruoyi.business.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BFrontEndMenu;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 前端菜单Mapper接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-24
|
||||||
|
*/
|
||||||
|
public interface BFrontEndMenuMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询前端菜单
|
||||||
|
*
|
||||||
|
* @param id 前端菜单ID
|
||||||
|
* @return 前端菜单
|
||||||
|
*/
|
||||||
|
public BFrontEndMenu selectBFrontEndMenuById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询前端菜单列表
|
||||||
|
*
|
||||||
|
* @param bFrontEndMenu 前端菜单
|
||||||
|
* @return 前端菜单集合
|
||||||
|
*/
|
||||||
|
public List<BFrontEndMenu> selectBFrontEndMenuList(BFrontEndMenu bFrontEndMenu);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增前端菜单
|
||||||
|
*
|
||||||
|
* @param bFrontEndMenu 前端菜单
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBFrontEndMenu(BFrontEndMenu bFrontEndMenu);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改前端菜单
|
||||||
|
*
|
||||||
|
* @param bFrontEndMenu 前端菜单
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBFrontEndMenu(BFrontEndMenu bFrontEndMenu);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除前端菜单
|
||||||
|
*
|
||||||
|
* @param id 前端菜单ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBFrontEndMenuById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除前端菜单
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBFrontEndMenuByIds(String[] ids);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.ruoyi.business.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BProductClass;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品分类Mapper接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
public interface BProductClassMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询商品分类
|
||||||
|
*
|
||||||
|
* @param id 商品分类ID
|
||||||
|
* @return 商品分类
|
||||||
|
*/
|
||||||
|
public BProductClass selectBProductClassById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询商品分类列表
|
||||||
|
*
|
||||||
|
* @param bProductClass 商品分类
|
||||||
|
* @return 商品分类集合
|
||||||
|
*/
|
||||||
|
public List<BProductClass> selectBProductClassList(BProductClass bProductClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增商品分类
|
||||||
|
*
|
||||||
|
* @param bProductClass 商品分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBProductClass(BProductClass bProductClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改商品分类
|
||||||
|
*
|
||||||
|
* @param bProductClass 商品分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBProductClass(BProductClass bProductClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除商品分类
|
||||||
|
*
|
||||||
|
* @param id 商品分类ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBProductClassById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除商品分类
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBProductClassByIds(String[] ids);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.ruoyi.business.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BProduct;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产品Mapper接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
public interface BProductMapper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询产品
|
||||||
|
*
|
||||||
|
* @param id 产品ID
|
||||||
|
* @return 产品
|
||||||
|
*/
|
||||||
|
public BProduct selectBProductById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询产品列表
|
||||||
|
*
|
||||||
|
* @param bProduct 产品
|
||||||
|
* @return 产品集合
|
||||||
|
*/
|
||||||
|
public List<BProduct> selectBProductList(BProduct bProduct);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增产品
|
||||||
|
*
|
||||||
|
* @param bProduct 产品
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBProduct(BProduct bProduct);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改产品
|
||||||
|
*
|
||||||
|
* @param bProduct 产品
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBProduct(BProduct bProduct);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除产品
|
||||||
|
*
|
||||||
|
* @param id 产品ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBProductById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除产品
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBProductByIds(String[] ids);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.ruoyi.business.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BArticleClass;
|
||||||
|
import com.ruoyi.common.core.domain.Ztree;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章分类Service接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-26
|
||||||
|
*/
|
||||||
|
public interface IBArticleClassService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询文章分类
|
||||||
|
*
|
||||||
|
* @param id 文章分类ID
|
||||||
|
* @return 文章分类
|
||||||
|
*/
|
||||||
|
public BArticleClass selectBArticleClassById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章分类列表
|
||||||
|
*
|
||||||
|
* @param bArticleClass 文章分类
|
||||||
|
* @return 文章分类集合
|
||||||
|
*/
|
||||||
|
public List<BArticleClass> selectBArticleClassList(BArticleClass bArticleClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增文章分类
|
||||||
|
*
|
||||||
|
* @param bArticleClass 文章分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBArticleClass(BArticleClass bArticleClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改文章分类
|
||||||
|
*
|
||||||
|
* @param bArticleClass 文章分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBArticleClass(BArticleClass bArticleClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除文章分类
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBArticleClassByIds(String ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除文章分类信息
|
||||||
|
*
|
||||||
|
* @param id 文章分类ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBArticleClassById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章分类树列表
|
||||||
|
*
|
||||||
|
* @return 所有文章分类信息
|
||||||
|
*/
|
||||||
|
public List<Ztree> selectBArticleClassTree();
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.ruoyi.business.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BArticle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章Service接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-26
|
||||||
|
*/
|
||||||
|
public interface IBArticleService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询文章
|
||||||
|
*
|
||||||
|
* @param id 文章ID
|
||||||
|
* @return 文章
|
||||||
|
*/
|
||||||
|
public BArticle selectBArticleById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章列表
|
||||||
|
*
|
||||||
|
* @param bArticle 文章
|
||||||
|
* @return 文章集合
|
||||||
|
*/
|
||||||
|
public List<BArticle> selectBArticleList(BArticle bArticle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增文章
|
||||||
|
*
|
||||||
|
* @param bArticle 文章
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBArticle(BArticle bArticle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改文章
|
||||||
|
*
|
||||||
|
* @param bArticle 文章
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBArticle(BArticle bArticle);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除文章
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBArticleByIds(String ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除文章信息
|
||||||
|
*
|
||||||
|
* @param id 文章ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBArticleById(Long id);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.ruoyi.business.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BBanner;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 轮播图Service接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
public interface IBBannerService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询轮播图
|
||||||
|
*
|
||||||
|
* @param id 轮播图ID
|
||||||
|
* @return 轮播图
|
||||||
|
*/
|
||||||
|
public BBanner selectBBannerById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询轮播图列表
|
||||||
|
*
|
||||||
|
* @param bBanner 轮播图
|
||||||
|
* @return 轮播图集合
|
||||||
|
*/
|
||||||
|
public List<BBanner> selectBBannerList(BBanner bBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增轮播图
|
||||||
|
*
|
||||||
|
* @param bBanner 轮播图
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBBanner(BBanner bBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改轮播图
|
||||||
|
*
|
||||||
|
* @param bBanner 轮播图
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBBanner(BBanner bBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除轮播图
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBBannerByIds(String ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除轮播图信息
|
||||||
|
*
|
||||||
|
* @param id 轮播图ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBBannerById(Long id);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.ruoyi.business.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BFrontEndMenu;
|
||||||
|
import com.ruoyi.common.core.domain.Ztree;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 前端菜单Service接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-24
|
||||||
|
*/
|
||||||
|
public interface IBFrontEndMenuService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询前端菜单
|
||||||
|
*
|
||||||
|
* @param id 前端菜单ID
|
||||||
|
* @return 前端菜单
|
||||||
|
*/
|
||||||
|
public BFrontEndMenu selectBFrontEndMenuById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询前端菜单列表
|
||||||
|
*
|
||||||
|
* @param bFrontEndMenu 前端菜单
|
||||||
|
* @return 前端菜单集合
|
||||||
|
*/
|
||||||
|
public List<BFrontEndMenu> selectBFrontEndMenuList(BFrontEndMenu bFrontEndMenu);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增前端菜单
|
||||||
|
*
|
||||||
|
* @param bFrontEndMenu 前端菜单
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBFrontEndMenu(BFrontEndMenu bFrontEndMenu);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改前端菜单
|
||||||
|
*
|
||||||
|
* @param bFrontEndMenu 前端菜单
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBFrontEndMenu(BFrontEndMenu bFrontEndMenu);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除前端菜单
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBFrontEndMenuByIds(String ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除前端菜单信息
|
||||||
|
*
|
||||||
|
* @param id 前端菜单ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBFrontEndMenuById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询前端菜单树列表
|
||||||
|
*
|
||||||
|
* @return 所有前端菜单信息
|
||||||
|
*/
|
||||||
|
public List<Ztree> selectBFrontEndMenuTree();
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.ruoyi.business.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BProductClass;
|
||||||
|
import com.ruoyi.common.core.domain.Ztree;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品分类Service接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
public interface IBProductClassService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询商品分类
|
||||||
|
*
|
||||||
|
* @param id 商品分类ID
|
||||||
|
* @return 商品分类
|
||||||
|
*/
|
||||||
|
public BProductClass selectBProductClassById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询商品分类列表
|
||||||
|
*
|
||||||
|
* @param bProductClass 商品分类
|
||||||
|
* @return 商品分类集合
|
||||||
|
*/
|
||||||
|
public List<BProductClass> selectBProductClassList(BProductClass bProductClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增商品分类
|
||||||
|
*
|
||||||
|
* @param bProductClass 商品分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBProductClass(BProductClass bProductClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改商品分类
|
||||||
|
*
|
||||||
|
* @param bProductClass 商品分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBProductClass(BProductClass bProductClass);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除商品分类
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBProductClassByIds(String ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除商品分类信息
|
||||||
|
*
|
||||||
|
* @param id 商品分类ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBProductClassById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询商品分类树列表
|
||||||
|
*
|
||||||
|
* @return 所有商品分类信息
|
||||||
|
*/
|
||||||
|
public List<Ztree> selectBProductClassTree();
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.ruoyi.business.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.business.domain.BProduct;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产品Service接口
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
public interface IBProductService
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询产品
|
||||||
|
*
|
||||||
|
* @param id 产品ID
|
||||||
|
* @return 产品
|
||||||
|
*/
|
||||||
|
public BProduct selectBProductById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询产品列表
|
||||||
|
*
|
||||||
|
* @param bProduct 产品
|
||||||
|
* @return 产品集合
|
||||||
|
*/
|
||||||
|
public List<BProduct> selectBProductList(BProduct bProduct);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增产品
|
||||||
|
*
|
||||||
|
* @param bProduct 产品
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertBProduct(BProduct bProduct);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改产品
|
||||||
|
*
|
||||||
|
* @param bProduct 产品
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateBProduct(BProduct bProduct);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除产品
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBProductByIds(String ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除产品信息
|
||||||
|
*
|
||||||
|
* @param id 产品ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteBProductById(Long id);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,121 @@
|
||||||
|
package com.ruoyi.business.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import com.ruoyi.common.core.domain.Ztree;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.business.mapper.BArticleClassMapper;
|
||||||
|
import com.ruoyi.business.domain.BArticleClass;
|
||||||
|
import com.ruoyi.business.service.IBArticleClassService;
|
||||||
|
import com.ruoyi.common.core.text.Convert;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章分类Service业务层处理
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-26
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BArticleClassServiceImpl implements IBArticleClassService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private BArticleClassMapper bArticleClassMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章分类
|
||||||
|
*
|
||||||
|
* @param id 文章分类ID
|
||||||
|
* @return 文章分类
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public BArticleClass selectBArticleClassById(Long id)
|
||||||
|
{
|
||||||
|
return bArticleClassMapper.selectBArticleClassById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章分类列表
|
||||||
|
*
|
||||||
|
* @param bArticleClass 文章分类
|
||||||
|
* @return 文章分类
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<BArticleClass> selectBArticleClassList(BArticleClass bArticleClass)
|
||||||
|
{
|
||||||
|
return bArticleClassMapper.selectBArticleClassList(bArticleClass);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增文章分类
|
||||||
|
*
|
||||||
|
* @param bArticleClass 文章分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertBArticleClass(BArticleClass bArticleClass)
|
||||||
|
{
|
||||||
|
bArticleClass.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return bArticleClassMapper.insertBArticleClass(bArticleClass);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改文章分类
|
||||||
|
*
|
||||||
|
* @param bArticleClass 文章分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateBArticleClass(BArticleClass bArticleClass)
|
||||||
|
{
|
||||||
|
bArticleClass.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return bArticleClassMapper.updateBArticleClass(bArticleClass);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除文章分类对象
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBArticleClassByIds(String ids)
|
||||||
|
{
|
||||||
|
return bArticleClassMapper.deleteBArticleClassByIds(Convert.toStrArray(ids));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除文章分类信息
|
||||||
|
*
|
||||||
|
* @param id 文章分类ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBArticleClassById(Long id)
|
||||||
|
{
|
||||||
|
return bArticleClassMapper.deleteBArticleClassById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章分类树列表
|
||||||
|
*
|
||||||
|
* @return 所有文章分类信息
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<Ztree> selectBArticleClassTree()
|
||||||
|
{
|
||||||
|
List<BArticleClass> bArticleClassList = bArticleClassMapper.selectBArticleClassList(new BArticleClass());
|
||||||
|
List<Ztree> ztrees = new ArrayList<Ztree>();
|
||||||
|
for (BArticleClass bArticleClass : bArticleClassList)
|
||||||
|
{
|
||||||
|
Ztree ztree = new Ztree();
|
||||||
|
ztree.setId(bArticleClass.getId());
|
||||||
|
ztree.setpId(bArticleClass.getParentId());
|
||||||
|
ztree.setName(bArticleClass.getName());
|
||||||
|
ztree.setTitle(bArticleClass.getName());
|
||||||
|
ztrees.add(ztree);
|
||||||
|
}
|
||||||
|
return ztrees;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,108 @@
|
||||||
|
package com.ruoyi.business.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.business.domain.BArticleClass;
|
||||||
|
import com.ruoyi.business.mapper.BArticleClassMapper;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.business.mapper.BArticleMapper;
|
||||||
|
import com.ruoyi.business.domain.BArticle;
|
||||||
|
import com.ruoyi.business.service.IBArticleService;
|
||||||
|
import com.ruoyi.common.core.text.Convert;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文章Service业务层处理
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-26
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BArticleServiceImpl implements IBArticleService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private BArticleMapper bArticleMapper;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private BArticleClassMapper bArticleClassMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章
|
||||||
|
*
|
||||||
|
* @param id 文章ID
|
||||||
|
* @return 文章
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public BArticle selectBArticleById(Long id)
|
||||||
|
{
|
||||||
|
BArticle bArticle = bArticleMapper.selectBArticleById(id);
|
||||||
|
if(bArticle.getArticleclassid()!=null) {
|
||||||
|
BArticleClass bArticleClass = bArticleClassMapper.selectBArticleClassById(bArticle.getArticleclassid());
|
||||||
|
bArticle.setParentName(bArticleClass.getName());
|
||||||
|
}
|
||||||
|
return bArticle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询文章列表
|
||||||
|
*
|
||||||
|
* @param bArticle 文章
|
||||||
|
* @return 文章
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<BArticle> selectBArticleList(BArticle bArticle)
|
||||||
|
{
|
||||||
|
return bArticleMapper.selectBArticleList(bArticle);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增文章
|
||||||
|
*
|
||||||
|
* @param bArticle 文章
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertBArticle(BArticle bArticle)
|
||||||
|
{
|
||||||
|
bArticle.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return bArticleMapper.insertBArticle(bArticle);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改文章
|
||||||
|
*
|
||||||
|
* @param bArticle 文章
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateBArticle(BArticle bArticle)
|
||||||
|
{
|
||||||
|
bArticle.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return bArticleMapper.updateBArticle(bArticle);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除文章对象
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBArticleByIds(String ids)
|
||||||
|
{
|
||||||
|
return bArticleMapper.deleteBArticleByIds(Convert.toStrArray(ids));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除文章信息
|
||||||
|
*
|
||||||
|
* @param id 文章ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBArticleById(Long id)
|
||||||
|
{
|
||||||
|
return bArticleMapper.deleteBArticleById(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,97 @@
|
||||||
|
package com.ruoyi.business.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.business.mapper.BBannerMapper;
|
||||||
|
import com.ruoyi.business.domain.BBanner;
|
||||||
|
import com.ruoyi.business.service.IBBannerService;
|
||||||
|
import com.ruoyi.common.core.text.Convert;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 轮播图Service业务层处理
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BBannerServiceImpl implements IBBannerService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private BBannerMapper bBannerMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询轮播图
|
||||||
|
*
|
||||||
|
* @param id 轮播图ID
|
||||||
|
* @return 轮播图
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public BBanner selectBBannerById(Long id)
|
||||||
|
{
|
||||||
|
return bBannerMapper.selectBBannerById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询轮播图列表
|
||||||
|
*
|
||||||
|
* @param bBanner 轮播图
|
||||||
|
* @return 轮播图
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<BBanner> selectBBannerList(BBanner bBanner)
|
||||||
|
{
|
||||||
|
return bBannerMapper.selectBBannerList(bBanner);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增轮播图
|
||||||
|
*
|
||||||
|
* @param bBanner 轮播图
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertBBanner(BBanner bBanner)
|
||||||
|
{
|
||||||
|
bBanner.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return bBannerMapper.insertBBanner(bBanner);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改轮播图
|
||||||
|
*
|
||||||
|
* @param bBanner 轮播图
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateBBanner(BBanner bBanner)
|
||||||
|
{
|
||||||
|
bBanner.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return bBannerMapper.updateBBanner(bBanner);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除轮播图对象
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBBannerByIds(String ids)
|
||||||
|
{
|
||||||
|
return bBannerMapper.deleteBBannerByIds(Convert.toStrArray(ids));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除轮播图信息
|
||||||
|
*
|
||||||
|
* @param id 轮播图ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBBannerById(Long id)
|
||||||
|
{
|
||||||
|
return bBannerMapper.deleteBBannerById(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,121 @@
|
||||||
|
package com.ruoyi.business.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import com.ruoyi.common.core.domain.Ztree;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.business.mapper.BFrontEndMenuMapper;
|
||||||
|
import com.ruoyi.business.domain.BFrontEndMenu;
|
||||||
|
import com.ruoyi.business.service.IBFrontEndMenuService;
|
||||||
|
import com.ruoyi.common.core.text.Convert;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 前端菜单Service业务层处理
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-24
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BFrontEndMenuServiceImpl implements IBFrontEndMenuService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private BFrontEndMenuMapper bFrontEndMenuMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询前端菜单
|
||||||
|
*
|
||||||
|
* @param id 前端菜单ID
|
||||||
|
* @return 前端菜单
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public BFrontEndMenu selectBFrontEndMenuById(Long id)
|
||||||
|
{
|
||||||
|
return bFrontEndMenuMapper.selectBFrontEndMenuById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询前端菜单列表
|
||||||
|
*
|
||||||
|
* @param bFrontEndMenu 前端菜单
|
||||||
|
* @return 前端菜单
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<BFrontEndMenu> selectBFrontEndMenuList(BFrontEndMenu bFrontEndMenu)
|
||||||
|
{
|
||||||
|
return bFrontEndMenuMapper.selectBFrontEndMenuList(bFrontEndMenu);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增前端菜单
|
||||||
|
*
|
||||||
|
* @param bFrontEndMenu 前端菜单
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertBFrontEndMenu(BFrontEndMenu bFrontEndMenu)
|
||||||
|
{
|
||||||
|
bFrontEndMenu.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return bFrontEndMenuMapper.insertBFrontEndMenu(bFrontEndMenu);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改前端菜单
|
||||||
|
*
|
||||||
|
* @param bFrontEndMenu 前端菜单
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateBFrontEndMenu(BFrontEndMenu bFrontEndMenu)
|
||||||
|
{
|
||||||
|
bFrontEndMenu.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return bFrontEndMenuMapper.updateBFrontEndMenu(bFrontEndMenu);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除前端菜单对象
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBFrontEndMenuByIds(String ids)
|
||||||
|
{
|
||||||
|
return bFrontEndMenuMapper.deleteBFrontEndMenuByIds(Convert.toStrArray(ids));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除前端菜单信息
|
||||||
|
*
|
||||||
|
* @param id 前端菜单ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBFrontEndMenuById(Long id)
|
||||||
|
{
|
||||||
|
return bFrontEndMenuMapper.deleteBFrontEndMenuById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询前端菜单树列表
|
||||||
|
*
|
||||||
|
* @return 所有前端菜单信息
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<Ztree> selectBFrontEndMenuTree()
|
||||||
|
{
|
||||||
|
List<BFrontEndMenu> bFrontEndMenuList = bFrontEndMenuMapper.selectBFrontEndMenuList(new BFrontEndMenu());
|
||||||
|
List<Ztree> ztrees = new ArrayList<Ztree>();
|
||||||
|
for (BFrontEndMenu bFrontEndMenu : bFrontEndMenuList)
|
||||||
|
{
|
||||||
|
Ztree ztree = new Ztree();
|
||||||
|
ztree.setId(bFrontEndMenu.getId());
|
||||||
|
ztree.setpId(bFrontEndMenu.getParentId());
|
||||||
|
ztree.setName(bFrontEndMenu.getName());
|
||||||
|
ztree.setTitle(bFrontEndMenu.getName());
|
||||||
|
ztrees.add(ztree);
|
||||||
|
}
|
||||||
|
return ztrees;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,121 @@
|
||||||
|
package com.ruoyi.business.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import com.ruoyi.common.core.domain.Ztree;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.business.mapper.BProductClassMapper;
|
||||||
|
import com.ruoyi.business.domain.BProductClass;
|
||||||
|
import com.ruoyi.business.service.IBProductClassService;
|
||||||
|
import com.ruoyi.common.core.text.Convert;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品分类Service业务层处理
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BProductClassServiceImpl implements IBProductClassService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private BProductClassMapper bProductClassMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询商品分类
|
||||||
|
*
|
||||||
|
* @param id 商品分类ID
|
||||||
|
* @return 商品分类
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public BProductClass selectBProductClassById(Long id)
|
||||||
|
{
|
||||||
|
return bProductClassMapper.selectBProductClassById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询商品分类列表
|
||||||
|
*
|
||||||
|
* @param bProductClass 商品分类
|
||||||
|
* @return 商品分类
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<BProductClass> selectBProductClassList(BProductClass bProductClass)
|
||||||
|
{
|
||||||
|
return bProductClassMapper.selectBProductClassList(bProductClass);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增商品分类
|
||||||
|
*
|
||||||
|
* @param bProductClass 商品分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertBProductClass(BProductClass bProductClass)
|
||||||
|
{
|
||||||
|
bProductClass.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return bProductClassMapper.insertBProductClass(bProductClass);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改商品分类
|
||||||
|
*
|
||||||
|
* @param bProductClass 商品分类
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateBProductClass(BProductClass bProductClass)
|
||||||
|
{
|
||||||
|
bProductClass.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return bProductClassMapper.updateBProductClass(bProductClass);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除商品分类对象
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBProductClassByIds(String ids)
|
||||||
|
{
|
||||||
|
return bProductClassMapper.deleteBProductClassByIds(Convert.toStrArray(ids));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除商品分类信息
|
||||||
|
*
|
||||||
|
* @param id 商品分类ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBProductClassById(Long id)
|
||||||
|
{
|
||||||
|
return bProductClassMapper.deleteBProductClassById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询商品分类树列表
|
||||||
|
*
|
||||||
|
* @return 所有商品分类信息
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<Ztree> selectBProductClassTree()
|
||||||
|
{
|
||||||
|
List<BProductClass> bProductClassList = bProductClassMapper.selectBProductClassList(new BProductClass());
|
||||||
|
List<Ztree> ztrees = new ArrayList<Ztree>();
|
||||||
|
for (BProductClass bProductClass : bProductClassList)
|
||||||
|
{
|
||||||
|
Ztree ztree = new Ztree();
|
||||||
|
ztree.setId(bProductClass.getId());
|
||||||
|
ztree.setpId(bProductClass.getParentId());
|
||||||
|
ztree.setName(bProductClass.getName());
|
||||||
|
ztree.setTitle(bProductClass.getName());
|
||||||
|
ztrees.add(ztree);
|
||||||
|
}
|
||||||
|
return ztrees;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,108 @@
|
||||||
|
package com.ruoyi.business.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.business.domain.BProductClass;
|
||||||
|
import com.ruoyi.business.mapper.BProductClassMapper;
|
||||||
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.business.mapper.BProductMapper;
|
||||||
|
import com.ruoyi.business.domain.BProduct;
|
||||||
|
import com.ruoyi.business.service.IBProductService;
|
||||||
|
import com.ruoyi.common.core.text.Convert;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产品Service业务层处理
|
||||||
|
*
|
||||||
|
* @author anjie
|
||||||
|
* @date 2020-06-21
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BProductServiceImpl implements IBProductService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private BProductMapper bProductMapper;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private BProductClassMapper bProductClassMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询产品
|
||||||
|
*
|
||||||
|
* @param id 产品ID
|
||||||
|
* @return 产品
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public BProduct selectBProductById(Long id)
|
||||||
|
{
|
||||||
|
BProduct bProduct = bProductMapper.selectBProductById(id);
|
||||||
|
if(bProduct.getClassId()!=null) {
|
||||||
|
BProductClass bProductClass = bProductClassMapper.selectBProductClassById(bProduct.getClassId());
|
||||||
|
bProduct.setClassName(bProductClass.getName());
|
||||||
|
}
|
||||||
|
return bProduct;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询产品列表
|
||||||
|
*
|
||||||
|
* @param bProduct 产品
|
||||||
|
* @return 产品
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<BProduct> selectBProductList(BProduct bProduct)
|
||||||
|
{
|
||||||
|
return bProductMapper.selectBProductList(bProduct);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增产品
|
||||||
|
*
|
||||||
|
* @param bProduct 产品
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertBProduct(BProduct bProduct)
|
||||||
|
{
|
||||||
|
bProduct.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return bProductMapper.insertBProduct(bProduct);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改产品
|
||||||
|
*
|
||||||
|
* @param bProduct 产品
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateBProduct(BProduct bProduct)
|
||||||
|
{
|
||||||
|
bProduct.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return bProductMapper.updateBProduct(bProduct);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除产品对象
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBProductByIds(String ids)
|
||||||
|
{
|
||||||
|
return bProductMapper.deleteBProductByIds(Convert.toStrArray(ids));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除产品信息
|
||||||
|
*
|
||||||
|
* @param id 产品ID
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteBProductById(Long id)
|
||||||
|
{
|
||||||
|
return bProductMapper.deleteBProductById(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,84 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.business.mapper.BArticleClassMapper">
|
||||||
|
|
||||||
|
<resultMap type="BArticleClass" id="BArticleClassResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="parentId" column="parent_id" />
|
||||||
|
<result property="name" column="name" />
|
||||||
|
<result property="articleDescribe" column="article_describe" />
|
||||||
|
<result property="additional" column="additional" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
<result property="parentName" column="parent_name" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectBArticleClassVo">
|
||||||
|
select id, parent_id, name, article_describe, additional, create_time, update_time from b_article_class
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectBArticleClassList" parameterType="BArticleClass" resultMap="BArticleClassResult">
|
||||||
|
<include refid="selectBArticleClassVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="parentId != null "> and parent_id = #{parentId}</if>
|
||||||
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||||
|
<if test="articleDescribe != null and articleDescribe != ''"> and article_describe like concat('%', #{articleDescribe}, '%')</if>
|
||||||
|
<if test="additional != null and additional != ''"> and additional = #{additional}</if>
|
||||||
|
</where>
|
||||||
|
order by parent_id
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectBArticleClassById" parameterType="Long" resultMap="BArticleClassResult">
|
||||||
|
select t.id, t.parent_id, t.name, t.article_describe, t.additional, t.create_time, t.update_time, p.name as parent_name
|
||||||
|
from b_article_class t
|
||||||
|
left join b_article_class p on p.id = t.parent_id
|
||||||
|
where t.id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertBArticleClass" parameterType="BArticleClass" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into b_article_class
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="parentId != null">parent_id,</if>
|
||||||
|
<if test="name != null and name != ''">name,</if>
|
||||||
|
<if test="articleDescribe != null">article_describe,</if>
|
||||||
|
<if test="additional != null">additional,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="parentId != null">#{parentId},</if>
|
||||||
|
<if test="name != null and name != ''">#{name},</if>
|
||||||
|
<if test="articleDescribe != null">#{articleDescribe},</if>
|
||||||
|
<if test="additional != null">#{additional},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateBArticleClass" parameterType="BArticleClass">
|
||||||
|
update b_article_class
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="parentId != null">parent_id = #{parentId},</if>
|
||||||
|
<if test="name != null and name != ''">name = #{name},</if>
|
||||||
|
<if test="articleDescribe != null">article_describe = #{articleDescribe},</if>
|
||||||
|
<if test="additional != null">additional = #{additional},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteBArticleClassById" parameterType="Long">
|
||||||
|
delete from b_article_class where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteBArticleClassByIds" parameterType="String">
|
||||||
|
delete from b_article_class where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.business.mapper.BArticleMapper">
|
||||||
|
|
||||||
|
<resultMap type="BArticle" id="BArticleResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="title" column="title" />
|
||||||
|
<result property="content" column="content" />
|
||||||
|
<result property="language" column="language" />
|
||||||
|
<result property="source" column="source" />
|
||||||
|
<result property="link" column="link" />
|
||||||
|
<result property="articleclassid" column="articleclassid" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectBArticleVo">
|
||||||
|
select id, title, content, language, source, link, articleclassid, create_time, update_time from b_article
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectBArticleList" parameterType="BArticle" resultMap="BArticleResult">
|
||||||
|
<include refid="selectBArticleVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="title != null and title != ''"> and title = #{title}</if>
|
||||||
|
<if test="language != null and language != ''"> and language = #{language}</if>
|
||||||
|
<if test="articleclassid != null "> and articleclassid = #{articleclassid}</if>
|
||||||
|
<if test="createTime != null "> and create_time = #{createTime}</if>
|
||||||
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectBArticleById" parameterType="Long" resultMap="BArticleResult">
|
||||||
|
<include refid="selectBArticleVo"/>
|
||||||
|
where id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertBArticle" parameterType="BArticle" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into b_article
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="title != null">title,</if>
|
||||||
|
<if test="content != null">content,</if>
|
||||||
|
<if test="language != null">language,</if>
|
||||||
|
<if test="source != null">source,</if>
|
||||||
|
<if test="link != null">link,</if>
|
||||||
|
<if test="articleclassid != null">articleclassid,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="title != null">#{title},</if>
|
||||||
|
<if test="content != null">#{content},</if>
|
||||||
|
<if test="language != null">#{language},</if>
|
||||||
|
<if test="source != null">#{source},</if>
|
||||||
|
<if test="link != null">#{link},</if>
|
||||||
|
<if test="articleclassid != null">#{articleclassid},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateBArticle" parameterType="BArticle">
|
||||||
|
update b_article
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="title != null">title = #{title},</if>
|
||||||
|
<if test="content != null">content = #{content},</if>
|
||||||
|
<if test="language != null">language = #{language},</if>
|
||||||
|
<if test="source != null">source = #{source},</if>
|
||||||
|
<if test="link != null">link = #{link},</if>
|
||||||
|
<if test="articleclassid != null">articleclassid = #{articleclassid},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteBArticleById" parameterType="Long">
|
||||||
|
delete from b_article where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteBArticleByIds" parameterType="String">
|
||||||
|
delete from b_article where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,71 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.business.mapper.BBannerMapper">
|
||||||
|
|
||||||
|
<resultMap type="BBanner" id="BBannerResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="bannerDescribe" column="banner_describe" />
|
||||||
|
<result property="bannerFile" column="banner_file" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectBBannerVo">
|
||||||
|
select id, banner_describe, banner_file, create_time, update_time from b_banner
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectBBannerList" parameterType="BBanner" resultMap="BBannerResult">
|
||||||
|
<include refid="selectBBannerVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="bannerDescribe != null and bannerDescribe != ''"> and banner_describe like concat('%', #{bannerDescribe}, '%')</if>
|
||||||
|
<if test="createTime != null "> and create_time = #{createTime}</if>
|
||||||
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectBBannerById" parameterType="Long" resultMap="BBannerResult">
|
||||||
|
<include refid="selectBBannerVo"/>
|
||||||
|
where id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertBBanner" parameterType="BBanner" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into b_banner
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="bannerDescribe != null">banner_describe,</if>
|
||||||
|
<if test="bannerFile != null and bannerFile != ''">banner_file,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="bannerDescribe != null">#{bannerDescribe},</if>
|
||||||
|
<if test="bannerFile != null and bannerFile != ''">#{bannerFile},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateBBanner" parameterType="BBanner">
|
||||||
|
update b_banner
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="bannerDescribe != null">banner_describe = #{bannerDescribe},</if>
|
||||||
|
<if test="bannerFile != null and bannerFile != ''">banner_file = #{bannerFile},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteBBannerById" parameterType="Long">
|
||||||
|
delete from b_banner where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteBBannerByIds" parameterType="String">
|
||||||
|
delete from b_banner where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,83 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.business.mapper.BFrontEndMenuMapper">
|
||||||
|
|
||||||
|
<resultMap type="BFrontEndMenu" id="BFrontEndMenuResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="name" column="name" />
|
||||||
|
<result property="link" column="link" />
|
||||||
|
<result property="parentId" column="parent_id" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
<result property="parentName" column="parent_name" />
|
||||||
|
<result property="additional" column="additional" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectBFrontEndMenuVo">
|
||||||
|
select * from b_front_end_menu
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectBFrontEndMenuList" parameterType="BFrontEndMenu" resultMap="BFrontEndMenuResult">
|
||||||
|
<include refid="selectBFrontEndMenuVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||||
|
<if test="link != null and link != ''"> and link = #{link}</if>
|
||||||
|
</where>
|
||||||
|
order by parent_id
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectBFrontEndMenuById" parameterType="Long" resultMap="BFrontEndMenuResult">
|
||||||
|
select t.id, t.name, t.link, t.parent_id, t.create_time, t.update_time,t.additional, p.name as parent_name
|
||||||
|
from b_front_end_menu t
|
||||||
|
left join b_front_end_menu p on p.id = t.parent_id
|
||||||
|
where t.id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertBFrontEndMenu" parameterType="BFrontEndMenu" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into b_front_end_menu
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="name != null and name != ''">name,</if>
|
||||||
|
<if test="link != null and link != ''">link,</if>
|
||||||
|
<if test="additional != null">additional,</if>
|
||||||
|
<if test="parentId != null">parent_id,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="name != null and name != ''">#{name},</if>
|
||||||
|
<if test="link != null and link != ''">#{link},</if>
|
||||||
|
<if test="additional != null">#{additional},</if>
|
||||||
|
<if test="parentId != null">#{parentId},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateBFrontEndMenu" parameterType="BFrontEndMenu">
|
||||||
|
update b_front_end_menu
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="name != null and name != ''">name = #{name},</if>
|
||||||
|
<if test="link != null and link != ''">link = #{link},</if>
|
||||||
|
<if test="additional != null">additional = #{additional},</if>
|
||||||
|
<if test="parentId != null">parent_id = #{parentId},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteBFrontEndMenuById" parameterType="Long">
|
||||||
|
delete from b_front_end_menu where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteBFrontEndMenuByIds" parameterType="String">
|
||||||
|
delete from b_front_end_menu where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,83 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.business.mapper.BProductClassMapper">
|
||||||
|
|
||||||
|
<resultMap type="BProductClass" id="BProductClassResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="parentId" column="parent_id" />
|
||||||
|
<result property="name" column="name" />
|
||||||
|
<result property="classDescribe" column="class_describe" />
|
||||||
|
<result property="additional" column="additional" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
<result property="parentName" column="parent_name" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectBProductClassVo">
|
||||||
|
select * from b_product_class
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectBProductClassList" parameterType="BProductClass" resultMap="BProductClassResult">
|
||||||
|
<include refid="selectBProductClassVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="parentId != null "> and parent_id = #{parentId}</if>
|
||||||
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||||
|
<if test="classDescribe != null and classDescribe != ''"> and class_describe = #{classDescribe}</if>
|
||||||
|
</where>
|
||||||
|
order by parent_id
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectBProductClassById" parameterType="Long" resultMap="BProductClassResult">
|
||||||
|
select t.id, t.parent_id, t.name, t.class_describe, t.create_time, t.update_time,t.additional, p.name as parent_name
|
||||||
|
from b_product_class t
|
||||||
|
left join b_product_class p on p.id = t.parent_id
|
||||||
|
where t.id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertBProductClass" parameterType="BProductClass" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into b_product_class
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="parentId != null">parent_id,</if>
|
||||||
|
<if test="name != null">name,</if>
|
||||||
|
<if test="classDescribe != null">class_describe,</if>
|
||||||
|
<if test="additional != null">additional,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="parentId != null">#{parentId},</if>
|
||||||
|
<if test="name != null">#{name},</if>
|
||||||
|
<if test="classDescribe != null">#{classDescribe},</if>
|
||||||
|
<if test="additional != null">#{additional},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateBProductClass" parameterType="BProductClass">
|
||||||
|
update b_product_class
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="parentId != null">parent_id = #{parentId},</if>
|
||||||
|
<if test="name != null">name = #{name},</if>
|
||||||
|
<if test="classDescribe != null">class_describe = #{classDescribe},</if>
|
||||||
|
<if test="additional != null">additional = #{additional},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteBProductClassById" parameterType="Long">
|
||||||
|
delete from b_product_class where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteBProductClassByIds" parameterType="String">
|
||||||
|
delete from b_product_class where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,75 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.business.mapper.BProductMapper">
|
||||||
|
|
||||||
|
<resultMap type="BProduct" id="BProductResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
|
<result property="productName" column="product_name" />
|
||||||
|
<result property="productDetails" column="product_details" />
|
||||||
|
<result property="classId" column="class_id" />
|
||||||
|
<result property="createTime" column="create_time" />
|
||||||
|
<result property="updateTime" column="update_time" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectBProductVo">
|
||||||
|
select id, product_name, product_details, class_id, create_time, update_time from b_product
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectBProductList" parameterType="BProduct" resultMap="BProductResult">
|
||||||
|
<include refid="selectBProductVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
|
||||||
|
<if test="createTime != null "> and create_time = #{createTime}</if>
|
||||||
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectBProductById" parameterType="Long" resultMap="BProductResult">
|
||||||
|
<include refid="selectBProductVo"/>
|
||||||
|
where id = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertBProduct" parameterType="BProduct" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into b_product
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="productName != null and productName != ''">product_name,</if>
|
||||||
|
<if test="productDetails != null">product_details,</if>
|
||||||
|
<if test="classId != null">class_id,</if>
|
||||||
|
<if test="createTime != null">create_time,</if>
|
||||||
|
<if test="updateTime != null">update_time,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="productName != null and productName != ''">#{productName},</if>
|
||||||
|
<if test="productDetails != null">#{productDetails},</if>
|
||||||
|
<if test="classId != null">#{classId},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateBProduct" parameterType="BProduct">
|
||||||
|
update b_product
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="productName != null and productName != ''">product_name = #{productName},</if>
|
||||||
|
<if test="productDetails != null">product_details = #{productDetails},</if>
|
||||||
|
<if test="classId != null">class_id = #{classId},</if>
|
||||||
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
|
</trim>
|
||||||
|
where id = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteBProductById" parameterType="Long">
|
||||||
|
delete from b_product where id = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteBProductByIds" parameterType="String">
|
||||||
|
delete from b_product where id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,104 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('新增文章')" />
|
||||||
|
<th:block th:include="include :: ckeditor-css"/>
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-article-add">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">标题:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="title" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">内容:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<textarea id="editor1" name="content"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">语言:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<select name="language" class="form-control m-b" th:with="type=${@dict.getType('language')}">
|
||||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">来源:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="source" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">外链:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="link" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="treeId" name="articleclassid" type="hidden" th:value="${bArticleClass?.id}"/>
|
||||||
|
<input class="form-control" type="text" onclick="selectArticleclassTree()" id="treeName" readonly="true" th:value="${bArticleClass?.name}">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<th:block th:include="include :: ckeditor-js"/>
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var editor;
|
||||||
|
var prefix = ctx + "business/article"
|
||||||
|
|
||||||
|
$("#form-article-add").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
editor.updateSourceElement();
|
||||||
|
$.operate.save(prefix + "/add", $('#form-article-add').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*文章分类-新增-选择父部门树*/
|
||||||
|
function selectArticleclassTree() {
|
||||||
|
var options = {
|
||||||
|
title: '文章分类选择',
|
||||||
|
width: "380",
|
||||||
|
url: ctx + "business/articleclass/selectArticleclassTree/" + $("#treeId").val(),
|
||||||
|
callBack: doSubmit
|
||||||
|
};
|
||||||
|
$.modal.openOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
function doSubmit(index, layero){
|
||||||
|
var body = layer.getChildFrame('body', index);
|
||||||
|
$("#treeId").val(body.find('#treeId').val());
|
||||||
|
$("#treeName").val(body.find('#treeName').val());
|
||||||
|
layer.close(index);
|
||||||
|
}
|
||||||
|
|
||||||
|
ClassicEditor
|
||||||
|
.create(document.querySelector('#editor1'), {
|
||||||
|
language: "zh-cn",
|
||||||
|
ckfinder: {
|
||||||
|
uploadUrl: ctx + "businessfile/file/addfile",
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.then(newEditor => {
|
||||||
|
editor = newEditor;
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
console.error(error);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,134 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('文章列表')" />
|
||||||
|
</head>
|
||||||
|
<body class="gray-bg">
|
||||||
|
<div class="container-div">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 search-collapse">
|
||||||
|
<form id="formId">
|
||||||
|
<div class="select-list">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<label>标题:</label>
|
||||||
|
<input type="text" name="title"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>语言:</label>
|
||||||
|
<input type="text" name="language"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>分类id:</label>
|
||||||
|
<input type="text" name="articleclassid"/>
|
||||||
|
</li>
|
||||||
|
<li class="select-time">
|
||||||
|
<label>创建时间:</label>
|
||||||
|
<input type="text" class="time-input" placeholder="开始时间" name="params[beginCreateTime]"/>
|
||||||
|
<span>-</span>
|
||||||
|
<input type="text" class="time-input" placeholder="结束时间" name="params[endCreateTime]"/>
|
||||||
|
</li>
|
||||||
|
<li class="select-time">
|
||||||
|
<label>更新时间:</label>
|
||||||
|
<input type="text" class="time-input" placeholder="开始时间" name="params[beginUpdateTime]"/>
|
||||||
|
<span>-</span>
|
||||||
|
<input type="text" class="time-input" placeholder="结束时间" name="params[endUpdateTime]"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group-sm" id="toolbar" role="group">
|
||||||
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="business:article:add">
|
||||||
|
<i class="fa fa-plus"></i> 添加
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="business:article:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="business:article:remove">
|
||||||
|
<i class="fa fa-remove"></i> 删除
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="business:article:export">
|
||||||
|
<i class="fa fa-download"></i> 导出
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-12 select-table table-striped">
|
||||||
|
<table id="bootstrap-table"></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var editFlag = [[${@permission.hasPermi('business:article:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('business:article:remove')}]];
|
||||||
|
var languageDatas = [[${@dict.getType('language')}]];
|
||||||
|
var prefix = ctx + "business/article";
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
var options = {
|
||||||
|
url: prefix + "/list",
|
||||||
|
createUrl: prefix + "/add",
|
||||||
|
updateUrl: prefix + "/edit/{id}",
|
||||||
|
removeUrl: prefix + "/remove",
|
||||||
|
exportUrl: prefix + "/export",
|
||||||
|
modalName: "文章",
|
||||||
|
columns: [{
|
||||||
|
checkbox: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'id',
|
||||||
|
title: 'id',
|
||||||
|
visible: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'title',
|
||||||
|
title: '标题'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'language',
|
||||||
|
title: '语言',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
return $.table.selectDictLabel(languageDatas, value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'source',
|
||||||
|
title: '来源'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'link',
|
||||||
|
title: '外链'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'articleclassid',
|
||||||
|
title: '分类id'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createTime',
|
||||||
|
title: '创建时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateTime',
|
||||||
|
title: '更新时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '操作',
|
||||||
|
align: 'center',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
var actions = [];
|
||||||
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||||
|
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||||
|
return actions.join('');
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
$.table.init(options);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,106 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('修改文章')" />
|
||||||
|
<th:block th:include="include :: ckeditor-css"/>
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-article-edit" th:object="${bArticle}">
|
||||||
|
<input name="id" th:field="*{id}" type="hidden">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">标题:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="title" th:field="*{title}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">内容:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<textarea id="editor1" name="content" th:field="*{content}"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">语言:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<select name="language" class="form-control m-b" th:with="type=${@dict.getType('language')}">
|
||||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{language}"></option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">来源:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="source" th:field="*{source}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">外链:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="link" th:field="*{link}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="treeId" name="articleclassid" type="hidden" th:field="*{articleclassid}" />
|
||||||
|
<input class="form-control" type="text" onclick="selectArticleclassTree()" id="treeName" readonly="true" th:field="*{parentName}">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<th:block th:include="include :: ckeditor-js"/>
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var editor;
|
||||||
|
var prefix = ctx + "business/article";
|
||||||
|
|
||||||
|
$("#form-article-edit").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
editor.updateSourceElement();
|
||||||
|
$.operate.save(prefix + "/edit", $('#form-article-edit').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*文章分类-新增-选择父部门树*/
|
||||||
|
function selectArticleclassTree() {
|
||||||
|
var options = {
|
||||||
|
title: '文章分类选择',
|
||||||
|
width: "380",
|
||||||
|
url: ctx + "business/articleclass/selectArticleclassTree/" + $("#treeId").val(),
|
||||||
|
callBack: doSubmit
|
||||||
|
};
|
||||||
|
$.modal.openOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
function doSubmit(index, layero){
|
||||||
|
var body = layer.getChildFrame('body', index);
|
||||||
|
$("#treeId").val(body.find('#treeId').val());
|
||||||
|
$("#treeName").val(body.find('#treeName').val());
|
||||||
|
layer.close(index);
|
||||||
|
}
|
||||||
|
|
||||||
|
ClassicEditor
|
||||||
|
.create( document.querySelector( '#editor1' ), {
|
||||||
|
language:"zh-cn",
|
||||||
|
ckfinder: {
|
||||||
|
uploadUrl: ctx + "businessfile/file/addfile",
|
||||||
|
}
|
||||||
|
} )
|
||||||
|
.then( newEditor => {
|
||||||
|
editor = newEditor;
|
||||||
|
} )
|
||||||
|
.catch( error => {
|
||||||
|
console.error( error );
|
||||||
|
} );
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,71 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('新增文章分类')" />
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-articleclass-add">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类id:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="treeId" name="parentId" type="hidden" th:value="${bArticleClass?.id}"/>
|
||||||
|
<input class="form-control" type="text" onclick="selectArticleclassTree()" id="treeName" readonly="true" th:value="${bArticleClass?.name}">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">名称:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="name" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">描述:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<textarea name="articleDescribe" class="form-control"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">附加参数:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<textarea name="additional" class="form-control"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "business/articleclass"
|
||||||
|
$("#form-articleclass-add").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/add", $('#form-articleclass-add').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*文章分类-新增-选择父部门树*/
|
||||||
|
function selectArticleclassTree() {
|
||||||
|
var options = {
|
||||||
|
title: '文章分类选择',
|
||||||
|
width: "380",
|
||||||
|
url: prefix + "/selectArticleclassTree/" + $("#treeId").val(),
|
||||||
|
callBack: doSubmit
|
||||||
|
};
|
||||||
|
$.modal.openOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
function doSubmit(index, layero){
|
||||||
|
var body = layer.getChildFrame('body', index);
|
||||||
|
$("#treeId").val(body.find('#treeId').val());
|
||||||
|
$("#treeName").val(body.find('#treeName').val());
|
||||||
|
layer.close(index);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,116 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('文章分类列表')" />
|
||||||
|
</head>
|
||||||
|
<body class="gray-bg">
|
||||||
|
<div class="container-div">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 search-collapse">
|
||||||
|
<form id="formId">
|
||||||
|
<div class="select-list">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<label>分类id:</label>
|
||||||
|
<input type="text" name="parentId"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>名称:</label>
|
||||||
|
<input type="text" name="name"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.treeTable.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group-sm" id="toolbar" role="group">
|
||||||
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="business:articleclass:add">
|
||||||
|
<i class="fa fa-plus"></i> 新增
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary" onclick="$.operate.edit()" shiro:hasPermission="business:articleclass:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-info" id="expandAllBtn">
|
||||||
|
<i class="fa fa-exchange"></i> 展开/折叠
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-12 select-table table-striped">
|
||||||
|
<table id="bootstrap-tree-table"></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var addFlag = [[${@permission.hasPermi('business:articleclass:add')}]];
|
||||||
|
var editFlag = [[${@permission.hasPermi('business:articleclass:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('business:articleclass:remove')}]];
|
||||||
|
var prefix = ctx + "business/articleclass";
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
var options = {
|
||||||
|
code: "id",
|
||||||
|
parentCode: "parentId",
|
||||||
|
expandColumn: "2",
|
||||||
|
uniqueId: "id",
|
||||||
|
url: prefix + "/list",
|
||||||
|
createUrl: prefix + "/add/{id}",
|
||||||
|
updateUrl: prefix + "/edit/{id}",
|
||||||
|
removeUrl: prefix + "/remove/{id}",
|
||||||
|
exportUrl: prefix + "/export",
|
||||||
|
modalName: "文章分类",
|
||||||
|
columns: [{
|
||||||
|
field: 'selectItem',
|
||||||
|
radio: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'parentId',
|
||||||
|
title: '分类id',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'name',
|
||||||
|
title: '名称',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'articleDescribe',
|
||||||
|
title: '描述',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'additional',
|
||||||
|
title: '附加参数',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createTime',
|
||||||
|
title: '创建时间',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateTime',
|
||||||
|
title: '更新时间',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '操作',
|
||||||
|
align: 'center',
|
||||||
|
align: 'left',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
var actions = [];
|
||||||
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||||
|
actions.push('<a class="btn btn-info btn-xs ' + addFlag + '" href="javascript:void(0)" onclick="$.operate.add(\'' + row.id + '\')"><i class="fa fa-plus"></i>新增</a> ');
|
||||||
|
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||||
|
return actions.join('');
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
$.treeTable.init(options);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('修改文章分类')" />
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-articleclass-edit" th:object="${bArticleClass}">
|
||||||
|
<input name="id" th:field="*{id}" type="hidden">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类id:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="treeId" name="parentId" type="hidden" th:field="*{parentId}" />
|
||||||
|
<input class="form-control" type="text" onclick="selectArticleclassTree()" id="treeName" readonly="true" th:field="*{parentName}">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">名称:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="name" th:field="*{name}" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">描述:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<textarea name="articleDescribe" class="form-control">[[*{articleDescribe}]]</textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">附加参数:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<textarea name="additional" class="form-control">[[*{additional}]]</textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "business/articleclass";
|
||||||
|
$("#form-articleclass-edit").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/edit", $('#form-articleclass-edit').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*文章分类-新增-选择父部门树*/
|
||||||
|
function selectArticleclassTree() {
|
||||||
|
var options = {
|
||||||
|
title: '文章分类选择',
|
||||||
|
width: "380",
|
||||||
|
url: prefix + "/selectArticleclassTree/" + $("#treeId").val(),
|
||||||
|
callBack: doSubmit
|
||||||
|
};
|
||||||
|
$.modal.openOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
function doSubmit(index, layero){
|
||||||
|
var body = layer.getChildFrame('body', index);
|
||||||
|
$("#treeId").val(body.find('#treeId').val());
|
||||||
|
$("#treeName").val(body.find('#treeName').val());
|
||||||
|
layer.close(index);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,49 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('文章分类树选择')" />
|
||||||
|
<th:block th:include="include :: ztree-css" />
|
||||||
|
</head>
|
||||||
|
<style>
|
||||||
|
body{height:auto;font-family: "Microsoft YaHei";}
|
||||||
|
button{font-family: "SimSun","Helvetica Neue",Helvetica,Arial;}
|
||||||
|
</style>
|
||||||
|
<body class="hold-transition box box-main">
|
||||||
|
<input id="treeId" name="treeId" type="hidden" th:value="${bArticleClass?.id}"/>
|
||||||
|
<input id="treeName" name="treeName" type="hidden" th:value="${bArticleClass?.name}"/>
|
||||||
|
<div class="wrapper"><div class="treeShowHideButton" onclick="$.tree.toggleSearch();">
|
||||||
|
<label id="btnShow" title="显示搜索" style="display:none;">︾</label>
|
||||||
|
<label id="btnHide" title="隐藏搜索">︽</label>
|
||||||
|
</div>
|
||||||
|
<div class="treeSearchInput" id="search">
|
||||||
|
<label for="keyword">关键字:</label><input type="text" class="empty" id="keyword" maxlength="50">
|
||||||
|
<button class="btn" id="btn" onclick="$.tree.searchNode()"> 搜索 </button>
|
||||||
|
</div>
|
||||||
|
<div class="treeExpandCollapse">
|
||||||
|
<a href="#" onclick="$.tree.expand()">展开</a> /
|
||||||
|
<a href="#" onclick="$.tree.collapse()">折叠</a>
|
||||||
|
</div>
|
||||||
|
<div id="tree" class="ztree treeselect"></div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<th:block th:include="include :: ztree-js" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
$(function() {
|
||||||
|
var url = ctx + "business/articleclass/treeData";
|
||||||
|
var options = {
|
||||||
|
url: url,
|
||||||
|
expandLevel: 2,
|
||||||
|
onClick : zOnClick
|
||||||
|
};
|
||||||
|
$.tree.init(options);
|
||||||
|
});
|
||||||
|
|
||||||
|
function zOnClick(event, treeId, treeNode) {
|
||||||
|
var treeId = treeNode.id;
|
||||||
|
var treeName = treeNode.name;
|
||||||
|
$("#treeId").val(treeId);
|
||||||
|
$("#treeName").val(treeName);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('新增轮播图')" />
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-banner-add">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">描述:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="bannerDescribe" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">文件路径:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="bannerFile" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "business/banner"
|
||||||
|
$("#form-banner-add").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/add", $('#form-banner-add').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,102 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('轮播图列表')" />
|
||||||
|
</head>
|
||||||
|
<body class="gray-bg">
|
||||||
|
<div class="container-div">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 search-collapse">
|
||||||
|
<form id="formId">
|
||||||
|
<div class="select-list">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<label>描述:</label>
|
||||||
|
<input type="text" name="bannerDescribe"/>
|
||||||
|
</li>
|
||||||
|
<li class="select-time">
|
||||||
|
<label>创建时间:</label>
|
||||||
|
<input type="text" class="time-input" placeholder="开始时间" name="params[beginCreateTime]"/>
|
||||||
|
<span>-</span>
|
||||||
|
<input type="text" class="time-input" placeholder="结束时间" name="params[endCreateTime]"/>
|
||||||
|
</li>
|
||||||
|
<li class="select-time">
|
||||||
|
<label>更新时间:</label>
|
||||||
|
<input type="text" class="time-input" placeholder="开始时间" name="params[beginUpdateTime]"/>
|
||||||
|
<span>-</span>
|
||||||
|
<input type="text" class="time-input" placeholder="结束时间" name="params[endUpdateTime]"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group-sm" id="toolbar" role="group">
|
||||||
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="business:banner:add">
|
||||||
|
<i class="fa fa-plus"></i> 添加
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="business:banner:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="business:banner:remove">
|
||||||
|
<i class="fa fa-remove"></i> 删除
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="business:banner:export">
|
||||||
|
<i class="fa fa-download"></i> 导出
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-12 select-table table-striped">
|
||||||
|
<table id="bootstrap-table"></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var editFlag = [[${@permission.hasPermi('business:banner:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('business:banner:remove')}]];
|
||||||
|
var prefix = ctx + "business/banner";
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
var options = {
|
||||||
|
url: prefix + "/list",
|
||||||
|
createUrl: prefix + "/add",
|
||||||
|
updateUrl: prefix + "/edit/{id}",
|
||||||
|
removeUrl: prefix + "/remove",
|
||||||
|
exportUrl: prefix + "/export",
|
||||||
|
modalName: "轮播图",
|
||||||
|
columns: [{
|
||||||
|
checkbox: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'id',
|
||||||
|
title: 'id',
|
||||||
|
visible: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'bannerDescribe',
|
||||||
|
title: '描述'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'bannerFile',
|
||||||
|
title: '文件路径'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '操作',
|
||||||
|
align: 'center',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
var actions = [];
|
||||||
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||||
|
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||||
|
return actions.join('');
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
$.table.init(options);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,38 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('修改轮播图')" />
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-banner-edit" th:object="${bBanner}">
|
||||||
|
<input name="id" th:field="*{id}" type="hidden">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">描述:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="bannerDescribe" th:field="*{bannerDescribe}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">文件路径:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="bannerFile" th:field="*{bannerFile}" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "business/banner";
|
||||||
|
$("#form-banner-edit").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/edit", $('#form-banner-edit').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('新增商品分类')" />
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-businessclass-add">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="treeId" name="parentId" type="hidden" th:value="${bProductClass?.id}"/>
|
||||||
|
<input class="form-control" type="text" onclick="selectBusinessclassTree()" id="treeName" readonly="true" th:value="${bProductClass?.name}">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类名称:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="name" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类描述:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="classDescribe" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">附加参数:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="additional" class="form-control" type="text" value="{}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "business/businessclass"
|
||||||
|
$("#form-businessclass-add").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/add", $('#form-businessclass-add').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*商品分类-新增-选择父部门树*/
|
||||||
|
function selectBusinessclassTree() {
|
||||||
|
var options = {
|
||||||
|
title: '商品分类选择',
|
||||||
|
width: "380",
|
||||||
|
url: prefix + "/selectBusinessclassTree/" + $("#treeId").val(),
|
||||||
|
callBack: doSubmit
|
||||||
|
};
|
||||||
|
$.modal.openOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
function doSubmit(index, layero){
|
||||||
|
var body = layer.getChildFrame('body', index);
|
||||||
|
$("#treeId").val(body.find('#treeId').val());
|
||||||
|
$("#treeName").val(body.find('#treeName').val());
|
||||||
|
layer.close(index);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,110 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('商品分类列表')" />
|
||||||
|
</head>
|
||||||
|
<body class="gray-bg">
|
||||||
|
<div class="container-div">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 search-collapse">
|
||||||
|
<form id="formId">
|
||||||
|
<div class="select-list">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<label>父类id:</label>
|
||||||
|
<input type="text" name="parentId"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>分类名称:</label>
|
||||||
|
<input type="text" name="name"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>分类描述:</label>
|
||||||
|
<input type="text" name="classDescribe"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.treeTable.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group-sm" id="toolbar" role="group">
|
||||||
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="business:businessclass:add">
|
||||||
|
<i class="fa fa-plus"></i> 新增
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary" onclick="$.operate.edit()" shiro:hasPermission="business:businessclass:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-info" id="expandAllBtn">
|
||||||
|
<i class="fa fa-exchange"></i> 展开/折叠
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-12 select-table table-striped">
|
||||||
|
<table id="bootstrap-tree-table"></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var addFlag = [[${@permission.hasPermi('business:businessclass:add')}]];
|
||||||
|
var editFlag = [[${@permission.hasPermi('business:businessclass:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('business:businessclass:remove')}]];
|
||||||
|
var prefix = ctx + "business/businessclass";
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
var options = {
|
||||||
|
code: "id",
|
||||||
|
parentCode: "parentId",
|
||||||
|
expandColumn: "2",
|
||||||
|
uniqueId: "id",
|
||||||
|
url: prefix + "/list",
|
||||||
|
createUrl: prefix + "/add/{id}",
|
||||||
|
updateUrl: prefix + "/edit/{id}",
|
||||||
|
removeUrl: prefix + "/remove/{id}",
|
||||||
|
exportUrl: prefix + "/export",
|
||||||
|
modalName: "商品分类",
|
||||||
|
columns: [{
|
||||||
|
field: 'selectItem',
|
||||||
|
radio: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'parentId',
|
||||||
|
title: '父类id',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'name',
|
||||||
|
title: '分类名称',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'classDescribe',
|
||||||
|
title: '分类描述',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'additional',
|
||||||
|
title: '附加参数',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '操作',
|
||||||
|
align: 'center',
|
||||||
|
align: 'left',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
var actions = [];
|
||||||
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||||
|
actions.push('<a class="btn btn-info btn-xs ' + addFlag + '" href="javascript:void(0)" onclick="$.operate.add(\'' + row.id + '\')"><i class="fa fa-plus"></i>新增</a> ');
|
||||||
|
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||||
|
return actions.join('');
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
$.treeTable.init(options);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('修改商品分类')" />
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-businessclass-edit" th:object="${bProductClass}">
|
||||||
|
<input name="id" th:field="*{id}" type="hidden">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="treeId" name="parentId" type="hidden" th:field="*{parentId}" />
|
||||||
|
<input class="form-control" type="text" onclick="selectBusinessclassTree()" id="treeName" readonly="true" th:field="*{parentName}">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类名称:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="name" th:field="*{name}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类描述:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="classDescribe" th:field="*{classDescribe}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">附加参数:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="additional" th:field="*{additional}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "business/businessclass";
|
||||||
|
$("#form-businessclass-edit").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/edit", $('#form-businessclass-edit').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*商品分类-新增-选择父部门树*/
|
||||||
|
function selectBusinessclassTree() {
|
||||||
|
var options = {
|
||||||
|
title: '商品分类选择',
|
||||||
|
width: "380",
|
||||||
|
url: prefix + "/selectBusinessclassTree/" + $("#treeId").val(),
|
||||||
|
callBack: doSubmit
|
||||||
|
};
|
||||||
|
$.modal.openOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
function doSubmit(index, layero){
|
||||||
|
var body = layer.getChildFrame('body', index);
|
||||||
|
$("#treeId").val(body.find('#treeId').val());
|
||||||
|
$("#treeName").val(body.find('#treeName').val());
|
||||||
|
layer.close(index);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,49 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('商品分类树选择')" />
|
||||||
|
<th:block th:include="include :: ztree-css" />
|
||||||
|
</head>
|
||||||
|
<style>
|
||||||
|
body{height:auto;font-family: "Microsoft YaHei";}
|
||||||
|
button{font-family: "SimSun","Helvetica Neue",Helvetica,Arial;}
|
||||||
|
</style>
|
||||||
|
<body class="hold-transition box box-main">
|
||||||
|
<input id="treeId" name="treeId" type="hidden" th:value="${bProductClass?.id}"/>
|
||||||
|
<input id="treeName" name="treeName" type="hidden" th:value="${bProductClass?.name}"/>
|
||||||
|
<div class="wrapper"><div class="treeShowHideButton" onclick="$.tree.toggleSearch();">
|
||||||
|
<label id="btnShow" title="显示搜索" style="display:none;">︾</label>
|
||||||
|
<label id="btnHide" title="隐藏搜索">︽</label>
|
||||||
|
</div>
|
||||||
|
<div class="treeSearchInput" id="search">
|
||||||
|
<label for="keyword">关键字:</label><input type="text" class="empty" id="keyword" maxlength="50">
|
||||||
|
<button class="btn" id="btn" onclick="$.tree.searchNode()"> 搜索 </button>
|
||||||
|
</div>
|
||||||
|
<div class="treeExpandCollapse">
|
||||||
|
<a href="#" onclick="$.tree.expand()">展开</a> /
|
||||||
|
<a href="#" onclick="$.tree.collapse()">折叠</a>
|
||||||
|
</div>
|
||||||
|
<div id="tree" class="ztree treeselect"></div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<th:block th:include="include :: ztree-js" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
$(function() {
|
||||||
|
var url = ctx + "business/businessclass/treeData";
|
||||||
|
var options = {
|
||||||
|
url: url,
|
||||||
|
expandLevel: 2,
|
||||||
|
onClick : zOnClick
|
||||||
|
};
|
||||||
|
$.tree.init(options);
|
||||||
|
});
|
||||||
|
|
||||||
|
function zOnClick(event, treeId, treeNode) {
|
||||||
|
var treeId = treeNode.id;
|
||||||
|
var treeName = treeNode.name;
|
||||||
|
$("#treeId").val(treeId);
|
||||||
|
$("#treeName").val(treeName);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,71 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('新增前端菜单')" />
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-menu-add">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">名字:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="name" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">链接:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="link" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">附加参数:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="additional" class="form-control" type="text" value="{}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="treeId" name="parentId" type="hidden" th:value="${bFrontEndMenu?.id}"/>
|
||||||
|
<input class="form-control" type="text" onclick="selectMenuTree()" id="treeName" readonly="true" th:value="${bFrontEndMenu?.name}">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "business/menu"
|
||||||
|
$("#form-menu-add").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/add", $('#form-menu-add').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*前端菜单-新增-选择父部门树*/
|
||||||
|
function selectMenuTree() {
|
||||||
|
var options = {
|
||||||
|
title: '前端菜单选择',
|
||||||
|
width: "380",
|
||||||
|
url: prefix + "/selectMenuTree/" + $("#treeId").val(),
|
||||||
|
callBack: doSubmit
|
||||||
|
};
|
||||||
|
$.modal.openOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
function doSubmit(index, layero){
|
||||||
|
var body = layer.getChildFrame('body', index);
|
||||||
|
$("#treeId").val(body.find('#treeId').val());
|
||||||
|
$("#treeName").val(body.find('#treeName').val());
|
||||||
|
layer.close(index);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('修改前端菜单')" />
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-menu-edit" th:object="${bFrontEndMenu}">
|
||||||
|
<input name="id" th:field="*{id}" type="hidden">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">名字:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="name" th:field="*{name}" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">链接:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="link" th:field="*{link}" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">附加参数:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="additional" th:field="*{additional}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">分类:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="treeId" name="parentId" type="hidden" th:field="*{parentId}"/>
|
||||||
|
<input class="form-control" type="text" onclick="selectMenuTree()" id="treeName" readonly="true" th:field="*{parentName}">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "business/menu";
|
||||||
|
$("#form-menu-edit").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/edit", $('#form-menu-edit').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*前端菜单-新增-选择父部门树*/
|
||||||
|
function selectMenuTree() {
|
||||||
|
var options = {
|
||||||
|
title: '前端菜单选择',
|
||||||
|
width: "380",
|
||||||
|
url: prefix + "/selectMenuTree/" + $("#treeId").val(),
|
||||||
|
callBack: doSubmit
|
||||||
|
};
|
||||||
|
$.modal.openOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
function doSubmit(index, layero){
|
||||||
|
var body = layer.getChildFrame('body', index);
|
||||||
|
$("#treeId").val(body.find('#treeId').val());
|
||||||
|
$("#treeName").val(body.find('#treeName').val());
|
||||||
|
layer.close(index);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,106 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('前端菜单列表')" />
|
||||||
|
</head>
|
||||||
|
<body class="gray-bg">
|
||||||
|
<div class="container-div">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 search-collapse">
|
||||||
|
<form id="formId">
|
||||||
|
<div class="select-list">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<label>名字:</label>
|
||||||
|
<input type="text" name="name"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>链接:</label>
|
||||||
|
<input type="text" name="link"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.treeTable.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group-sm" id="toolbar" role="group">
|
||||||
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="business:menu:add">
|
||||||
|
<i class="fa fa-plus"></i> 新增
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary" onclick="$.operate.edit()" shiro:hasPermission="business:menu:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-info" id="expandAllBtn">
|
||||||
|
<i class="fa fa-exchange"></i> 展开/折叠
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-12 select-table table-striped">
|
||||||
|
<table id="bootstrap-tree-table"></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var addFlag = [[${@permission.hasPermi('business:menu:add')}]];
|
||||||
|
var editFlag = [[${@permission.hasPermi('business:menu:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('business:menu:remove')}]];
|
||||||
|
var prefix = ctx + "business/menu";
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
var options = {
|
||||||
|
code: "id",
|
||||||
|
parentCode: "parentId",
|
||||||
|
expandColumn: "1",
|
||||||
|
uniqueId: "id",
|
||||||
|
url: prefix + "/list",
|
||||||
|
createUrl: prefix + "/add/{id}",
|
||||||
|
updateUrl: prefix + "/edit/{id}",
|
||||||
|
removeUrl: prefix + "/remove/{id}",
|
||||||
|
exportUrl: prefix + "/export",
|
||||||
|
modalName: "前端菜单",
|
||||||
|
columns: [{
|
||||||
|
field: 'selectItem',
|
||||||
|
radio: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'name',
|
||||||
|
title: '名字',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'link',
|
||||||
|
title: '链接',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createTime',
|
||||||
|
title: '创建时间',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateTime',
|
||||||
|
title: '更新时间',
|
||||||
|
align: 'left'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '操作',
|
||||||
|
align: 'center',
|
||||||
|
align: 'left',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
var actions = [];
|
||||||
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||||
|
actions.push('<a class="btn btn-info btn-xs ' + addFlag + '" href="javascript:void(0)" onclick="$.operate.add(\'' + row.id + '\')"><i class="fa fa-plus"></i>新增</a> ');
|
||||||
|
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||||
|
return actions.join('');
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
$.treeTable.init(options);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,49 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('前端菜单树选择')" />
|
||||||
|
<th:block th:include="include :: ztree-css" />
|
||||||
|
</head>
|
||||||
|
<style>
|
||||||
|
body{height:auto;font-family: "Microsoft YaHei";}
|
||||||
|
button{font-family: "SimSun","Helvetica Neue",Helvetica,Arial;}
|
||||||
|
</style>
|
||||||
|
<body class="hold-transition box box-main">
|
||||||
|
<input id="treeId" name="treeId" type="hidden" th:value="${bFrontEndMenu?.id}"/>
|
||||||
|
<input id="treeName" name="treeName" type="hidden" th:value="${bFrontEndMenu?.name}"/>
|
||||||
|
<div class="wrapper"><div class="treeShowHideButton" onclick="$.tree.toggleSearch();">
|
||||||
|
<label id="btnShow" title="显示搜索" style="display:none;">︾</label>
|
||||||
|
<label id="btnHide" title="隐藏搜索">︽</label>
|
||||||
|
</div>
|
||||||
|
<div class="treeSearchInput" id="search">
|
||||||
|
<label for="keyword">关键字:</label><input type="text" class="empty" id="keyword" maxlength="50">
|
||||||
|
<button class="btn" id="btn" onclick="$.tree.searchNode()"> 搜索 </button>
|
||||||
|
</div>
|
||||||
|
<div class="treeExpandCollapse">
|
||||||
|
<a href="#" onclick="$.tree.expand()">展开</a> /
|
||||||
|
<a href="#" onclick="$.tree.collapse()">折叠</a>
|
||||||
|
</div>
|
||||||
|
<div id="tree" class="ztree treeselect"></div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<th:block th:include="include :: ztree-js" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
$(function() {
|
||||||
|
var url = ctx + "business/menu/treeData";
|
||||||
|
var options = {
|
||||||
|
url: url,
|
||||||
|
expandLevel: 2,
|
||||||
|
onClick : zOnClick
|
||||||
|
};
|
||||||
|
$.tree.init(options);
|
||||||
|
});
|
||||||
|
|
||||||
|
function zOnClick(event, treeId, treeNode) {
|
||||||
|
var treeId = treeNode.id;
|
||||||
|
var treeName = treeNode.name;
|
||||||
|
$("#treeId").val(treeId);
|
||||||
|
$("#treeName").val(treeName);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,85 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('新增产品')"/>
|
||||||
|
<th:block th:include="include :: ckeditor-css"/>
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-product-add">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">商品名称:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="productName" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">商品详情:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<textarea id="editor1" name="productDetails"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">父类id:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="treeId" name="classId" type="hidden" th:value="${bProductClass?.id}"/>
|
||||||
|
<input class="form-control" type="text" onclick="selectBusinessclassTree()" id="treeName"
|
||||||
|
readonly="true" th:value="${bProductClass?.name}" required>
|
||||||
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer"/>
|
||||||
|
<th:block th:include="include :: ckeditor-js"/>
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var editor;
|
||||||
|
var prefix = ctx + "business/product"
|
||||||
|
|
||||||
|
$("#form-product-add").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
editor.updateSourceElement();
|
||||||
|
$.operate.save(prefix + "/add", $('#form-product-add').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*商品分类-新增-选择父部门树*/
|
||||||
|
function selectBusinessclassTree() {
|
||||||
|
var options = {
|
||||||
|
title: '商品分类选择',
|
||||||
|
width: "380",
|
||||||
|
url: ctx + "business/businessclass/selectBusinessclassTree/" + $("#treeId").val(),
|
||||||
|
callBack: doSubmit
|
||||||
|
};
|
||||||
|
$.modal.openOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
function doSubmit(index, layero) {
|
||||||
|
var body = layer.getChildFrame('body', index);
|
||||||
|
$("#treeId").val(body.find('#treeId').val());
|
||||||
|
$("#treeName").val(body.find('#treeName').val());
|
||||||
|
layer.close(index);
|
||||||
|
}
|
||||||
|
|
||||||
|
ClassicEditor
|
||||||
|
.create(document.querySelector('#editor1'), {
|
||||||
|
language: "zh-cn",
|
||||||
|
ckfinder: {
|
||||||
|
uploadUrl: ctx + "businessfile/file/addfile",
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.then(newEditor => {
|
||||||
|
editor = newEditor;
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
console.error(error);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,85 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('修改产品')" />
|
||||||
|
<th:block th:include="include :: ckeditor-css"/>
|
||||||
|
</head>
|
||||||
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
<form class="form-horizontal m" id="form-product-edit" th:object="${bProduct}">
|
||||||
|
<input name="id" th:field="*{id}" type="hidden">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label is-required">商品名称:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="productName" th:field="*{productName}" class="form-control" type="text" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">商品详情:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<textarea id="editor1" name="productDetails" th:field="*{productDetails}"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">父类id:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="treeId" name="classId" type="hidden" th:field="*{classId}" />
|
||||||
|
<input class="form-control" type="text" onclick="selectBusinessclassTree()" id="treeName" readonly="true" th:field="*{className}">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<th:block th:include="include :: ckeditor-js"/>
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var editor;
|
||||||
|
var prefix = ctx + "business/product";
|
||||||
|
|
||||||
|
$("#form-product-edit").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
editor.updateSourceElement();
|
||||||
|
$.operate.save(prefix + "/edit", $('#form-product-edit').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*商品分类-新增-选择父部门树*/
|
||||||
|
function selectBusinessclassTree() {
|
||||||
|
var options = {
|
||||||
|
title: '商品分类选择',
|
||||||
|
width: "380",
|
||||||
|
url: ctx + "business/businessclass/selectBusinessclassTree/" + $("#treeId").val(),
|
||||||
|
callBack: doSubmit
|
||||||
|
};
|
||||||
|
$.modal.openOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
function doSubmit(index, layero){
|
||||||
|
var body = layer.getChildFrame('body', index);
|
||||||
|
$("#treeId").val(body.find('#treeId').val());
|
||||||
|
$("#treeName").val(body.find('#treeName').val());
|
||||||
|
layer.close(index);
|
||||||
|
}
|
||||||
|
|
||||||
|
ClassicEditor
|
||||||
|
.create( document.querySelector( '#editor1' ), {
|
||||||
|
language:"zh-cn",
|
||||||
|
ckfinder: {
|
||||||
|
uploadUrl: ctx + "businessfile/file/addfile",
|
||||||
|
}
|
||||||
|
} )
|
||||||
|
.then( newEditor => {
|
||||||
|
editor = newEditor;
|
||||||
|
} )
|
||||||
|
.catch( error => {
|
||||||
|
console.error( error );
|
||||||
|
} );
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,106 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('产品列表')" />
|
||||||
|
</head>
|
||||||
|
<body class="gray-bg">
|
||||||
|
<div class="container-div">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 search-collapse">
|
||||||
|
<form id="formId">
|
||||||
|
<div class="select-list">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<label>商品名称:</label>
|
||||||
|
<input type="text" name="productName"/>
|
||||||
|
</li>
|
||||||
|
<li class="select-time">
|
||||||
|
<label>创建时间:</label>
|
||||||
|
<input type="text" class="time-input" placeholder="开始时间" name="params[beginCreateTime]"/>
|
||||||
|
<span>-</span>
|
||||||
|
<input type="text" class="time-input" placeholder="结束时间" name="params[endCreateTime]"/>
|
||||||
|
</li>
|
||||||
|
<li class="select-time">
|
||||||
|
<label>更新时间:</label>
|
||||||
|
<input type="text" class="time-input" placeholder="开始时间" name="params[beginUpdateTime]"/>
|
||||||
|
<span>-</span>
|
||||||
|
<input type="text" class="time-input" placeholder="结束时间" name="params[endUpdateTime]"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group-sm" id="toolbar" role="group">
|
||||||
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="business:product:add">
|
||||||
|
<i class="fa fa-plus"></i> 添加
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="business:product:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="business:product:remove">
|
||||||
|
<i class="fa fa-remove"></i> 删除
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="business:product:export">
|
||||||
|
<i class="fa fa-download"></i> 导出
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-12 select-table table-striped">
|
||||||
|
<table id="bootstrap-table"></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var editFlag = [[${@permission.hasPermi('business:product:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('business:product:remove')}]];
|
||||||
|
var prefix = ctx + "business/product";
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
var options = {
|
||||||
|
url: prefix + "/list",
|
||||||
|
createUrl: prefix + "/add",
|
||||||
|
updateUrl: prefix + "/edit/{id}",
|
||||||
|
removeUrl: prefix + "/remove",
|
||||||
|
exportUrl: prefix + "/export",
|
||||||
|
modalName: "产品",
|
||||||
|
columns: [{
|
||||||
|
checkbox: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'id',
|
||||||
|
title: 'id',
|
||||||
|
visible: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'productName',
|
||||||
|
title: '商品名称'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'classId',
|
||||||
|
title: '分类id'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createTime',
|
||||||
|
title: '创建时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '操作',
|
||||||
|
align: 'center',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
var actions = [];
|
||||||
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||||
|
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||||
|
return actions.join('');
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
$.table.init(options);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
16
pom.xml
16
pom.xml
|
|
@ -203,6 +203,20 @@
|
||||||
<version>${ruoyi.version}</version>
|
<version>${ruoyi.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- 轮播图-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.ruoyi</groupId>
|
||||||
|
<artifactId>business</artifactId>
|
||||||
|
<version>${ruoyi.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- 文件上传-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.ruoyi</groupId>
|
||||||
|
<artifactId>ruoyi-file</artifactId>
|
||||||
|
<version>${ruoyi.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
|
|
@ -213,6 +227,8 @@
|
||||||
<module>ruoyi-quartz</module>
|
<module>ruoyi-quartz</module>
|
||||||
<module>ruoyi-generator</module>
|
<module>ruoyi-generator</module>
|
||||||
<module>ruoyi-common</module>
|
<module>ruoyi-common</module>
|
||||||
|
<module>ruoyi-file</module>
|
||||||
|
<module>business</module>
|
||||||
</modules>
|
</modules>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,15 @@
|
||||||
<artifactId>ruoyi-generator</artifactId>
|
<artifactId>ruoyi-generator</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.ruoyi</groupId>
|
||||||
|
<artifactId>business</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.ruoyi</groupId>
|
||||||
|
<artifactId>ruoyi-file</artifactId>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
|
||||||
|
|
@ -16,15 +16,5 @@ public class RuoYiApplication
|
||||||
{
|
{
|
||||||
// System.setProperty("spring.devtools.restart.enabled", "false");
|
// System.setProperty("spring.devtools.restart.enabled", "false");
|
||||||
SpringApplication.run(RuoYiApplication.class, args);
|
SpringApplication.run(RuoYiApplication.class, args);
|
||||||
System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" +
|
|
||||||
" .-------. ____ __ \n" +
|
|
||||||
" | _ _ \\ \\ \\ / / \n" +
|
|
||||||
" | ( ' ) | \\ _. / ' \n" +
|
|
||||||
" |(_ o _) / _( )_ .' \n" +
|
|
||||||
" | (_,_).' __ ___(_ o _)' \n" +
|
|
||||||
" | |\\ \\ | || |(_,_)' \n" +
|
|
||||||
" | | \\ `' /| `-' / \n" +
|
|
||||||
" | | \\ / \\ / \n" +
|
|
||||||
" ''-' `'-' `-..-' ");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -8,7 +8,7 @@ spring:
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: password
|
password: anjie7410
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
slave:
|
slave:
|
||||||
# 从数据源开关/默认关闭
|
# 从数据源开关/默认关闭
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ ruoyi:
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
server:
|
server:
|
||||||
# 服务器的HTTP端口,默认为80
|
# 服务器的HTTP端口,默认为80
|
||||||
port: 80
|
port: 8080
|
||||||
servlet:
|
servlet:
|
||||||
# 应用的访问路径
|
# 应用的访问路径
|
||||||
context-path: /
|
context-path: /
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,2 @@
|
||||||
Application Version: ${ruoyi.version}
|
Application Version: ${ruoyi.version}
|
||||||
Spring Boot Version: ${spring-boot.version}
|
Spring Boot Version: ${spring-boot.version}
|
||||||
////////////////////////////////////////////////////////////////////
|
|
||||||
// _ooOoo_ //
|
|
||||||
// o8888888o //
|
|
||||||
// 88" . "88 //
|
|
||||||
// (| ^_^ |) //
|
|
||||||
// O\ = /O //
|
|
||||||
// ____/`---'\____ //
|
|
||||||
// .' \\| |// `. //
|
|
||||||
// / \\||| : |||// \ //
|
|
||||||
// / _||||| -:- |||||- \ //
|
|
||||||
// | | \\\ - /// | | //
|
|
||||||
// | \_| ''\---/'' | | //
|
|
||||||
// \ .-\__ `-` ___/-. / //
|
|
||||||
// ___`. .' /--.--\ `. . ___ //
|
|
||||||
// ."" '< `.___\_<|>_/___.' >'"". //
|
|
||||||
// | | : `- \`.;`\ _ /`;.`/ - ` : | | //
|
|
||||||
// \ \ `-. \_ __\ /__ _/ .-` / / //
|
|
||||||
// ========`-.____`-.___\_____/___.-`____.-'======== //
|
|
||||||
// `=---=' //
|
|
||||||
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
|
|
||||||
// 佛祖保佑 永不宕机 永无BUG //
|
|
||||||
////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
@ -663,7 +663,7 @@
|
||||||
}
|
}
|
||||||
self.$form = $el.closest('form');
|
self.$form = $el.closest('form');
|
||||||
self._initTemplateDefaults();
|
self._initTemplateDefaults();
|
||||||
self.uploadFileAttr = !$h.isEmpty($el.attr('name')) ? $el.attr('name') : 'file_data';
|
self.uploadFileAttr = !$h.isEmpty($el.attr('name')) ? $el.attr('name') : 'upload';
|
||||||
t = self._getLayoutTemplate('progress');
|
t = self._getLayoutTemplate('progress');
|
||||||
self.progressTemplate = t.replace('{class}', self.progressClass);
|
self.progressTemplate = t.replace('{class}', self.progressClass);
|
||||||
self.progressInfoTemplate = t.replace('{class}', self.progressInfoClass);
|
self.progressInfoTemplate = t.replace('{class}', self.progressInfoClass);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['af'] = d['af'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"Block quote":"Blok-aanhaling",Bold:"Vetgedruk",Cancel:"Kanselleer","Cannot upload file:":"Lêer nie opgelaai nie:","Could not insert image at the current position.":"Beeld kan nie in die posisie toegevoeg word nie.","Could not obtain resized image URL.":"","Insert image or file":"Voeg beeld of lêer in","Inserting image failed":"",Italic:"Skuinsgedruk",Save:"Berg","Selecting resized image failed":""} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['ar'] = d['ar'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"","Block quote":"اقتباس",Bold:"عريض","Bulleted List":"قائمة نقطية",Cancel:"إلغاء","Cannot upload file:":"لا يمكن رفع الملف:","Centered image":"صورة بالوسط","Change image text alternative":"غير النص البديل للصورة","Choose heading":"اختر عنوان",Column:"عمود","Delete column":"حذف العمود","Delete row":"حذف الصف",Downloadable:"","Dropdown toolbar":"","Edit link":"تحرير الرابط","Editor toolbar":"","Enter image caption":"ادخل عنوان الصورة","Full size image":"صورة بحجم كامل","Header column":"عمود عنوان","Header row":"صف عنوان",Heading:"عنوان","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"","Heading 5":"","Heading 6":"","Image toolbar":"","image widget":"عنصر الصورة","Insert column left":"","Insert column right":"","Insert image":"ادراج صورة","Insert row above":"ادراج صف قبل","Insert row below":"ادراج صف بعد","Insert table":"إدراج جدول",Italic:"مائل","Left aligned image":"صورة بمحاذاة لليسار",Link:"رابط","Link URL":"رابط عنوان","Merge cell down":"دمج الخلايا للأسفل","Merge cell left":"دمج الخلايا لليسار","Merge cell right":"دمج الخلايا لليمين","Merge cell up":"دمج الخلايا للأعلى","Merge cells":"دمج الخلايا",Next:"","Numbered List":"قائمة رقمية","Open in a new tab":"","Open link in new tab":"فتح الرابط في تبويب جديد",Paragraph:"فقرة",Previous:"",Redo:"إعادة","Rich Text Editor":"معالج نصوص","Rich Text Editor, %0":"معالج نصوص، 0%","Right aligned image":"صورة بمحاذاة لليمين",Row:"صف",Save:"حفظ","Select column":"","Select row":"","Show more items":"","Side image":"صورة جانبية","Split cell horizontally":"فصل الخلايا بشكل افقي","Split cell vertically":"فصل الخلايا بشكل عمودي","Table toolbar":"","Text alternative":"النص البديل","This link has no URL":"لا يحتوي هذا الرابط على عنوان",Undo:"تراجع",Unlink:"إلغاء الرابط","Upload failed":"فشل الرفع","Upload in progress":"جاري الرفع"} );l.getPluralForm=function(n){return n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['ast'] = d['ast'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"",Bold:"Negrina","Bulleted List":"Llista con viñetes",Cancel:"Encaboxar","Centered image":"","Change image text alternative":"",Downloadable:"","Dropdown toolbar":"","Edit link":"","Editor toolbar":"","Enter image caption":"","Full size image":"Imaxen a tamañu completu","Image toolbar":"","image widget":"complementu d'imaxen","Insert image":"",Italic:"Cursiva","Left aligned image":"",Link:"Enllazar","Link URL":"URL del enllaz",Next:"","Numbered List":"Llista numberada","Open in a new tab":"","Open link in new tab":"",Previous:"",Redo:"Refacer","Rich Text Editor":"Editor de testu arriquecíu","Rich Text Editor, %0":"Editor de testu arriquecíu, %0","Right aligned image":"",Save:"Guardar","Show more items":"","Side image":"Imaxen llateral","Text alternative":"","This link has no URL":"",Undo:"Desfacer",Unlink:"Desenllazar","Upload failed":""} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['az'] = d['az'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%1-dən %0","Block quote":"Sitat bloku",Bold:"Yarıqalın","Bulleted List":"Markerlənmiş siyahı",Cancel:"İmtina et","Cannot upload file:":"Fayl yüklənə bilmir","Centered image":"Mərkəzə düzləndir","Change image text alternative":"Alternativ mətni redaktə et","Choose heading":"Başlıqı seç",Column:"Sütun","Could not insert image at the current position.":"Şəkili əlavə etmək mümkün deyil","Could not obtain resized image URL.":"Ölçüsü dəyişmiş təsvirin URL-ni əldə etmək mümkün olmadı","Decrease indent":"Boş yeri kiçilt","Delete column":"Sütunları sil","Delete row":"Sətirləri sil",Downloadable:"Yüklənə bilər","Dropdown toolbar":"Açılan paneli","Edit link":"Linki redaktə et","Editor toolbar":"Redaktorun paneli","Enter image caption":"Şəkil başlığı daxil edin","Full size image":"Tam ölçülü şəkili","Header column":"Başlıqlı sütun","Header row":"Başlıqlı sətir",Heading:"Başlıq","Heading 1":"Başlıq 1","Heading 2":"Başlıq 2","Heading 3":"Başlıq 3","Heading 4":"Başlıq 4","Heading 5":"Başlıq 5","Heading 6":"Başlıq 6","Image toolbar":"Şəkil paneli","image widget":"Şəkil vidgetı","Increase indent":"Boş yeri böyüt","Insert column left":"Sola sütun əlavə et","Insert column right":"Sağa sütun əlavə et","Insert image":"Şəkili əlavə et","Insert image or file":"Şəkil və ya fayl əlavə ed","Insert media":"Media əlavə ed","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Aşağıya sətir əlavə et","Insert row below":"Yuxarıya sətir əlavə et","Insert table":"Cədvəli əlavə et","Inserting image failed":"Şəkili əlavə edilmədi",Italic:"Maili","Left aligned image":"Soldan düzləndir",Link:"Əlaqələndir","Link URL":"Linkin URL","Media URL":"Media URL","media widget":"media vidgeti","Merge cell down":"Xanaları aşağı birləşdir","Merge cell left":"Xanaları sola birləşdir","Merge cell right":"Xanaları sağa birləşdir","Merge cell up":"Xanaları yuxarı birləşdir","Merge cells":"Xanaları birləşdir",Next:"Növbəti","Numbered List":"Nömrələnmiş siyahı","Open in a new tab":"Yeni pəncərədə aç","Open link in new tab":"Linki yeni pəncərədə aç",Paragraph:"Abzas","Paste the media URL in the input.":"Media URL-ni xanaya əlavə edin",Previous:"Əvvəlki",Redo:"Təkrar et","Rich Text Editor":"Rich Text Redaktoru","Rich Text Editor, %0":"Rich Text Redaktoru, %0","Right aligned image":"Sağdan düzləndir",Row:"Sətir",Save:"Yadda saxla","Select column":"","Select row":"","Selecting resized image failed":"Ölçüsü dəyişmiş təsvirin seçilməsi uğursuz oldu","Show more items":"Daha çox əşyanı göstərin","Side image":"Yan şəkil","Split cell horizontally":"Xanaları üfüqi böl","Split cell vertically":"Xanaları şaquli böl","Table toolbar":"Cədvəl paneli","Text alternative":"Alternativ mətn","The URL must not be empty.":"URL boş olmamalıdır.","This link has no URL":"Bu linkdə URL yoxdur","This media URL is not supported.":"Bu media URL dəstəklənmir.","Tip: Paste the URL into the content to embed faster.":"Məsləhət: Sürətli qoşma üçün URL-i kontentə əlavə edin",Undo:"İmtina et",Unlink:"Linki sil","Upload failed":"Şəkili serverə yüklə","Upload in progress":"Yüklənir","Widget toolbar":"Vidgetin paneli"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['bg'] = d['bg'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"Block quote":"Цитат",Bold:"Удебелен",Cancel:"Отказ","Choose heading":"",Heading:"","Heading 1":"","Heading 2":"","Heading 3":"","Heading 4":"","Heading 5":"","Heading 6":"",Italic:"Курсив",Paragraph:"Параграф",Save:"Запазване"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['ca'] = d['ca'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"Block quote":"Cita de bloc",Bold:"Negreta",Cancel:"Cancel·lar","Cannot upload file:":"No es pot pujar l'arxiu:","Choose heading":"Escull capçalera",Heading:"Capçalera","Heading 1":"Capçalera 1","Heading 2":"Capçalera 2","Heading 3":"Capçalera 3","Heading 4":"","Heading 5":"","Heading 6":"",Italic:"Cursiva",Paragraph:"Pàrraf",Save:"Desar"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['cs'] = d['cs'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 z %1","Block quote":"Citace",Bold:"Tučné","Bulleted List":"Odrážky",Cancel:"Zrušit","Cannot upload file:":"Soubor nelze nahrát:","Centered image":"Obrázek zarovnaný na střed","Change image text alternative":"Změnit alternativní text obrázku","Choose heading":"Zvolte nadpis",Column:"Sloupec","Could not insert image at the current position.":"Na současnou pozici nelze vložit obrázek.","Could not obtain resized image URL.":"Nelze získat URL obrázku se změněnou velikostí.","Decrease indent":"Zmenšit odsazení","Delete column":"Smazat sloupec","Delete row":"Smazat řádek",Downloadable:"Ke stažení","Dropdown toolbar":"Rozbalovací panel nástrojů","Edit link":"Upravit odkaz","Editor toolbar":"Panel nástrojů editoru","Enter image caption":"Zadejte popis obrázku","Full size image":"Obrázek v plné velikosti","Header column":"Sloupec záhlaví","Header row":"Řádek záhlaví",Heading:"Nadpis","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4","Heading 5":"Nadpis 5","Heading 6":"Nadpis 6","Image toolbar":"Panel nástrojů obrázku","image widget":"ovládací prvek obrázku","Increase indent":"Zvětšit odsazení","Insert column left":"Vložit sloupec vlevo","Insert column right":"Vložit sloupec vpravo","Insert image":"Vložit obrázek","Insert image or file":"Vložit obrázek nebo soubor","Insert media":"Vložit média","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Vložit řádek před","Insert row below":"Vložit řádek pod","Insert table":"Vložit tabulku","Inserting image failed":"Vložení obrázku selhalo",Italic:"Kurzíva","Left aligned image":"Obrázek zarovnaný vlevo",Link:"Odkaz","Link URL":"URL odkazu","Media URL":"URL adresa","media widget":"ovládací prvek médií","Merge cell down":"Sloučit s buňkou pod","Merge cell left":"Sloučit s buňkou vlevo","Merge cell right":"Sloučit s buňkou vpravo","Merge cell up":"Sloučit s buňkou nad","Merge cells":"Sloučit buňky",Next:"Další","Numbered List":"Číslování","Open in a new tab":"Otevřít v nové kartě","Open link in new tab":"Otevřít odkaz v nové kartě",Paragraph:"Odstavec","Paste the media URL in the input.":"Vložte URL média do vstupního pole.",Previous:"Předchozí",Redo:"Znovu","Rich Text Editor":"Textový editor","Rich Text Editor, %0":"Textový editor, %0","Right aligned image":"Obrázek zarovnaný vpravo",Row:"Řádek",Save:"Uložit","Select all":"Vybrat vše","Select column":"Vybrat sloupec","Select row":"Vybrat řádek","Selecting resized image failed":"Výběr obrázku se změněnou velikostí selhal","Show more items":"Zobrazit další položky","Side image":"Postranní obrázek","Split cell horizontally":"Rozdělit buňky horizontálně","Split cell vertically":"Rozdělit buňky vertikálně","Table toolbar":"Panel nástrojů tabulky","Text alternative":"Alternativní text","The URL must not be empty.":"URL adresa musí být vyplněna.","This link has no URL":"Tento odkaz nemá žádnou URL","This media URL is not supported.":"Tato adresa bohužel není podporována.","Tip: Paste the URL into the content to embed faster.":"Rada: Vložte URL přímo do editoru pro rychlejší vnoření.",Undo:"Zpět",Unlink:"Odstranit odkaz","Upload failed":"Nahrání selhalo","Upload in progress":"Probíhá nahrávání","Widget toolbar":"Panel nástrojů ovládacího prvku"} );l.getPluralForm=function(n){return (n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['da'] = d['da'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 af %1","Block quote":"Blot citat",Bold:"Fed","Bulleted List":"Punktopstilling",Cancel:"Annullér","Cannot upload file:":"Kan ikke uploade fil:","Centered image":"Centreret billede","Change image text alternative":"Skift alternativ billedtekst","Choose heading":"Vælg overskrift",Column:"Kolonne","Could not insert image at the current position.":"Kunne ikke indsætte billede på aktuel position.","Could not obtain resized image URL.":"Kunne ikke hente URL på ændret billede.","Decrease indent":"Formindsk indrykning","Delete column":"Slet kolonne","Delete row":"Slet række",Downloadable:"Kan downloades","Dropdown toolbar":"Dropdown værktøjslinje","Edit link":"Redigér link","Editor toolbar":"Editor værktøjslinje","Enter image caption":"Indtast billedoverskrift","Full size image":"Fuld billedstørrelse","Header column":"Headerkolonne","Header row":"Headerrække",Heading:"Overskrift","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"Overskrift 4","Heading 5":"Overskrift 5","Heading 6":"Overskrift 6","Image toolbar":"Billedværktøjslinje","image widget":"billed widget","Increase indent":"Forøg indrykning","Insert column left":"Indsæt kolonne venstre","Insert column right":"Indsæt kolonne højre","Insert image":"Indsæt billede","Insert image or file":"Indsæt billede eller fil","Insert media":"Indsæt medie","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Indsæt header over","Insert row below":"Indsæt header under","Insert table":"Indsæt tabel","Inserting image failed":"Indsætning af billede fejlede",Italic:"Kursiv","Left aligned image":"Venstrestillet billede",Link:"Link","Link URL":"Link URL","Media URL":"Medie URL","media widget":"mediewidget","Merge cell down":"Flet celler ned","Merge cell left":"Flet celler venstre","Merge cell right":"Flet celler højre","Merge cell up":"Flet celler op","Merge cells":"Flet celler",Next:"Næste","Numbered List":"Opstilling med tal","Open in a new tab":"Åben i ny fane","Open link in new tab":"Åben link i ny fane",Paragraph:"Afsnit","Paste the media URL in the input.":"Indsæt medie URLen i feltet.",Previous:"Forrige",Redo:"Gentag","Rich Text Editor":"Wysiwyg editor","Rich Text Editor, %0":"Wysiwyg editor, %0","Right aligned image":"Højrestillet billede",Row:"Række",Save:"Gem","Select column":"","Select row":"","Selecting resized image failed":"Valg af ændret billede fejlede","Show more items":"Vis flere emner","Side image":"Sidebillede","Split cell horizontally":"Del celle horisontalt","Split cell vertically":"Del celle vertikalt","Table toolbar":"Tabel værktøjslinje","Text alternative":"Alternativ tekst","The URL must not be empty.":"URLen kan ikke være tom.","This link has no URL":"Dette link har ingen URL","This media URL is not supported.":"Denne medie URL understøttes ikke.","Tip: Paste the URL into the content to embed faster.":"Tip: Indsæt URLen i indholdet for at indlejre hurtigere.",Undo:"Fortryd",Unlink:"Fjern link","Upload failed":"Upload fejlede","Upload in progress":"Upload i gang","Widget toolbar":"Widget værktøjslinje"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['de-ch'] = d['de-ch'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"","Block quote":"Blockzitat","Cannot upload file:":"Datei kann nicht hochgeladen werden:",Column:"Spalte","Delete column":"Spalte löschen","Delete row":"Zeile löschen","Dropdown toolbar":"","Editor toolbar":"","Header column":"Kopfspalte","Header row":"Kopfspalte","Insert column left":"","Insert column right":"","Insert row above":"Zeile oben einfügen","Insert row below":"Zeile unten einfügen","Insert table":"Tabelle einfügen","Merge cell down":"Zelle unten verbinden","Merge cell left":"Zelle links verbinden","Merge cell right":"Zele rechts verbinden","Merge cell up":"Zelle oben verbinden","Merge cells":"Zellen verbinden",Next:"",Previous:"",Redo:"Wiederherstellen","Rich Text Editor":"Rich-Text-Edito","Rich Text Editor, %0":"Rich-Text-Editor, %0",Row:"Zeile","Select column":"","Select row":"","Show more items":"","Split cell horizontally":"Zelle horizontal teilen","Split cell vertically":"Zelle vertikal teilen","Table toolbar":"",Undo:"Rückgängig","Upload in progress":"Upload läuft"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['de'] = d['de'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 von %1","Block quote":"Blockzitat",Bold:"Fett","Bulleted List":"Aufzählungsliste",Cancel:"Abbrechen","Cannot upload file:":"Datei kann nicht hochgeladen werden:","Centered image":"zentriertes Bild","Change image text alternative":"Alternativ Text ändern","Choose heading":"Überschrift auswählen",Column:"Spalte","Could not insert image at the current position.":"Das Bild konnte an der aktuellen Position nicht eingefügt werden.","Could not obtain resized image URL.":"Die URL des angepassten Bildes konnte nicht abgerufen werden.","Decrease indent":"Einzug verkleinern","Delete column":"Spalte löschen","Delete row":"Zeile löschen",Downloadable:"Herunterladbar","Dropdown toolbar":"Dropdown-Liste Werkzeugleiste","Edit link":"Link bearbeiten","Editor toolbar":"Editor Werkzeugleiste","Enter image caption":"Bildunterschrift eingeben","Full size image":"Bild in voller Größe","Header column":"Kopfspalte","Header row":"Kopfzeile",Heading:"Überschrift","Heading 1":"Überschrift 1","Heading 2":"Überschrift 2","Heading 3":"Überschrift 3","Heading 4":"Überschrift 4","Heading 5":"Überschrift 5","Heading 6":"Überschrift 6","Image toolbar":"Bild Werkzeugleiste","image widget":"Bild-Steuerelement","Increase indent":"Einzug vergrößern","Insert column left":"Spalte links einfügen","Insert column right":"Spalte rechts einfügen","Insert image":"Bild einfügen","Insert image or file":"Bild oder Datei einfügen","Insert media":"Medium einfügen","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Zeile oben einfügen","Insert row below":"Zeile unten einfügen","Insert table":"Tabelle einfügen","Inserting image failed":"Einfügen des Bildes fehlgeschlagen",Italic:"Kursiv","Left aligned image":"linksbündiges Bild",Link:"Link","Link URL":"Link Adresse","Media URL":"Medien-Url","media widget":"Medien-Widget","Merge cell down":"Zelle unten verbinden","Merge cell left":"Zelle links verbinden","Merge cell right":"Zelle rechts verbinden","Merge cell up":"Zelle verbinden","Merge cells":"Zellen verbinden",Next:"Nächste","Numbered List":"Nummerierte Liste","Open in a new tab":"In neuem Tab öffnen","Open link in new tab":"Link im neuen Tab öffnen",Paragraph:"Absatz","Paste the media URL in the input.":"Medien-URL in das Eingabefeld einfügen.",Previous:"vorherige",Redo:"Wiederherstellen","Rich Text Editor":"Rich Text Editor","Rich Text Editor, %0":"Rich-Text-Editor, %0","Right aligned image":"rechtsbündiges Bild",Row:"Zeile",Save:"Speichern","Select all":"Alles auswählen","Select column":"Spalte auswählen","Select row":"Zeile auswählen","Selecting resized image failed":"Das angepasste Bild konnte nicht ausgewählt werden.","Show more items":"Mehr anzeigen","Side image":"Seitenbild","Split cell horizontally":"Zelle horizontal teilen","Split cell vertically":"Zelle vertikal teilen","Table toolbar":"Tabelle Werkzeugleiste","Text alternative":"Textalternative","The URL must not be empty.":"Die Url darf nicht leer sein","This link has no URL":"Dieser Link hat keine Adresse","This media URL is not supported.":"Diese Medien-Url wird nicht unterstützt","Tip: Paste the URL into the content to embed faster.":"Tipp: Zum schnelleren Einbetten können Sie die Medien-URL in den Inhalt einfügen.",Undo:"Rückgängig",Unlink:"Link entfernen","Upload failed":"Hochladen fehlgeschlagen","Upload in progress":"Upload läuft","Widget toolbar":"Widget Werkzeugleiste"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['el'] = d['el'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"","Block quote":"Περιοχή παράθεσης",Bold:"Έντονη","Bulleted List":"Λίστα κουκκίδων",Cancel:"Ακύρωση","Centered image":"","Change image text alternative":"Αλλαγή εναλλακτικού κείμενου","Choose heading":"Επιλέξτε κεφαλίδα",Downloadable:"","Dropdown toolbar":"","Edit link":"","Editor toolbar":"","Enter image caption":"Λεζάντα","Full size image":"Εικόνα πλήρης μεγέθους",Heading:"Κεφαλίδα","Heading 1":"Κεφαλίδα 1","Heading 2":"Κεφαλίδα 2","Heading 3":"Κεφαλίδα 3","Heading 4":"","Heading 5":"","Heading 6":"","Image toolbar":"","image widget":"","Insert image":"Εισαγωγή εικόνας",Italic:"Πλάγια","Left aligned image":"",Link:"Σύνδεσμος","Link URL":"Διεύθυνση συνδέσμου",Next:"","Numbered List":"Αριθμημένη λίστα","Open in a new tab":"","Open link in new tab":"",Paragraph:"Παράγραφος",Previous:"",Redo:"Επανάληψη","Rich Text Editor":"Επεξεργαστής Πλούσιου Κειμένου","Rich Text Editor, %0":"Επεξεργαστής Πλούσιου Κειμένου, 0%","Right aligned image":"",Save:"Αποθήκευση","Show more items":"","Side image":"","Text alternative":"Εναλλακτικό κείμενο","This link has no URL":"",Undo:"Αναίρεση",Unlink:"Αφαίρεση συνδέσμου","Upload failed":""} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['en-au'] = d['en-au'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 of %1","Block quote":"Block quote",Bold:"Bold","Bulleted List":"Bulleted List",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:","Centered image":"Centred image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Column:"Column","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Decrease indent":"Decrease indent","Delete column":"Delete column","Delete row":"Delete row",Downloadable:"Downloadable","Dropdown toolbar":"Dropdown toolbar","Edit link":"Edit link","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Full size image":"Full size image","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6","Image toolbar":"Image toolbar","image widget":"image widget","Increase indent":"Increase indent","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert media":"Insert media","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Inserting image failed":"Inserting image failed",Italic:"Italic","Left aligned image":"Left aligned image",Link:"Link","Link URL":"Link URL","Media URL":"Media URL","media widget":"media widget","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells",Next:"Next","Numbered List":"Numbered List","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Paragraph:"Paragraph","Paste the media URL in the input.":"Paste the media URL in the input.",Previous:"Previous",Redo:"Redo","Rich Text Editor":"Rich Text Editor","Rich Text Editor, %0":"Rich Text Editor, %0","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Show more items":"Show more items","Side image":"Side image","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically","Table toolbar":"Table toolbar","Text alternative":"Text alternative","The URL must not be empty.":"The URL must not be empty.","This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.",Undo:"Undo",Unlink:"Unlink","Upload failed":"Upload failed","Upload in progress":"Upload in progress","Widget toolbar":"Widget toolbar"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['en-gb'] = d['en-gb'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 of %1","Block quote":"Block quote",Bold:"Bold","Bulleted List":"Bulleted List",Cancel:"Cancel","Cannot upload file:":"Cannot upload file:","Centered image":"Centred image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Column:"Column","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Decrease indent":"Decrease indent","Delete column":"Delete column","Delete row":"Delete row",Downloadable:"Downloadable","Dropdown toolbar":"","Edit link":"Edit link","Editor toolbar":"","Enter image caption":"Enter image caption","Full size image":"Full size image","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6","Image toolbar":"","image widget":"Image widget","Increase indent":"Increase indent","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert media":"Insert media","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Inserting image failed":"Inserting image failed",Italic:"Italic","Left aligned image":"Left aligned image",Link:"Link","Link URL":"Link URL","Media URL":"Media URL","media widget":"Media widget","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells",Next:"Next","Numbered List":"Numbered List","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab",Paragraph:"Paragraph","Paste the media URL in the input.":"Paste the media URL in the input.",Previous:"Previous",Redo:"Redo","Rich Text Editor":"Rich Text Editor","Rich Text Editor, %0":"Rich Text Editor, %0","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select column":"","Select row":"","Selecting resized image failed":"Selecting resized image failed","Show more items":"","Side image":"Side image","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically","Table toolbar":"","Text alternative":"Text alternative","The URL must not be empty.":"The URL must not be empty.","This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.",Undo:"Undo",Unlink:"Unlink","Upload failed":"Upload failed","Upload in progress":"Upload in progress"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['eo'] = d['eo'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"",Bold:"grasa","Bulleted List":"Bula Listo",Cancel:"Nuligi","Centered image":"","Change image text alternative":"Ŝanĝu la alternativan tekston de la bildo","Choose heading":"Elektu ĉapon",Downloadable:"","Dropdown toolbar":"","Edit link":"","Editor toolbar":"","Enter image caption":"Skribu klarigon pri la bildo","Full size image":"Bildo kun reala dimensio",Heading:"Ĉapo","Heading 1":"Ĉapo 1","Heading 2":"Ĉapo 2","Heading 3":"Ĉapo 3","Heading 4":"","Heading 5":"","Heading 6":"","Image toolbar":"","image widget":"bilda fenestraĵo","Insert image":"Enmetu bildon",Italic:"kursiva","Left aligned image":"",Link:"Ligilo","Link URL":"URL de la ligilo",Next:"","Numbered List":"Numerita Listo","Open in a new tab":"","Open link in new tab":"",Paragraph:"Paragrafo",Previous:"",Redo:"Refari","Rich Text Editor":"Redaktilo de Riĉa Teksto","Rich Text Editor, %0":"Redaktilo de Riĉa Teksto, %0","Right aligned image":"",Save:"Konservi","Show more items":"","Side image":"Flanka biildo","Text alternative":"Alternativa teksto","This link has no URL":"",Undo:"Malfari",Unlink:"Malligi","Upload failed":""} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['es'] = d['es'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 de %1","Block quote":"Entrecomillado",Bold:"Negrita","Bulleted List":"Lista de puntos",Cancel:"Cancelar","Cannot upload file:":"No se pudo cargar el archivo:","Centered image":"Imagen centrada","Change image text alternative":"Cambiar el texto alternativo de la imagen","Choose heading":"Elegir Encabezado",Column:"Columna","Could not insert image at the current position.":"No se puede insertar una imagen en la posición actual","Could not obtain resized image URL.":"No se puede acceder a la URL de la imagen redimensionada","Decrease indent":"Disminuir sangría","Delete column":"Eliminar columna","Delete row":"Eliminar fila",Downloadable:"Descargable","Dropdown toolbar":"Barra de herramientas desplegable","Edit link":"Editar enlace","Editor toolbar":"Barra de herramientas de edición","Enter image caption":"Introducir título de la imagen","Full size image":"Imagen a tamaño completo","Header column":"Columna de encabezado","Header row":"Fila de encabezado",Heading:"Encabezado","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4","Heading 5":"Encabezado 5","Heading 6":"Encabezado 6","Image toolbar":"Barra de herramientas de imagen","image widget":"Widget de imagen","Increase indent":"Aumentar sangría","Insert column left":"Insertar columna izquierda","Insert column right":"Insertar columna derecha","Insert image":"Insertar imagen","Insert image or file":"Insertar imagen o archivo","Insert media":"Insertar contenido multimedia","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Insertar fila encima","Insert row below":"Insertar fila debajo","Insert table":"Insertar tabla","Inserting image failed":"Error insertando imagen",Italic:"Cursiva","Left aligned image":"Imagen alineada a la izquierda",Link:"Enlace","Link URL":"URL del enlace","Media URL":"URL del contenido multimedia","media widget":"Widget de contenido multimedia","Merge cell down":"Combinar celda inferior","Merge cell left":"Combinar celda izquierda","Merge cell right":"Combinar celda derecha","Merge cell up":"Combinar celda superior","Merge cells":"Combinar celdas",Next:"Siguiente","Numbered List":"Lista numerada","Open in a new tab":"Abrir en una pestaña nueva ","Open link in new tab":"Abrir enlace en una pestaña nueva",Paragraph:"Párrafo","Paste the media URL in the input.":"Pega la URL del contenido multimedia",Previous:"Anterior",Redo:"Rehacer","Rich Text Editor":"Editor de Texto Enriquecido","Rich Text Editor, %0":"Editor de Texto Enriquecido, %0","Right aligned image":"Imagen alineada a la derecha",Row:"Fila",Save:"Guardar","Select column":"","Select row":"","Selecting resized image failed":"Fallo eligiendo imagen redimensionada","Show more items":"Mostrar más elementos","Side image":"Imagen lateral","Split cell horizontally":"Dividir celdas horizontalmente","Split cell vertically":"Dividir celdas verticalmente","Table toolbar":"Barra de herramientas de tabla","Text alternative":"Texto alternativo","The URL must not be empty.":"La URL no debe estar vacía","This link has no URL":"Este enlace no tiene URL","This media URL is not supported.":"La URL de este contenido multimedia no está soportada","Tip: Paste the URL into the content to embed faster.":"Tip: pega la URL dentro del contenido para embeber más rápido",Undo:"Deshacer",Unlink:"Quitar enlace","Upload failed":"Fallo en la subida","Upload in progress":"Subida en progreso","Widget toolbar":"Barra de herramientas del widget"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['et'] = d['et'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 / %1","Block quote":"Tsitaat",Bold:"Rasvane","Bulleted List":"Punktidega loetelu",Cancel:"Loobu","Cannot upload file:":"Faili ei suudeta üles laadida:","Centered image":"Keskele joondatud pilt","Change image text alternative":"Muuda pildi asenduskirjeldust","Choose heading":"Vali pealkiri",Column:"Veerg","Could not insert image at the current position.":"Pildi sisestamine praegusesse kohta ebaõnnestus.","Could not obtain resized image URL.":"Muudetud suurusega pildi URL-i hankimine ebaõnnestus.","Decrease indent":"Vähenda taanet","Delete column":"Kustuta veerg","Delete row":"Kustuta rida",Downloadable:"Allalaaditav","Dropdown toolbar":"Avatav tööriistariba","Edit link":"Muuda linki","Editor toolbar":"Redaktori tööriistariba","Enter image caption":"Sisesta pildi pealkiri","Full size image":"Täissuuruses pilt","Header column":"Päise veerg","Header row":"Päise rida",Heading:"Pealkiri","Heading 1":"Pealkiri 1","Heading 2":"Pealkiri 2","Heading 3":"Pealkiri 3","Heading 4":"Pealkiri 4","Heading 5":"Pealkiri 5","Heading 6":"Pealkiri 6","Image toolbar":"Piltide tööriistariba","image widget":"pildi vidin","Increase indent":"Suurenda taanet","Insert column left":"Sisesta veerg vasakule","Insert column right":"Sisesta veerg paremale","Insert image":"Siseta pilt","Insert image or file":"Sisesta pilt või fail","Insert media":"Sisesta meedia","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Sisesta rida ülespoole","Insert row below":"Sisesta rida allapoole","Insert table":"Sisesta tabel","Inserting image failed":"Pildi sisestamine ebaõnnestus",Italic:"Kaldkiri","Left aligned image":"Vasakule joondatud pilt",Link:"Link","Link URL":"Lingi URL","Media URL":"Meedia URL","media widget":"meedia vidin","Merge cell down":"Liida alumise lahtriga","Merge cell left":"Liida vasakul oleva lahtriga","Merge cell right":"Liida paremal oleva lahtriga","Merge cell up":"Liida ülemise lahtriga","Merge cells":"Liida lahtrid",Next:"Järgmine","Numbered List":"Nummerdatud loetelu","Open in a new tab":"Ava uuel kaardil","Open link in new tab":"Ava link uuel vahekaardil",Paragraph:"Lõik","Paste the media URL in the input.":"Aseta meedia URL sisendi lahtrisse.",Previous:"Eelmine",Redo:"Tee uuesti","Rich Text Editor":"Tekstiredaktor","Rich Text Editor, %0":"Tekstiredaktor, %0","Right aligned image":"Paremale joondatud pilt",Row:"Rida",Save:"Salvesta","Select all":"Vali kõik","Select column":"Vali veerg","Select row":"Vali rida","Selecting resized image failed":"Muudetud suurusega pildi valimine ebaõnnestus","Show more items":"Näita veel","Side image":"Pilt küljel","Split cell horizontally":"Jaga lahter horisontaalselt","Split cell vertically":"Jaga lahter vertikaalselt","Table toolbar":"Tabelite tööriistariba","Text alternative":"Asenduskirjeldus","The URL must not be empty.":"URL-i lahter ei tohi olla tühi.","This link has no URL":"Sellel lingil puudub URL","This media URL is not supported.":"See meedia URL pole toetatud.","Tip: Paste the URL into the content to embed faster.":"Vihje: asetades meedia URLi otse sisusse saab selle lisada kiiremini.",Undo:"Võta tagasi",Unlink:"Eemalda link","Upload failed":"Üleslaadimine ebaõnnestus","Upload in progress":"Üleslaadimine pooleli","Widget toolbar":"Vidinate tööriistariba"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['eu'] = d['eu'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"","Block quote":"Aipua",Bold:"Lodia","Bulleted List":"Buletdun zerrenda",Cancel:"Utzi","Cannot upload file:":"Ezin da fitxategia kargatu:","Centered image":"Zentratutako irudia","Change image text alternative":"Aldatu irudiaren ordezko testua","Choose heading":"Aukeratu izenburua",Downloadable:"","Dropdown toolbar":"","Edit link":"","Editor toolbar":"","Enter image caption":"Sartu irudiaren epigrafea","Full size image":"Tamaina osoko irudia",Heading:"Izenburua","Heading 1":"Izenburua 1","Heading 2":"Izenburua 2","Heading 3":"Izenburua 3","Heading 4":"","Heading 5":"","Heading 6":"","Image toolbar":"","image widget":"irudi widgeta","Insert image":"Txertatu irudia",Italic:"Etzana","Left aligned image":"Ezkerrean lerrokatutako irudia",Link:"Esteka","Link URL":"Estekaren URLa",Next:"","Numbered List":"Zenbakidun zerrenda","Open in a new tab":"","Open link in new tab":"",Paragraph:"Paragrafoa",Previous:"",Redo:"Berregin","Rich Text Editor":"Testu aberastuaren editorea","Rich Text Editor, %0":"Testu aberastuaren editorea, %0","Right aligned image":"Eskuinean lerrokatutako irudia",Save:"Gorde","Show more items":"","Side image":"Alboko irudia","Text alternative":"Ordezko testua","This link has no URL":"",Undo:"Desegin",Unlink:"Desestekatu","Upload failed":"Kargatzeak huts egin du"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['fa'] = d['fa'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"0% از 1%","Block quote":" بلوک نقل قول",Bold:"درشت","Bulleted List":"لیست نشانهدار",Cancel:"لغو","Cannot upload file:":"فایل آپلود نمیشود:","Centered image":"تصویر در وسط","Change image text alternative":"تغییر متن جایگزین تصویر","Choose heading":"انتخاب عنوان",Column:"ستون","Could not insert image at the current position.":"نمیتوان تصویر را در موقعیت فعلی وارد کرد","Could not obtain resized image URL.":"نمیتوان آدرس اینترنتی تصویر تغییر اندازه یافته را بدست آورد","Decrease indent":"کاهش تورفتگی","Delete column":"حذف ستون","Delete row":"حذف سطر",Downloadable:"قابل بارگیری","Dropdown toolbar":"نوارابزار کشویی","Edit link":"ویرایش پیوند","Editor toolbar":"نوارابزار ویرایشگر","Enter image caption":"عنوان تصویر را وارد کنید","Full size image":"تصویر در اندازه کامل","Header column":"ستون سربرگ","Header row":"سطر سربرگ",Heading:"عنوان","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4","Heading 5":"عنوان 5","Heading 6":"عنوان 6","Image toolbar":"نوارابزار تصویر","image widget":"ابزاره تصویر","Increase indent":"افزایش تورفتگی","Insert column left":"درج ستون در سمت چپ","Insert column right":"درج ستون در سمت راست","Insert image":"قرار دادن تصویر","Insert image or file":"وارد کردن تصویر یا فایل","Insert media":"وارد کردن رسانه","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"درج سطر در بالا","Insert row below":"درج سطر در پایین","Insert table":"درج جدول","Inserting image failed":"وارد کردن تصویر انجام نشد",Italic:"کج","Left aligned image":"تصویر تراز شده چپ",Link:"پیوند","Link URL":"نشانی اینترنتی پیوند","Media URL":"آدرس اینترنتی رسانه","media widget":"ویجت رسانه","Merge cell down":"ادغام سلول پایین","Merge cell left":"ادغام سلول چپ","Merge cell right":"ادغام سلول راست","Merge cell up":"ادغام سلول بالا","Merge cells":"ادغام سلول ها",Next:"بعدی","Numbered List":"لیست عددی","Open in a new tab":"بازکردن در برگه جدید","Open link in new tab":"باز کردن پیوند در برگه جدید",Paragraph:"پاراگراف","Paste the media URL in the input.":"آدرس رسانه را در ورودی قرار دهید",Previous:"قبلی",Redo:"باز انجام","Rich Text Editor":"ویرایشگر متن غنی","Rich Text Editor, %0":"ویرایشگر متن غنی، %0","Right aligned image":"تصویر تراز شده راست",Row:"سطر",Save:"ذخیره","Select all":"انتخاب همه","Select column":"","Select row":"","Selecting resized image failed":"انتخاب تصویر تغییر اندازه یافته انجام نشد","Show more items":"","Side image":"تصویر جانبی","Split cell horizontally":"تقسیم افقی سلول","Split cell vertically":"تقسیم عمودی سلول","Table toolbar":"نوارابزار جدول","Text alternative":"متن جایگزین","The URL must not be empty.":"آدرس اینترنتی URL نباید خالی باشد.","This link has no URL":"این پیوند نشانی اینترنتی ندارد","This media URL is not supported.":"این آدرس اینترنتی رسانه پشتیبانی نمیشود","Tip: Paste the URL into the content to embed faster.":"نکته : آدرس را در محتوا قراردهید تا سریع تر جاسازی شود",Undo:"بازگردانی",Unlink:"لغو پیوند","Upload failed":"آپلود ناموفق بود","Upload in progress":"آپلود در حال انجام","Widget toolbar":"نوار ابزارک ها"} );l.getPluralForm=function(n){return (n > 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['fi'] = d['fi'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"","Block quote":"Lainaus",Bold:"Lihavointi","Bulleted List":"Lista",Cancel:"Peruuta","Cannot upload file:":"Tiedostoa ei voitu ladata:","Centered image":"Keskitetty kuva","Change image text alternative":"Vaihda kuvan vaihtoehtoinen teksti","Choose heading":"Valitse otsikko",Column:"Sarake","Could not insert image at the current position.":"Kuvan lisäys nykyiseen sijaintiin epäonnistui","Could not obtain resized image URL.":"","Decrease indent":"Vähennä sisennystä","Delete column":"Poista sarake","Delete row":"Poista rivi",Downloadable:"","Dropdown toolbar":"","Edit link":"Muokkaa linkkiä","Editor toolbar":"","Enter image caption":"Syötä kuvateksti","Full size image":"Täysikokoinen kuva","Header column":"Otsikkosarake","Header row":"Otsikkorivi",Heading:"Otsikkotyyli","Heading 1":"Otsikko 1","Heading 2":"Otsikko 2","Heading 3":"Otsikko 3","Heading 4":"Otsikko 4","Heading 5":"Otsikko 5","Heading 6":"Otsikko 6","Image toolbar":"","image widget":"Kuvavimpain","Increase indent":"Lisää sisennystä","Insert column left":"Lisää sarake vasemmalle","Insert column right":"Lisää sarake oikealle","Insert image":"Lisää kuva","Insert image or file":"Lisää kuva tai tiedosto","Insert media":"","Insert row above":"Lisää rivi ylle","Insert row below":"Lisää rivi alle","Insert table":"Lisää taulukko","Inserting image failed":"Kuvan lisäys epäonnistui",Italic:"Kursivointi","Left aligned image":"Vasemmalle tasattu kuva",Link:"Linkki","Link URL":"Linkin osoite","Media URL":"","media widget":"","Merge cell down":"Yhdistä solu alas","Merge cell left":"Yhdistä solu vasemmalle","Merge cell right":"Yhdistä solu oikealle","Merge cell up":"Yhdistä solu ylös","Merge cells":"Yhdistä tai jaa soluja",Next:"","Numbered List":"Numeroitu lista","Open in a new tab":"","Open link in new tab":"Avaa linkki uudessa välilehdessä",Paragraph:"Kappale","Paste the media URL in the input.":"",Previous:"",Redo:"Tee uudelleen","Rich Text Editor":"Rikas tekstieditori","Rich Text Editor, %0":"Rikas tekstieditori, %0","Right aligned image":"Oikealle tasattu kuva",Row:"Rivi",Save:"Tallenna","Select column":"","Select row":"","Selecting resized image failed":"","Show more items":"","Side image":"Pieni kuva","Split cell horizontally":"Jaa solu vaakasuunnassa","Split cell vertically":"Jaa solu pystysuunnassa","Table toolbar":"","Text alternative":"Vaihtoehtoinen teksti","The URL must not be empty.":"URL-osoite ei voi olla tyhjä.","This link has no URL":"Linkillä ei ole URL-osoitetta","This media URL is not supported.":"","Tip: Paste the URL into the content to embed faster.":"",Undo:"Peru",Unlink:"Poista linkki","Upload failed":"Lataus epäonnistui","Upload in progress":"Lähetys käynnissä"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['fr'] = d['fr'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 sur %1","Block quote":"Citation",Bold:"Gras","Bulleted List":"Liste à puces",Cancel:"Annuler","Cannot upload file:":"Envoi du fichier échoué :","Centered image":"Image centrée","Change image text alternative":"Changer le texte alternatif à l’image","Choose heading":"Choisir l'en-tête",Column:"Colonne","Could not insert image at the current position.":"Impossible d'insérer l'image à la position courante.","Could not obtain resized image URL.":"Impossible d'obtenir l'image redimensionnée","Decrease indent":"Diminuer le retrait","Delete column":"Supprimer la colonne","Delete row":"Supprimer la ligne",Downloadable:"Fichier téléchargeable","Dropdown toolbar":"Barre d'outils dans un menu déroulant","Edit link":"Modifier le lien","Editor toolbar":"Barre d'outils de l'éditeur","Enter image caption":"Saisir la légende de l’image","Full size image":"Image taille réelle","Header column":"Colonne d'entête","Header row":"Ligne d'entête",Heading:"En-tête","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4","Heading 5":"Titre 5","Heading 6":"Titre 6","Image toolbar":"Barre d'outils des images","image widget":"Objet image","Increase indent":"Augmenter le retrait","Insert column left":"Insérer une colonne à gauche","Insert column right":"Insérer une colonne à droite","Insert image":"Insérer une image","Insert image or file":"Insérer une image ou un fichier","Insert media":"Insérer un média","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Insérer une ligne au-dessus","Insert row below":"Insérer une ligne en-dessous","Insert table":"Insérer un tableau","Inserting image failed":"L'insertion d'image a échoué.",Italic:"Italique","Left aligned image":"Image alignée à gauche",Link:"Lien","Link URL":"URL du lien","Media URL":"URL de média","media widget":"widget média","Merge cell down":"Fusionner la cellule en-dessous","Merge cell left":"Fusionner la cellule à gauche","Merge cell right":"Fusionner la cellule à droite","Merge cell up":"Fusionner la cellule au-dessus","Merge cells":"Fusionner les cellules",Next:"Suivant","Numbered List":"Liste numérotée","Open in a new tab":"Ouvrir dans un nouvel onglet","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Paragraph:"Paragraphe","Paste the media URL in the input.":"Coller l'URL du média",Previous:"Précedent",Redo:"Restaurer","Rich Text Editor":"Éditeur de texte enrichi","Rich Text Editor, %0":"Éditeur de texte enrichi, %0","Right aligned image":"Image alignée à droite",Row:"Ligne",Save:"Enregistrer","Select column":"","Select row":"","Selecting resized image failed":"La sélection de l'image redimensionnée a échoué.","Show more items":"Montrer plus d'éléments","Side image":"Image latérale","Split cell horizontally":"Scinder la cellule horizontalement","Split cell vertically":"Scinder la cellule verticalement","Table toolbar":"Barre d'outils des tableaux","Text alternative":"Texte alternatif","The URL must not be empty.":"L'URL ne doit pas être vide.","This link has no URL":"Ce lien n'a pas d'URL","This media URL is not supported.":"Cette URL de média n'est pas supportée.","Tip: Paste the URL into the content to embed faster.":"Astuce : Copier l'URL du média dans le contenu pour l'insérer plus rapidement",Undo:"Annuler",Unlink:"Supprimer le lien","Upload failed":"Échec de l'envoi","Upload in progress":"Téléchargement en cours","Widget toolbar":"Barre d'outils du widget"} );l.getPluralForm=function(n){return (n > 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['gl'] = d['gl'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 de %1","Block quote":"Cita de bloque",Bold:"Negra","Bulleted List":"Lista viñeteada",Cancel:"Cancelar","Cannot upload file:":"Non é posíbel cargar o ficheiro:","Centered image":"Imaxe centrada horizontalmente","Change image text alternative":"Cambiar o texto alternativo da imaxe","Choose heading":"Escolla o título",Column:"Columna","Could not insert image at the current position.":"Non foi posíbel inserir a imaxe na posición actual.","Could not obtain resized image URL.":"Non foi posíbel obter o URL da imaxe redimensionada.","Decrease indent":"Reducir sangrado","Delete column":"Eliminar columna","Delete row":"Eliminar fila",Downloadable:"Descargábel","Dropdown toolbar":"Barra de ferramentas despregábel","Edit link":"Editar a ligazón","Editor toolbar":"Barra de ferramentas do editor","Enter image caption":"Introduza o título da imaxe","Full size image":"Imaxe a tamaño completo","Header column":"Cabeceira de columna","Header row":"Cabeceira de fila",Heading:"Título","Heading 1":"Título 1","Heading 2":"Título 2","Heading 3":"Título 3","Heading 4":"Título 4","Heading 5":"Título 5","Heading 6":"Título 6","Image toolbar":"Barra de ferramentas de imaxe","image widget":"Trebello de imaxe","Increase indent":"Aumentar sangrado","Insert column left":"Inserir columna á esquerda","Insert column right":"Inserir columna á dereita","Insert image":"Inserir imaxe","Insert image or file":"Inserir imaxe ou ficheiro","Insert media":"Inserir elemento multimedia","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Inserir fila enriba","Insert row below":"Inserir fila embaixo","Insert table":"Inserir táboa","Inserting image failed":"Fallou a inserción da imaxe",Italic:"Itálica","Left aligned image":"Imaxe aliñada á esquerda",Link:"Ligar","Link URL":"URL de ligazón","Media URL":"URL multimedia","media widget":"trebello multimedia","Merge cell down":"Combinar cela cara abaixo","Merge cell left":"Combinar cela cara a esquerda","Merge cell right":"Combinar cela cara a dereita","Merge cell up":"Combinar cela cara arriba","Merge cells":"Combinar celas",Next:"Seguinte","Numbered List":"Lista numerada","Open in a new tab":"Abrir nunha nova lapela","Open link in new tab":"Abrir a ligazón nunha nova lapela",Paragraph:"Parágrafo","Paste the media URL in the input.":"Pegue o URL do medio na entrada.",Previous:"Anterior",Redo:"Refacer","Rich Text Editor":"Editor de texto mellorado","Rich Text Editor, %0":"Editor de texto mellorado, %0","Right aligned image":"Imaxe aliñada á dereita",Row:"Fila",Save:"Gardar","Select all":"Seleccionar todo","Select column":"Seleccionar columna","Select row":"Seleccionar fila","Selecting resized image failed":"Non foi posíbel seleccionar a imaxe redimensionada","Show more items":"Amosar máis elementos","Side image":"Lado da imaxe","Split cell horizontally":"Dividir cela en horizontal","Split cell vertically":"Dividir cela en vertical","Table toolbar":"Barra de ferramentas de táboas","Text alternative":"Texto alternativo","The URL must not be empty.":"O URL non debe estar baleiro.","This link has no URL":"Esta ligazón non ten URL","This media URL is not supported.":"Este URL multimedia non é compatible.","Tip: Paste the URL into the content to embed faster.":"Consello: Pegue o URL no contido para incrustalo máis rápido.",Undo:"Desfacer",Unlink:"Desligar","Upload failed":"Fallou o envío","Upload in progress":"Envío en proceso","Widget toolbar":"Barra de ferramentas de trebellos"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['gu'] = d['gu'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"Block quote":" વિચાર ટાંકો",Bold:"ઘાટુ - બોલ્ડ્","Cannot upload file:":"ફાઇલ અપલોડ ન થઇ શકી",Italic:"ત્રાંસુ - ઇટલિક્"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['he'] = d['he'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"0% מתוך %1","Block quote":"בלוק ציטוט",Bold:"מודגש","Bulleted List":"רשימה מנוקדת",Cancel:"ביטול","Cannot upload file:":"לא ניתן להעלות את הקובץ הבא:","Centered image":"תמונה ממרוכזת","Change image text alternative":"שינוי טקסט אלטרנטיבי לתמונה","Choose heading":"בחר סוג כותרת","Could not insert image at the current position.":"לא ניתן להוסיף תמונה במיקום הנוכחי","Could not obtain resized image URL.":"לא ניתן להשיג תמונה מוקטנת",Downloadable:"","Dropdown toolbar":"סרגל כלים נפתח","Edit link":"עריכת קישור","Editor toolbar":"סרגל הכלים","Enter image caption":"הזן כותרת תמונה","Full size image":"תמונה בפריסה מלאה",Heading:"כותרת","Heading 1":"כותרת 1","Heading 2":"כותרת 2","Heading 3":"כותרת 3","Heading 4":"כותרת 4","Heading 5":"כותרת 5","Heading 6":"כותרת 6","Image toolbar":"סרגל תמונה","image widget":"תמונה","Insert image":"הוספת תמונה","Insert image or file":"הוסף תמונה או קובץ","Insert paragraph after block":"","Insert paragraph before block":"","Inserting image failed":"הוספת תמונה נכשלה",Italic:"נטוי","Left aligned image":"תמונה מיושרת לשמאל",Link:"קישור","Link URL":"קישור כתובת אתר",Next:"הבא","Numbered List":"רשימה ממוספרת","Open in a new tab":"","Open link in new tab":"פתח קישור בכרטיסייה חדשה",Paragraph:"פיסקה",Previous:"הקודם",Redo:"ביצוע מחדש","Rich Text Editor":"עורך טקסט עשיר","Rich Text Editor, %0":"עורך טקסט עשיר, %0","Right aligned image":"תמונה מיושרת לימין",Save:"שמירה","Selecting resized image failed":"בחירת תמונה מוקטנת נכשלה","Show more items":"הצד פריטים נוספים","Side image":"תמונת צד","Text alternative":"טקסט אלטרנטיבי","This link has no URL":"לקישור זה אין כתובת אתר",Undo:"ביטול",Unlink:"ביטול קישור","Upload failed":"העלאה נכשלה","Upload in progress":"העלאה מתבצעת","Widget toolbar":"סרגל יישומון"} );l.getPluralForm=function(n){return (n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['hr'] = d['hr'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 od %1","Block quote":"Blok citat",Bold:"Podebljano","Bulleted List":"Obična lista",Cancel:"Poništi","Cannot upload file:":"Datoteku nije moguće poslati:","Centered image":"Centrirana slika","Change image text alternative":"Promijeni alternativni tekst slike","Choose heading":"Odaberite naslov",Column:"Kolona","Could not insert image at the current position.":"Nije moguće umetnuti sliku na trenutnu poziciju","Could not obtain resized image URL.":"Nije moguće dohvatiti URL slike s promijenjenom veličinom","Decrease indent":"Umanji uvlačenje","Delete column":"Obriši kolonu","Delete row":"Obriši red",Downloadable:"Moguće preuzeti","Dropdown toolbar":"Traka padajućeg izbornika","Edit link":"Uredi vezu","Editor toolbar":"Traka uređivača","Enter image caption":"Unesite naslov slike","Full size image":"Slika pune veličine","Header column":"Kolona zaglavlja","Header row":"Red zaglavlja",Heading:"Naslov","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6","Image toolbar":"Traka za slike","image widget":"Slika widget","Increase indent":"Povećaj uvlačenje","Insert column left":"Umetni stupac lijevo","Insert column right":"Umetni stupac desno","Insert image":"Umetni sliku","Insert image or file":"Umetni sliku ili datoteku","Insert media":"Ubaci medij","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Ubaci red iznad","Insert row below":"Ubaci red ispod","Insert table":"Ubaci tablicu","Inserting image failed":"Umetanje slike nije uspjelo",Italic:"Ukošeno","Left aligned image":"Lijevo poravnata slika",Link:"Veza","Link URL":"URL veze","Media URL":"URL medija","media widget":"dodatak za medije","Merge cell down":"Spoji ćelije prema dolje","Merge cell left":"Spoji ćelije prema lijevo","Merge cell right":"Spoji ćelije prema desno","Merge cell up":"Spoji ćelije prema gore","Merge cells":"Spoji ćelije",Next:"Sljedeći","Numbered List":"Brojčana lista","Open in a new tab":"Otvori u novoj kartici","Open link in new tab":"Otvori vezu u novoj kartici",Paragraph:"Paragraf","Paste the media URL in the input.":"Zalijepi URL medija u ulaz.",Previous:"Prethodni",Redo:"Ponovi","Rich Text Editor":"Rich Text Editor","Rich Text Editor, %0":"Rich Text Editor, %0","Right aligned image":"Slika poravnata desno",Row:"Red",Save:"Snimi","Select all":"Odaberi sve","Select column":"Odaberi stupac","Select row":"Odaberi redak","Selecting resized image failed":"Odabir slike s promijenjenom veličinom nije uspjelo","Show more items":"Prikaži više stavaka","Side image":"Slika sa strane","Split cell horizontally":"Razdvoji ćeliju vodoravno","Split cell vertically":"Razdvoji ćeliju okomito","Table toolbar":"Traka za tablice","Text alternative":"Alternativni tekst","The URL must not be empty.":"URL ne smije biti prazan.","This link has no URL":"Ova veza nema URL","This media URL is not supported.":"URL nije podržan.","Tip: Paste the URL into the content to embed faster.":"Natuknica: Za brže ugrađivanje zalijepite URL u sadržaj.",Undo:"Poništi",Unlink:"Ukloni vezu","Upload failed":"Slanje nije uspjelo","Upload in progress":"Slanje u tijeku","Widget toolbar":"Traka sa spravicama"} );l.getPluralForm=function(n){return n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['hu'] = d['hu'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 / %1","Block quote":"Idézet",Bold:"Félkövér","Bulleted List":"Pontozott lista",Cancel:"Mégsem","Cannot upload file:":"Nem sikerült a fájl feltöltése:","Centered image":"Középre igazított kép","Change image text alternative":"Helyettesítő szöveg módosítása","Choose heading":"Stílus megadása",Column:"Oszlop","Could not insert image at the current position.":"A jelenlegi helyen nem szúrható be a kép.","Could not obtain resized image URL.":"Az átméretezett kép URL-je nem érhető el.","Decrease indent":"Behúzás csökkentése","Delete column":"Oszlop törlése","Delete row":"Sor törlése",Downloadable:"Letölthető","Dropdown toolbar":"Lenyíló eszköztár","Edit link":"Link szerkesztése","Editor toolbar":"Szerkesztő eszköztár","Enter image caption":"Képaláírás megadása","Full size image":"Teljes méretű kép","Header column":"Oszlop fejléc","Header row":"Sor fejléc",Heading:"Stílusok","Heading 1":"Címsor 1","Heading 2":"Címsor 2","Heading 3":"Címsor 3","Heading 4":"Címsor 4","Heading 5":"Címsor 5","Heading 6":"Címsor 6","Image toolbar":"Kép eszköztár","image widget":"képmodul","Increase indent":"Behúzás növelése","Insert column left":"Oszlop beszúrása balra","Insert column right":"Oszlop beszúrása jobbra","Insert image":"Kép beszúrása","Insert image or file":"Kép, vagy fájl beszúrása","Insert media":"Média beszúrása","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Sor beszúrása fölé","Insert row below":"Sor beszúrása alá","Insert table":"Táblázat beszúrása","Inserting image failed":"A kép beszúrása sikertelen",Italic:"Dőlt","Left aligned image":"Balra igazított kép",Link:"Link","Link URL":"URL link","Media URL":"Média URL","media widget":"Média widget","Merge cell down":"Cellák egyesítése lefelé","Merge cell left":"Cellák egyesítése balra","Merge cell right":"Cellák egyesítése jobbra","Merge cell up":"Cellák egyesítése felfelé","Merge cells":"Cellaegyesítés",Next:"Következő","Numbered List":"Számozott lista","Open in a new tab":"Megnyitás új lapon","Open link in new tab":"Link megnyitása új ablakban",Paragraph:"Bekezdés","Paste the media URL in the input.":"Illessze be a média URL-jét.",Previous:"Előző",Redo:"Újra","Rich Text Editor":"Bővített szövegszerkesztő","Rich Text Editor, %0":"Bővített szövegszerkesztő, %0","Right aligned image":"Jobbra igazított kép",Row:"Sor",Save:"Mentés","Select all":"Mindet kijelöl","Select column":"","Select row":"","Selecting resized image failed":"Az átméretezett kép kiválasztása sikertelen","Show more items":"További elemek","Side image":"Oldalsó kép","Split cell horizontally":"Cella felosztása vízszintesen","Split cell vertically":"Cella felosztása függőlegesen","Table toolbar":"Táblázat eszköztár","Text alternative":"Helyettesítő szöveg","The URL must not be empty.":"Az URL nem lehet üres.","This link has no URL":"A link nem tartalmaz URL-t","This media URL is not supported.":"Ez a média URL típus nem támogatott.","Tip: Paste the URL into the content to embed faster.":"Tipp: Illessze be a média URL-jét a tartalomba.",Undo:"Visszavonás",Unlink:"Link eltávolítása","Upload failed":"A feltöltés nem sikerült","Upload in progress":"A feltöltés folyamatban","Widget toolbar":"Widget eszköztár"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['id'] = d['id'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 dari %1","Block quote":"Kutipan",Bold:"Tebal","Bulleted List":"Daftar Tak Berangka",Cancel:"Batal","Cannot upload file:":"Tidak dapat mengunggah berkas:","Centered image":"Gambar rata tengah","Change image text alternative":"Ganti alternatif teks gambar","Choose heading":"Pilih tajuk",Column:"Kolom","Could not insert image at the current position.":"Tidak dapat menyisipkan gambar pada posisi ini.","Could not obtain resized image URL.":"Gagal mendapatkan URL gambar terukur","Decrease indent":"Kurangi indentasi","Delete column":"Hapus kolom","Delete row":"Hapus baris",Downloadable:"Dapat diunduh","Dropdown toolbar":"Alat dropdown","Edit link":"Sunting tautan","Editor toolbar":"Alat editor","Enter image caption":"Tambahkan deskripsi gambar","Full size image":"Gambar ukuran penuh","Header column":"Kolom tajuk","Header row":"Baris tajuk",Heading:"Tajuk","Heading 1":"Tajuk 1","Heading 2":"Tajuk 2","Heading 3":"Tajuk 3","Heading 4":"Tajuk 4","Heading 5":"Tajuk 5","Heading 6":"Tajuk 6","Image toolbar":"Alat gambar","image widget":"widget gambar","Increase indent":"Tambah indentasi","Insert column left":"Sisipkan kolom ke kiri","Insert column right":"Sisipkan kolom ke kanan","Insert image":"Sisipkan gambar","Insert image or file":"Sisipkan gambar atau berkas","Insert media":"Sisipkan media","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Sisipkan baris ke atas","Insert row below":"Sisipkan baris ke bawah","Insert table":"Sisipkan tabel","Inserting image failed":"Gagal menyisipkan gambar",Italic:"Miring","Left aligned image":"Gambar rata kiri",Link:"Tautan","Link URL":"URL tautan","Media URL":"URL Media","media widget":"widget media","Merge cell down":"Gabungkan sel ke bawah","Merge cell left":"Gabungkan sel ke kiri","Merge cell right":"Gabungkan sel ke kanan","Merge cell up":"Gabungkan sel ke atas","Merge cells":"Gabungkan sel",Next:"Berikutnya","Numbered List":"Daftar Berangka","Open in a new tab":"Buka di tab baru","Open link in new tab":"Buka tautan di tab baru",Paragraph:"Paragraf","Paste the media URL in the input.":"Tempelkan URL ke dalam bidang masukan.",Previous:"Sebelumnya",Redo:"Lakukan lagi","Rich Text Editor":"Editor Teks Kaya","Rich Text Editor, %0":"Editor Teks Kaya, %0","Right aligned image":"Gambar rata kanan",Row:"Baris",Save:"Simpan","Select column":"","Select row":"","Selecting resized image failed":"Gagal memilih gambar terukur","Show more items":"","Side image":"Gambar sisi","Split cell horizontally":"Bagikan sel secara horizontal","Split cell vertically":"Bagikan sel secara vertikal","Table toolbar":"Alat tabel","Text alternative":"Alternatif teks","The URL must not be empty.":"URL tidak boleh kosong.","This link has no URL":"Tautan ini tidak memiliki URL","This media URL is not supported.":"URL media ini tidak didukung.","Tip: Paste the URL into the content to embed faster.":"Tip: Tempelkan URL ke bagian konten untuk sisip cepat.",Undo:"Batal",Unlink:"Hapus tautan","Upload failed":"Gagal mengunggah","Upload in progress":"Sedang mengunggah","Widget toolbar":"Alat widget"} );l.getPluralForm=function(n){return 0;;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['it'] = d['it'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"%0 di %1","Block quote":"Blocco citazione",Bold:"Grassetto","Bulleted List":"Elenco puntato",Cancel:"Annulla","Cannot upload file:":"Impossibile caricare il file:","Centered image":"Immagine centrata","Change image text alternative":"Cambia testo alternativo dell'immagine","Choose heading":"Seleziona intestazione",Column:"Colonna","Could not insert image at the current position.":"Non è stato possibile inserire l'immagine nella posizione corrente.","Could not obtain resized image URL.":"Non è stato possibile ottenere l'URL dell'immagine ridimensionata.","Decrease indent":"Riduci rientro","Delete column":"Elimina colonna","Delete row":"Elimina riga",Downloadable:"Scaricabile","Dropdown toolbar":"Barra degli strumenti del menu a discesa","Edit link":"Modifica collegamento","Editor toolbar":"Barra degli strumenti dell'editor","Enter image caption":"inserire didascalia dell'immagine","Full size image":"Immagine a dimensione intera","Header column":"Intestazione colonna","Header row":"Riga d'intestazione",Heading:"Intestazione","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4","Heading 5":"Intestazione 5","Heading 6":"Intestazione 6","Image toolbar":"Barra degli strumenti dell'immagine","image widget":"Widget immagine","Increase indent":"Aumenta rientro","Insert column left":"Inserisci colonna a sinistra","Insert column right":"Inserisci colonna a destra","Insert image":"Inserisci immagine","Insert image or file":"Inserisci immagine o file","Insert media":"Inserisci media","Insert paragraph after block":"","Insert paragraph before block":"","Insert row above":"Inserisci riga sopra","Insert row below":"Inserisci riga sotto","Insert table":"Inserisci tabella","Inserting image failed":"L'inserimento dell'immagine è fallito",Italic:"Corsivo","Left aligned image":"Immagine allineata a sinistra",Link:"Collegamento","Link URL":"URL del collegamento","Media URL":"URL media","media widget":"widget media","Merge cell down":"Unisci cella sotto","Merge cell left":"Unisci cella a sinistra","Merge cell right":"Unisci cella a destra","Merge cell up":"Unisci cella sopra","Merge cells":"Unisci celle",Next:"Avanti","Numbered List":"Elenco numerato","Open in a new tab":"Apri in una nuova scheda","Open link in new tab":"Apri collegamento in nuova scheda",Paragraph:"Paragrafo","Paste the media URL in the input.":"Incolla l'URL del file multimediale nell'input.",Previous:"Indietro",Redo:"Ripristina","Rich Text Editor":"Editor di testo formattato","Rich Text Editor, %0":"Editor di testo formattato, %0","Right aligned image":"Immagine allineata a destra",Row:"Riga",Save:"Salva","Select all":"Seleziona tutto","Select column":"Seleziona colonna","Select row":"Seleziona riga","Selecting resized image failed":"La selezione dell'immagine ridimensionata è fallita","Show more items":"Mostra più elementi","Side image":"Immagine laterale","Split cell horizontally":"Dividi cella orizzontalmente","Split cell vertically":"Dividi cella verticalmente","Table toolbar":"Barra degli strumenti della tabella","Text alternative":"Testo alternativo","The URL must not be empty.":"L'URL non può essere vuoto.","This link has no URL":"Questo collegamento non ha un URL","This media URL is not supported.":"Questo URL di file multimediali non è supportato.","Tip: Paste the URL into the content to embed faster.":"Consiglio: incolla l'URL nel contenuto per un'incorporazione più veloce.",Undo:"Annulla",Unlink:"Elimina collegamento","Upload failed":"Caricamento fallito","Upload in progress":"Caricamento in corso","Widget toolbar":"Barra degli strumenti del widget"} );l.getPluralForm=function(n){return (n != 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['ja'] = d['ja'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"","Block quote":"ブロッククオート(引用)",Bold:"ボールド","Bulleted List":"箇条書きリスト",Cancel:"キャンセル","Cannot upload file:":"ファイルをアップロードできません:","Centered image":"中央寄せ画像","Change image text alternative":"画像の代替テキストを変更","Choose heading":"見出しを選択",Column:"列","Could not insert image at the current position.":"現在のカーソルの場所への画像の挿入に失敗しました。","Could not obtain resized image URL.":"リサイズした画像のURLの取得に失敗しました。","Decrease indent":"インデントの削除","Delete column":"列を削除","Delete row":"行を削除",Downloadable:"","Dropdown toolbar":"","Edit link":"リンクを編集","Editor toolbar":"","Enter image caption":"画像の注釈を入力","Full size image":"フルサイズ画像","Header column":"見出し列","Header row":"見出し行",Heading:"見出し","Heading 1":"見出し1","Heading 2":"見出し2","Heading 3":"見出し3 ","Heading 4":"","Heading 5":"","Heading 6":"","Image toolbar":"画像","image widget":"画像ウィジェット","Increase indent":"インデントの追加","Insert column left":"","Insert column right":"","Insert image":"画像挿入","Insert image or file":"画像やファイルの挿入","Insert media":"メディアの挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Insert table":"表の挿入","Inserting image failed":"画像の挿入に失敗しました。",Italic:"イタリック","Left aligned image":"左寄せ画像",Link:"リンク","Link URL":"リンクURL","Media URL":"メディアURL","media widget":"メディアウィジェット","Merge cell down":"下のセルと結合","Merge cell left":"左のセルと結合","Merge cell right":"右のセルと結合","Merge cell up":"上のセルと結合","Merge cells":"セルを結合",Next:"","Numbered List":"番号付きリスト","Open in a new tab":"","Open link in new tab":"新しいタブでリンクを開く",Paragraph:"パラグラフ","Paste the media URL in the input.":"URLを入力欄にコピー",Previous:"",Redo:"やり直し","Rich Text Editor":"リッチテキストエディター","Rich Text Editor, %0":"リッチテキストエディター, %0","Right aligned image":"右寄せ画像",Row:"行",Save:"保存","Select column":"","Select row":"","Selecting resized image failed":"リサイズした画像の選択ができませんでした。","Show more items":"","Side image":"サイドイメージ","Split cell horizontally":"縦にセルを分離","Split cell vertically":"横にセルを分離","Table toolbar":"","Text alternative":"代替テキスト","The URL must not be empty.":"空のURLは許可されていません。","This link has no URL":"リンクにURLが設定されていません","This media URL is not supported.":"このメディアのURLはサポートされていません。","Tip: Paste the URL into the content to embed faster.":"",Undo:"元に戻す",Unlink:"リンク解除","Upload failed":"アップロード失敗","Upload in progress":"アップロード中"} );l.getPluralForm=function(n){return 0;;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['km'] = d['km'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"","Block quote":"ប្លុកពាក្យសម្រង់",Bold:"ដិត","Bulleted List":"បញ្ជីជាចំណុច",Cancel:"បោះបង់","Cannot upload file:":"មិនអាចអាប់ឡូតឯកសារ៖","Centered image":"","Change image text alternative":"","Choose heading":"ជ្រើសរើសក្បាលអត្ថបទ",Downloadable:"","Dropdown toolbar":"","Edit link":"","Editor toolbar":"","Enter image caption":"បញ្ចូលពាក្យពណ៌នារូបភាព","Full size image":"រូបភាពពេញទំហំ",Heading:"ក្បាលអត្ថបទ","Heading 1":"ក្បាលអត្ថបទ 1","Heading 2":"ក្បាលអត្ថបទ 2","Heading 3":"ក្បាលអត្ថបទ 3","Heading 4":"","Heading 5":"","Heading 6":"","Image toolbar":"","image widget":"វិដជិតរូបភាព","Insert image":"បញ្ចូលរូបភាព",Italic:"ទ្រេត","Left aligned image":"",Link:"តំណ","Link URL":"URL តំណ",Next:"","Numbered List":"បញ្ជីជាលេខ","Open in a new tab":"","Open link in new tab":"",Paragraph:"កថាខណ្ឌ",Previous:"",Redo:"ធ្វើវិញ","Rich Text Editor":"កម្មវិធីកែសម្រួលអត្ថបទសម្បូរបែប","Rich Text Editor, %0":"កម្មវិធីកែសម្រួលអត្ថបទសម្បូរបែប, %0","Right aligned image":"",Save:"រក្សាទុ","Show more items":"","Side image":"រូបភាពនៅខាង","Text alternative":"","This link has no URL":"",Undo:"លែងធ្វើវិញ",Unlink:"ផ្ដាច់តំណ","Upload failed":"អាប់ឡូតមិនបាន"} );l.getPluralForm=function(n){return 0;;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
(function(d){ const l = d['kn'] = d['kn'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"","Block quote":"ಗುರುತಿಸಲಾದ ಉಲ್ಲೇಖ",Bold:"ದಪ್ಪ","Bulleted List":"ಬುಲೆಟ್ ಪಟ್ಟಿ",Cancel:"ರದ್ದುಮಾಡು","Centered image":"","Change image text alternative":"ಚಿತ್ರದ ಬದಲಿ ಪಠ್ಯ ಬದಲಾಯಿಸು","Choose heading":"ಶೀರ್ಷಿಕೆ ಆಯ್ಕೆಮಾಡು",Downloadable:"","Dropdown toolbar":"","Edit link":"","Editor toolbar":"","Enter image caption":"ಚಿತ್ರದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸು","Full size image":"ಪೂರ್ಣ ಅಳತೆಯ ಚಿತ್ರ",Heading:"ಶೀರ್ಷಿಕೆ","Heading 1":"ಶೀರ್ಷಿಕೆ 1","Heading 2":"ಶೀರ್ಷಿಕೆ 2","Heading 3":"ಶೀರ್ಷಿಕೆ 3","Heading 4":"","Heading 5":"","Heading 6":"","Image toolbar":"","image widget":"ಚಿತ್ರ ವಿಜೆಟ್","Insert image":"",Italic:"ಇಟಾಲಿಕ್","Left aligned image":"",Link:"ಕೊಂಡಿ","Link URL":"ಕೊಂಡಿ ಸಂಪರ್ಕಿಸು",Next:"","Numbered List":"ಸಂಖ್ಯೆಯ ಪಟ್ಟಿ","Open in a new tab":"","Open link in new tab":"",Paragraph:"ಪ್ಯಾರಾಗ್ರಾಫ್",Previous:"",Redo:"ಮತ್ತೆ ಮಾಡು","Rich Text Editor":"ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ","Rich Text Editor, %0":"ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ, %0","Right aligned image":"",Save:"ಉಳಿಸು","Show more items":"","Side image":"ಪಕ್ಕದ ಚಿತ್ರ","Text alternative":"ಪಠ್ಯದ ಬದಲಿ","This link has no URL":"",Undo:"ರದ್ದು",Unlink:"ಕೊಂಡಿ ತೆಗೆ","Upload failed":""} );l.getPluralForm=function(n){return (n > 1);;};})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue