短剧用户/短剧公告/短剧广告/短剧变相项目
This commit is contained in:
parent
4d4b13b37b
commit
fc2fb12b30
|
|
@ -0,0 +1,127 @@
|
||||||
|
package com.playlet.web.controller.system;
|
||||||
|
|
||||||
|
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.playlet.common.annotation.Log;
|
||||||
|
import com.playlet.common.enums.BusinessType;
|
||||||
|
import com.playlet.system.domain.PlayletBanner;
|
||||||
|
import com.playlet.system.service.IPlayletBannerService;
|
||||||
|
import com.playlet.common.core.controller.BaseController;
|
||||||
|
import com.playlet.common.core.domain.AjaxResult;
|
||||||
|
import com.playlet.common.utils.poi.ExcelUtil;
|
||||||
|
import com.playlet.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧广告管理Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/playlet/banner")
|
||||||
|
public class PlayletBannerController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/playlet/banner";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IPlayletBannerService playletBannerService;
|
||||||
|
|
||||||
|
@RequiresPermissions("playlet:banner:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String banner()
|
||||||
|
{
|
||||||
|
return prefix + "/banner";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧广告管理列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:banner:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(PlayletBanner playletBanner)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<PlayletBanner> list = playletBannerService.selectPlayletBannerList(playletBanner);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出短剧广告管理列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:banner:export")
|
||||||
|
@Log(title = "短剧广告管理", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(PlayletBanner playletBanner)
|
||||||
|
{
|
||||||
|
List<PlayletBanner> list = playletBannerService.selectPlayletBannerList(playletBanner);
|
||||||
|
ExcelUtil<PlayletBanner> util = new ExcelUtil<PlayletBanner>(PlayletBanner.class);
|
||||||
|
return util.exportExcel(list, "短剧广告管理数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧广告管理
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存短剧广告管理
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:banner:add")
|
||||||
|
@Log(title = "短剧广告管理", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(PlayletBanner playletBanner)
|
||||||
|
{
|
||||||
|
return toAjax(playletBannerService.insertPlayletBanner(playletBanner));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧广告管理
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:banner:edit")
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
PlayletBanner playletBanner = playletBannerService.selectPlayletBannerById(id);
|
||||||
|
mmap.put("playletBanner", playletBanner);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存短剧广告管理
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:banner:edit")
|
||||||
|
@Log(title = "短剧广告管理", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(PlayletBanner playletBanner)
|
||||||
|
{
|
||||||
|
return toAjax(playletBannerService.updatePlayletBanner(playletBanner));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧广告管理
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:banner:remove")
|
||||||
|
@Log(title = "短剧广告管理", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(playletBannerService.deletePlayletBannerByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,127 @@
|
||||||
|
package com.playlet.web.controller.system;
|
||||||
|
|
||||||
|
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.playlet.common.annotation.Log;
|
||||||
|
import com.playlet.common.enums.BusinessType;
|
||||||
|
import com.playlet.system.domain.PlayletMessage;
|
||||||
|
import com.playlet.system.service.IPlayletMessageService;
|
||||||
|
import com.playlet.common.core.controller.BaseController;
|
||||||
|
import com.playlet.common.core.domain.AjaxResult;
|
||||||
|
import com.playlet.common.utils.poi.ExcelUtil;
|
||||||
|
import com.playlet.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧公告Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/playlet/message")
|
||||||
|
public class PlayletMessageController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/playlet/message";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IPlayletMessageService playletMessageService;
|
||||||
|
|
||||||
|
@RequiresPermissions("playlet:message:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String message()
|
||||||
|
{
|
||||||
|
return prefix + "/message";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧公告列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:message:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(PlayletMessage playletMessage)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<PlayletMessage> list = playletMessageService.selectPlayletMessageList(playletMessage);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出短剧公告列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:message:export")
|
||||||
|
@Log(title = "短剧公告", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(PlayletMessage playletMessage)
|
||||||
|
{
|
||||||
|
List<PlayletMessage> list = playletMessageService.selectPlayletMessageList(playletMessage);
|
||||||
|
ExcelUtil<PlayletMessage> util = new ExcelUtil<PlayletMessage>(PlayletMessage.class);
|
||||||
|
return util.exportExcel(list, "短剧公告数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧公告
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存短剧公告
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:message:add")
|
||||||
|
@Log(title = "短剧公告", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(PlayletMessage playletMessage)
|
||||||
|
{
|
||||||
|
return toAjax(playletMessageService.insertPlayletMessage(playletMessage));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧公告
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:message:edit")
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
PlayletMessage playletMessage = playletMessageService.selectPlayletMessageById(id);
|
||||||
|
mmap.put("playletMessage", playletMessage);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存短剧公告
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:message:edit")
|
||||||
|
@Log(title = "短剧公告", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(PlayletMessage playletMessage)
|
||||||
|
{
|
||||||
|
return toAjax(playletMessageService.updatePlayletMessage(playletMessage));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧公告
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:message:remove")
|
||||||
|
@Log(title = "短剧公告", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(playletMessageService.deletePlayletMessageByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,127 @@
|
||||||
|
package com.playlet.system.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.playlet.common.annotation.Log;
|
||||||
|
import com.playlet.common.enums.BusinessType;
|
||||||
|
import com.playlet.system.domain.PlayletRealizationProject;
|
||||||
|
import com.playlet.system.service.IPlayletRealizationProjectService;
|
||||||
|
import com.playlet.common.core.controller.BaseController;
|
||||||
|
import com.playlet.common.core.domain.AjaxResult;
|
||||||
|
import com.playlet.common.utils.poi.ExcelUtil;
|
||||||
|
import com.playlet.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 变现项目Controller
|
||||||
|
*
|
||||||
|
* @author clunt
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/playlet/project")
|
||||||
|
public class PlayletRealizationProjectController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/playlet/project";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IPlayletRealizationProjectService playletRealizationProjectService;
|
||||||
|
|
||||||
|
@RequiresPermissions("playlet:project:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String project()
|
||||||
|
{
|
||||||
|
return prefix + "/project";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询变现项目列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:project:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(PlayletRealizationProject playletRealizationProject)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<PlayletRealizationProject> list = playletRealizationProjectService.selectPlayletRealizationProjectList(playletRealizationProject);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出变现项目列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:project:export")
|
||||||
|
@Log(title = "变现项目", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(PlayletRealizationProject playletRealizationProject)
|
||||||
|
{
|
||||||
|
List<PlayletRealizationProject> list = playletRealizationProjectService.selectPlayletRealizationProjectList(playletRealizationProject);
|
||||||
|
ExcelUtil<PlayletRealizationProject> util = new ExcelUtil<PlayletRealizationProject>(PlayletRealizationProject.class);
|
||||||
|
return util.exportExcel(list, "变现项目数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增变现项目
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存变现项目
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:project:add")
|
||||||
|
@Log(title = "变现项目", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(PlayletRealizationProject playletRealizationProject)
|
||||||
|
{
|
||||||
|
return toAjax(playletRealizationProjectService.insertPlayletRealizationProject(playletRealizationProject));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改变现项目
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:project:edit")
|
||||||
|
@GetMapping("/edit/{id}")
|
||||||
|
public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
||||||
|
{
|
||||||
|
PlayletRealizationProject playletRealizationProject = playletRealizationProjectService.selectPlayletRealizationProjectById(id);
|
||||||
|
mmap.put("playletRealizationProject", playletRealizationProject);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存变现项目
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:project:edit")
|
||||||
|
@Log(title = "变现项目", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(PlayletRealizationProject playletRealizationProject)
|
||||||
|
{
|
||||||
|
return toAjax(playletRealizationProjectService.updatePlayletRealizationProject(playletRealizationProject));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除变现项目
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:project:remove")
|
||||||
|
@Log(title = "变现项目", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(playletRealizationProjectService.deletePlayletRealizationProjectByIds(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,127 @@
|
||||||
|
package com.playlet.web.controller.system;
|
||||||
|
|
||||||
|
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.playlet.common.annotation.Log;
|
||||||
|
import com.playlet.common.enums.BusinessType;
|
||||||
|
import com.playlet.system.domain.PlayletUser;
|
||||||
|
import com.playlet.system.service.IPlayletUserService;
|
||||||
|
import com.playlet.common.core.controller.BaseController;
|
||||||
|
import com.playlet.common.core.domain.AjaxResult;
|
||||||
|
import com.playlet.common.utils.poi.ExcelUtil;
|
||||||
|
import com.playlet.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧用户Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/system/playlet/user")
|
||||||
|
public class PlayletUserController extends BaseController
|
||||||
|
{
|
||||||
|
private String prefix = "system/playlet/user";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IPlayletUserService playletUserService;
|
||||||
|
|
||||||
|
@RequiresPermissions("playlet:user:view")
|
||||||
|
@GetMapping()
|
||||||
|
public String user()
|
||||||
|
{
|
||||||
|
return prefix + "/user";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧用户列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:user:list")
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(PlayletUser playletUser)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<PlayletUser> list = playletUserService.selectPlayletUserList(playletUser);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出短剧用户列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:user:export")
|
||||||
|
@Log(title = "短剧用户", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult export(PlayletUser playletUser)
|
||||||
|
{
|
||||||
|
List<PlayletUser> list = playletUserService.selectPlayletUserList(playletUser);
|
||||||
|
ExcelUtil<PlayletUser> util = new ExcelUtil<PlayletUser>(PlayletUser.class);
|
||||||
|
return util.exportExcel(list, "短剧用户数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧用户
|
||||||
|
*/
|
||||||
|
@GetMapping("/add")
|
||||||
|
public String add()
|
||||||
|
{
|
||||||
|
return prefix + "/add";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增保存短剧用户
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:user:add")
|
||||||
|
@Log(title = "短剧用户", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult addSave(PlayletUser playletUser)
|
||||||
|
{
|
||||||
|
return toAjax(playletUserService.insertPlayletUser(playletUser));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧用户
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:user:edit")
|
||||||
|
@GetMapping("/edit/{ID}")
|
||||||
|
public String edit(@PathVariable("ID") Long ID, ModelMap mmap)
|
||||||
|
{
|
||||||
|
PlayletUser playletUser = playletUserService.selectPlayletUserByID(ID);
|
||||||
|
mmap.put("playletUser", playletUser);
|
||||||
|
return prefix + "/edit";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改保存短剧用户
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:user:edit")
|
||||||
|
@Log(title = "短剧用户", businessType = BusinessType.UPDATE)
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult editSave(PlayletUser playletUser)
|
||||||
|
{
|
||||||
|
return toAjax(playletUserService.updatePlayletUser(playletUser));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧用户
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("playlet:user:remove")
|
||||||
|
@Log(title = "短剧用户", businessType = BusinessType.DELETE)
|
||||||
|
@PostMapping( "/remove")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult remove(String ids)
|
||||||
|
{
|
||||||
|
return toAjax(playletUserService.deletePlayletUserByIDs(ids));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
# 项目相关配置
|
# 项目相关配置
|
||||||
ruoyi:
|
ruoyi:
|
||||||
# 名称
|
# 名称
|
||||||
name: RuoYi
|
name: PlayLet
|
||||||
# 版本
|
# 版本
|
||||||
version: 4.7.8
|
version: 4.7.8
|
||||||
# 版权年份
|
# 版权年份
|
||||||
copyrightYear: 2023
|
copyrightYear: 2023
|
||||||
# 实例演示开关
|
# 实例演示开关
|
||||||
demoEnabled: true
|
demoEnabled: false
|
||||||
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
||||||
profile: /home/playlet/uploadPath
|
profile: /home/playlet/uploadPath
|
||||||
# 获取ip地址开关
|
# 获取ip地址开关
|
||||||
|
|
@ -71,7 +71,7 @@ spring:
|
||||||
devtools:
|
devtools:
|
||||||
restart:
|
restart:
|
||||||
# 热部署开关
|
# 热部署开关
|
||||||
enabled: true
|
enabled: false
|
||||||
|
|
||||||
# MyBatis
|
# MyBatis
|
||||||
mybatis:
|
mybatis:
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="renderer" content="webkit">
|
<meta name="renderer" content="webkit">
|
||||||
<title>若依系统首页</title>
|
<title>麻雀系统首页</title>
|
||||||
<!-- 避免IE使用兼容模式 -->
|
<!-- 避免IE使用兼容模式 -->
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<link th:href="@{favicon.ico}" rel="shortcut icon"/>
|
<link th:href="@{favicon.ico}" rel="shortcut icon"/>
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a th:href="@{/index}">
|
<a th:href="@{/index}">
|
||||||
<li class="logo hidden-xs">
|
<li class="logo hidden-xs">
|
||||||
<span class="logo-lg">RuoYi</span>
|
<span class="logo-lg">PlayLet</span>
|
||||||
</li>
|
</li>
|
||||||
</a>
|
</a>
|
||||||
<div class="sidebar-collapse tab-content" id="side-menu">
|
<div class="sidebar-collapse tab-content" id="side-menu">
|
||||||
|
|
@ -88,120 +88,6 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 实例演示菜单 -->
|
|
||||||
<div class="tab-pane fade height-full" id="demo" th:if="${demoEnabled}">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;"><i class="fa fa-edit"></i> <span class="nav-label">表单</span><span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-second-level collapse">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/button}">按钮</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/grid}">栅格</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/select}">下拉框</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/timeline}">时间轴</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/progress_bars}">进度条</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/basic}">基本表单</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/cards}">卡片列表</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/jasny}">功能扩展</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/sortable}">拖动排序</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/invoice}">单据打印</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/labels_tips}">标签 & 提示</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/tabs_panels}">选项卡 & 面板</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/validate}">表单校验</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/wizard}">表单向导</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/upload}">文件上传</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/datetime}">日期和时间</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/summernote}">富文本编辑器</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/duallistbox}">左右互选组件</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/autocomplete}">搜索自动补全</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/cxselect}">多级联动下拉</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/localrefresh}">Ajax局部刷新</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;"><i class="fa fa-table"></i> <span class="nav-label">表格</span><span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-second-level collapse">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/search}">查询条件</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/footer}">数据汇总</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/groupHeader}">组合表头</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/export}">表格导出</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/exportSelected}">导出选择列</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/remember}">翻页记住选择</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/pageGo}">跳转至指定页</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/params}">自定义查询参数</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/multi}">初始多表格</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/button}">点击按钮加载表格</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/data}">直接加载表格数据</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/fixedColumns}">表格冻结列</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/event}">自定义触发事件</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/headerStyle}">表格标题格式化</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/detail}">表格细节视图</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/child}">表格父子视图</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/image}">表格图片预览</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/curd}">动态增删改查</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/reorderRows}">表格行拖拽操作</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/reorderColumns}">表格列拖拽操作</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/resizable}">表格列宽拖动</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/editable}">表格行内编辑</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/subdata}">主子表提交</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/refresh}">表格自动刷新</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/print}">表格打印配置</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/dynamicColumns}">表格动态列</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/customView}">自定义视图分页</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/asynTree}">异步加载表格树</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/other}">表格其他操作</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;"><i class="fa fa-flask"></i> <span class="nav-label">弹框</span><span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-second-level collapse">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/modal/dialog}">模态窗口</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/modal/layer}">弹层组件</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/modal/table}">弹层表格</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;"><i class="fa fa-wpforms"></i> <span class="nav-label">操作</span><span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-second-level collapse">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/operate/table}">表格</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/operate/other}">其他</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">报表</span><span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-second-level collapse">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/report/echarts}">百度ECharts</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/report/peity}">peity</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/report/sparkline}">sparkline</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/report/metrics}">图表组合</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;"><i class="fa fa-book"></i> <span class="nav-label">图标</span><span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-second-level collapse">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/icon/fontawesome}">Font Awesome</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/icon/glyphicons}">Glyphicons</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;"><i class="fa fa-navicon"></i> <span class="nav-label">四层菜单</span><span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-second-level collapse">
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;" id="damian">三级菜单1<span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-third-level collapse">
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;">四级菜单1</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;">四级菜单2</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><a href="javascript:;">三级菜单2</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<!--左侧导航结束-->
|
<!--左侧导航结束-->
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="renderer" content="webkit">
|
<meta name="renderer" content="webkit">
|
||||||
<title>若依系统首页</title>
|
<title>麻雀系统首页</title>
|
||||||
<!-- 避免IE使用兼容模式 -->
|
<!-- 避免IE使用兼容模式 -->
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<link th:href="@{favicon.ico}" rel="shortcut icon"/>
|
<link th:href="@{favicon.ico}" rel="shortcut icon"/>
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a th:href="@{/index}">
|
<a th:href="@{/index}">
|
||||||
<li class="logo hidden-xs">
|
<li class="logo hidden-xs">
|
||||||
<span class="logo-lg">RuoYi</span>
|
<span class="logo-lg">PlayLet</span>
|
||||||
</li>
|
</li>
|
||||||
</a>
|
</a>
|
||||||
<div class="sidebar-collapse">
|
<div class="sidebar-collapse">
|
||||||
|
|
@ -71,113 +71,6 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li th:if="${demoEnabled}">
|
|
||||||
<a href="javascript:;"><i class="fa fa-desktop"></i><span class="nav-label">实例演示</span><span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-second-level collapse">
|
|
||||||
<li> <a>表单<span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-third-level">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/button}">按钮</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/grid}">栅格</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/select}">下拉框</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/timeline}">时间轴</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/progress_bars}">进度条</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/basic}">基本表单</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/cards}">卡片列表</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/jasny}">功能扩展</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/sortable}">拖动排序</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/invoice}">单据打印</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/labels_tips}">标签 & 提示</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/tabs_panels}">选项卡 & 面板</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/validate}">表单校验</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/wizard}">表单向导</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/upload}">文件上传</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/datetime}">日期和时间</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/summernote}">富文本编辑器</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/duallistbox}">左右互选组件</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/autocomplete}">搜索自动补全</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/cxselect}">多级联动下拉</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/form/localrefresh}">Ajax局部刷新</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li> <a>表格<span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-third-level">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/search}">查询条件</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/footer}">数据汇总</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/groupHeader}">组合表头</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/export}">表格导出</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/exportSelected}">导出选择列</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/remember}">翻页记住选择</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/pageGo}">跳转至指定页</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/params}">自定义查询参数</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/multi}">初始多表格</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/button}">点击按钮加载表格</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/data}">直接加载表格数据</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/fixedColumns}">表格冻结列</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/event}">自定义触发事件</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/headerStyle}">表格标题格式化</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/detail}">表格细节视图</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/child}">表格父子视图</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/image}">表格图片预览</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/curd}">动态增删改查</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/reorderRows}">表格行拖拽操作</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/reorderColumns}">表格列拖拽操作</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/resizable}">表格列宽拖动</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/editable}">表格行内编辑</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/subdata}">主子表提交</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/refresh}">表格自动刷新</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/print}">表格打印配置</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/dynamicColumns}">表格动态列</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/customView}">自定义视图分页</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/asynTree}">异步加载表格树</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/table/other}">表格其他操作</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li> <a>弹框<span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-third-level">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/modal/dialog}">模态窗口</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/modal/layer}">弹层组件</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/modal/table}">弹层表格</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li> <a>操作<span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-third-level">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/operate/table}">表格</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/operate/other}">其他</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li> <a>报表<span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-third-level">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/report/echarts}">百度ECharts</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/report/peity}">peity</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/report/sparkline}">sparkline</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/report/metrics}">图表组合</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li> <a>图标<span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-third-level">
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/icon/fontawesome}">Font Awesome</a></li>
|
|
||||||
<li><a class="menuItem" th:href="@{/demo/icon/glyphicons}">Glyphicons</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;"><i class="fa fa-sitemap"></i>四层菜单<span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-third-level collapse">
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;" id="damian">三级菜单1<span class="fa arrow"></span></a>
|
|
||||||
<ul class="nav nav-third-level">
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;">四级菜单1</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="javascript:;">四级菜单2</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><a href="javascript:;">三级菜单2</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||||
<title>登录若依系统</title>
|
<title>登录麻雀短剧系统</title>
|
||||||
<meta name="description" content="若依后台管理框架">
|
<meta name="description" content="登录麻雀短剧系统">
|
||||||
<link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
|
<link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
|
||||||
<link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
|
<link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
|
||||||
<link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
|
<link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
|
||||||
|
|
@ -25,14 +25,14 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-7">
|
<div class="col-sm-7">
|
||||||
<div class="signin-info">
|
<div class="signin-info">
|
||||||
<div class="logopanel m-b">
|
<!-- <div class="logopanel m-b">-->
|
||||||
<h1><img alt="[ 若依 ]" src="../static/ruoyi.png" th:src="@{/ruoyi.png}"></h1>
|
<!-- <h1><img alt="[ 若依 ]" src="../static/ruoyi.png" th:src="@{/ruoyi.png}"></h1>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="m-b"></div>
|
<div class="m-b"></div>
|
||||||
<h4>欢迎使用 <strong>若依 后台管理系统</strong></h4>
|
<h4>欢迎使用 <strong>麻雀短剧 后台管理系统</strong></h4>
|
||||||
<ul class="m-b">
|
<ul class="m-b">
|
||||||
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> SpringBoot</li>
|
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> SpringBoot</li>
|
||||||
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Mybatis</li>
|
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Mybatis-plus</li>
|
||||||
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Shiro</li>
|
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Shiro</li>
|
||||||
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Thymeleaf</li>
|
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Thymeleaf</li>
|
||||||
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Bootstrap</li>
|
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Bootstrap</li>
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="signup-footer">
|
<div class="signup-footer">
|
||||||
<div class="pull-left">
|
<div class="pull-left">
|
||||||
Copyright © 2018-2023 ruoyi.vip All Rights Reserved. <br>
|
Copyright © 2018-2023 QuHe All Rights Reserved. <br>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,55 @@
|
||||||
|
<!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="name" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">广告url:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="url" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">详情页url:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="detailUrl" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">序号,1.2.3.4:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="seq" 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="remark" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "system/playlet/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,118 @@
|
||||||
|
<!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>
|
||||||
|
<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="system:banner:add">
|
||||||
|
<i class="fa fa-plus"></i> 添加
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:banner:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:banner:remove">
|
||||||
|
<i class="fa fa-remove"></i> 删除
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system: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('system:banner:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('system:banner:remove')}]];
|
||||||
|
var prefix = ctx + "system/playlet/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: '主键',
|
||||||
|
visible: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'name',
|
||||||
|
title: '广告名称'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'url',
|
||||||
|
title: '广告封面'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'detailUrl',
|
||||||
|
title: '详情页'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'seq',
|
||||||
|
title: '序号'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createBy',
|
||||||
|
title: '创建人'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createTime',
|
||||||
|
title: '创建时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateBy',
|
||||||
|
title: '更新人'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateTime',
|
||||||
|
title: '更新时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'remark',
|
||||||
|
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,56 @@
|
||||||
|
<!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="${playletBanner}">
|
||||||
|
<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="name" th:field="*{name}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">广告url:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="url" th:field="*{url}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">详情页url:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="detailUrl" th:field="*{detailUrl}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">序号,1.2.3.4:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="seq" th:field="*{seq}" 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="remark" th:field="*{remark}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "system/playlet/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,49 @@
|
||||||
|
<!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-message-add">
|
||||||
|
<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="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">
|
||||||
|
<input name="detail" 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="remark" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "system/playlet/message"
|
||||||
|
$("#form-message-add").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/add", $('#form-message-add').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
<!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-message-edit" th:object="${playletMessage}">
|
||||||
|
<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="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="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">
|
||||||
|
<input name="detail" th:field="*{detail}" 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="remark" th:field="*{remark}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "system/playlet/message";
|
||||||
|
$("#form-message-edit").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/edit", $('#form-message-edit').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,122 @@
|
||||||
|
<!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="title"/>
|
||||||
|
</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="system:message:add">
|
||||||
|
<i class="fa fa-plus"></i> 添加
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:message:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:message:remove">
|
||||||
|
<i class="fa fa-remove"></i> 删除
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:message: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('system:message:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('system:message:remove')}]];
|
||||||
|
var prefix = ctx + "system/playlet/message";
|
||||||
|
|
||||||
|
$(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: '主键',
|
||||||
|
visible: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'name',
|
||||||
|
title: '消息名称'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'title',
|
||||||
|
title: '标题'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'detail',
|
||||||
|
title: '公告详情'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'type',
|
||||||
|
title: '弹出显示'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createBy',
|
||||||
|
title: '创建人'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createTime',
|
||||||
|
title: '创建时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateBy',
|
||||||
|
title: '更新人'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateTime',
|
||||||
|
title: '更新时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'remark',
|
||||||
|
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,158 @@
|
||||||
|
<!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="imgUrl"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>顶部视频地址:</label>
|
||||||
|
<input type="text" name="detailVideoUrl"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>跳转路径:</label>
|
||||||
|
<input type="text" name="relativeUrl"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>创建人:</label>
|
||||||
|
<input type="text" name="createBy"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>创建时间:</label>
|
||||||
|
<input type="text" class="time-input" placeholder="请选择创建时间" name="createTime"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>更新人:</label>
|
||||||
|
<input type="text" name="updateBy"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>更新时间:</label>
|
||||||
|
<input type="text" class="time-input" placeholder="请选择更新时间" name="updateTime"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>备注:</label>
|
||||||
|
<input type="text" name="remark"/>
|
||||||
|
</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="system:project:add">
|
||||||
|
<i class="fa fa-plus"></i> 添加
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:project:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:project:remove">
|
||||||
|
<i class="fa fa-remove"></i> 删除
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:project: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('system:project:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('system:project:remove')}]];
|
||||||
|
var prefix = ctx + "system/project";
|
||||||
|
|
||||||
|
$(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: '主键',
|
||||||
|
visible: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'name',
|
||||||
|
title: '变现项目名称'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'type',
|
||||||
|
title: '变现项目类型 01.短剧'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'imgUrl',
|
||||||
|
title: '封面图片地址'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'detailVideoUrl',
|
||||||
|
title: '顶部视频地址'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'detailContent',
|
||||||
|
title: '富文本详情'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'relativeUrl',
|
||||||
|
title: '跳转路径'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createBy',
|
||||||
|
title: '创建人'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createTime',
|
||||||
|
title: '创建时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateBy',
|
||||||
|
title: '更新人'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateTime',
|
||||||
|
title: '更新时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'remark',
|
||||||
|
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,67 @@
|
||||||
|
<!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-user-add">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">手机号:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="phone" 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="nickName" 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="password" 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="icon" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">代理ID:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="agencyId" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">父级分销ID:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="parentId" 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="remark" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "system/playlet/user"
|
||||||
|
$("#form-user-add").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/add", $('#form-user-add').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,68 @@
|
||||||
|
<!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-user-edit" th:object="${playletUser}">
|
||||||
|
<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="phone" th:field="*{phone}" 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="nickName" th:field="*{nickName}" 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="password" th:field="*{password}" 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="icon" th:field="*{icon}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">代理ID:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="agencyId" th:field="*{agencyId}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-sm-3 control-label">父级分销ID:</label>
|
||||||
|
<div class="col-sm-8">
|
||||||
|
<input name="parentId" th:field="*{parentId}" 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="remark" th:field="*{remark}" class="form-control" type="text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "system/playlet/user";
|
||||||
|
$("#form-user-edit").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/edit", $('#form-user-edit').serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,130 @@
|
||||||
|
<!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="PHONE"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>昵称:</label>
|
||||||
|
<input type="text" name="nickName"/>
|
||||||
|
</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="system:user:add">
|
||||||
|
<i class="fa fa-plus"></i> 添加
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
|
||||||
|
<i class="fa fa-remove"></i> 删除
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user: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('system:user:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('system:user:remove')}]];
|
||||||
|
var prefix = ctx + "system/playlet/user";
|
||||||
|
|
||||||
|
$(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: '主键',
|
||||||
|
visible: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'phone',
|
||||||
|
title: '手机号'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'nickName',
|
||||||
|
title: '昵称'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'password',
|
||||||
|
title: '密码'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'icon',
|
||||||
|
title: '头像'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'agencyId',
|
||||||
|
title: '代理人'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'parentId',
|
||||||
|
title: '父级代理'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createBy',
|
||||||
|
title: '创建人'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'createTime',
|
||||||
|
title: '创建时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateBy',
|
||||||
|
title: '更新人'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'updateTime',
|
||||||
|
title: '更新时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'remark',
|
||||||
|
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>
|
||||||
|
|
@ -10,12 +10,14 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Entity基类
|
* Entity基类
|
||||||
*
|
*
|
||||||
* @author ruoyi
|
* @author ruoyi
|
||||||
*/
|
*/
|
||||||
|
@Data
|
||||||
public class BaseEntity implements Serializable
|
public class BaseEntity implements Serializable
|
||||||
{
|
{
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
@ -46,66 +48,6 @@ public class BaseEntity implements Serializable
|
||||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||||
private Map<String, Object> params;
|
private Map<String, Object> params;
|
||||||
|
|
||||||
public String getSearchValue()
|
|
||||||
{
|
|
||||||
return searchValue;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSearchValue(String searchValue)
|
|
||||||
{
|
|
||||||
this.searchValue = searchValue;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCreateBy()
|
|
||||||
{
|
|
||||||
return createBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCreateBy(String createBy)
|
|
||||||
{
|
|
||||||
this.createBy = createBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getCreateTime()
|
|
||||||
{
|
|
||||||
return createTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCreateTime(Date createTime)
|
|
||||||
{
|
|
||||||
this.createTime = createTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getUpdateBy()
|
|
||||||
{
|
|
||||||
return updateBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUpdateBy(String updateBy)
|
|
||||||
{
|
|
||||||
this.updateBy = updateBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getUpdateTime()
|
|
||||||
{
|
|
||||||
return updateTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUpdateTime(Date updateTime)
|
|
||||||
{
|
|
||||||
this.updateTime = updateTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getRemark()
|
|
||||||
{
|
|
||||||
return remark;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRemark(String remark)
|
|
||||||
{
|
|
||||||
this.remark = remark;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Map<String, Object> getParams()
|
public Map<String, Object> getParams()
|
||||||
{
|
{
|
||||||
if (params == null)
|
if (params == null)
|
||||||
|
|
@ -115,8 +57,4 @@ public class BaseEntity implements Serializable
|
||||||
return params;
|
return params;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setParams(Map<String, Object> params)
|
|
||||||
{
|
|
||||||
this.params = params;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ package ${packageName}.controller;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.ui.ModelMap;
|
import org.springframework.ui.ModelMap;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package ${packageName}.domain;
|
||||||
#foreach ($import in $importList)
|
#foreach ($import in $importList)
|
||||||
import ${import};
|
import ${import};
|
||||||
#end
|
#end
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.playlet.common.core.domain.BaseEntity;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,41 @@
|
||||||
|
package com.playlet.system.domain;
|
||||||
|
|
||||||
|
import com.playlet.common.core.domain.BaseEntity;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import com.playlet.common.annotation.Excel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧广告管理对象 playlet_banner
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@TableName(value = "playlet_banner")
|
||||||
|
public class PlayletBanner extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 主键 */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 广告名称 */
|
||||||
|
@Excel(name = "广告名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/** 广告url */
|
||||||
|
@Excel(name = "广告url")
|
||||||
|
private String url;
|
||||||
|
|
||||||
|
/** 详情页url */
|
||||||
|
@Excel(name = "详情页url")
|
||||||
|
private String detailUrl;
|
||||||
|
|
||||||
|
/** 序号,1.2.3.4 */
|
||||||
|
@Excel(name = "序号,1.2.3.4")
|
||||||
|
private Long seq;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,41 @@
|
||||||
|
package com.playlet.system.domain;
|
||||||
|
|
||||||
|
import com.playlet.common.core.domain.BaseEntity;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import com.playlet.common.annotation.Excel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧公告对象 playlet_message
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@TableName(value = "playlet_message")
|
||||||
|
public class PlayletMessage extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 主键 */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 消息名称 */
|
||||||
|
@Excel(name = "消息名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/** 标题 */
|
||||||
|
@Excel(name = "标题")
|
||||||
|
private String title;
|
||||||
|
|
||||||
|
/** 公告详情 */
|
||||||
|
@Excel(name = "公告详情")
|
||||||
|
private String detail;
|
||||||
|
|
||||||
|
/** 是否弹出显示 01.否 02.是 */
|
||||||
|
@Excel(name = "是否弹出显示 01.否 02.是")
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,49 @@
|
||||||
|
package com.playlet.system.domain;
|
||||||
|
|
||||||
|
import com.playlet.common.core.domain.BaseEntity;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import com.playlet.common.annotation.Excel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 变现项目对象 playlet_realization_project
|
||||||
|
*
|
||||||
|
* @author clunt
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@TableName(value = "playlet_realization_project")
|
||||||
|
public class PlayletRealizationProject extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 主键 */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 变现项目名称 */
|
||||||
|
@Excel(name = "变现项目名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/** 变现项目类型 01.短剧 */
|
||||||
|
@Excel(name = "变现项目类型 01.短剧")
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
/** 封面图片地址 */
|
||||||
|
@Excel(name = "封面图片地址")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
/** 顶部视频地址 */
|
||||||
|
@Excel(name = "顶部视频地址")
|
||||||
|
private String detailVideoUrl;
|
||||||
|
|
||||||
|
/** 富文本详情 */
|
||||||
|
@Excel(name = "富文本详情")
|
||||||
|
private String detailContent;
|
||||||
|
|
||||||
|
/** 跳转路径 */
|
||||||
|
@Excel(name = "跳转路径")
|
||||||
|
private String relativeUrl;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
package com.playlet.system.domain;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.playlet.common.core.domain.BaseEntity;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import com.playlet.common.annotation.Excel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧用户对象 playlet_user
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@TableName(value = "playlet_user")
|
||||||
|
public class PlayletUser extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 主键 */
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/** 手机号 */
|
||||||
|
@Excel(name = "手机号")
|
||||||
|
private String phone;
|
||||||
|
|
||||||
|
/** 昵称 */
|
||||||
|
@Excel(name = "昵称")
|
||||||
|
private String nickName;
|
||||||
|
|
||||||
|
/** 密码 */
|
||||||
|
@Excel(name = "密码")
|
||||||
|
private String password;
|
||||||
|
|
||||||
|
/** 头像 */
|
||||||
|
@Excel(name = "头像")
|
||||||
|
private String icon;
|
||||||
|
|
||||||
|
/** 代理ID */
|
||||||
|
@Excel(name = "代理ID")
|
||||||
|
private String agencyId;
|
||||||
|
|
||||||
|
/** 父级分销ID */
|
||||||
|
@Excel(name = "父级分销ID")
|
||||||
|
private String parentId;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.playlet.system.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.system.domain.PlayletBanner;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧广告管理Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
public interface PlayletBannerMapper extends BaseMapper<PlayletBanner>
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询短剧广告管理
|
||||||
|
*
|
||||||
|
* @param id 短剧广告管理主键
|
||||||
|
* @return 短剧广告管理
|
||||||
|
*/
|
||||||
|
public PlayletBanner selectPlayletBannerById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧广告管理列表
|
||||||
|
*
|
||||||
|
* @param playletBanner 短剧广告管理
|
||||||
|
* @return 短剧广告管理集合
|
||||||
|
*/
|
||||||
|
public List<PlayletBanner> selectPlayletBannerList(PlayletBanner playletBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧广告管理
|
||||||
|
*
|
||||||
|
* @param playletBanner 短剧广告管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertPlayletBanner(PlayletBanner playletBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧广告管理
|
||||||
|
*
|
||||||
|
* @param playletBanner 短剧广告管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updatePlayletBanner(PlayletBanner playletBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧广告管理
|
||||||
|
*
|
||||||
|
* @param id 短剧广告管理主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletBannerById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除短剧广告管理
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletBannerByIds(String[] ids);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.playlet.system.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.system.domain.PlayletMessage;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧公告Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
public interface PlayletMessageMapper extends BaseMapper<PlayletMessage>
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询短剧公告
|
||||||
|
*
|
||||||
|
* @param id 短剧公告主键
|
||||||
|
* @return 短剧公告
|
||||||
|
*/
|
||||||
|
public PlayletMessage selectPlayletMessageById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧公告列表
|
||||||
|
*
|
||||||
|
* @param playletMessage 短剧公告
|
||||||
|
* @return 短剧公告集合
|
||||||
|
*/
|
||||||
|
public List<PlayletMessage> selectPlayletMessageList(PlayletMessage playletMessage);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧公告
|
||||||
|
*
|
||||||
|
* @param playletMessage 短剧公告
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertPlayletMessage(PlayletMessage playletMessage);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧公告
|
||||||
|
*
|
||||||
|
* @param playletMessage 短剧公告
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updatePlayletMessage(PlayletMessage playletMessage);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧公告
|
||||||
|
*
|
||||||
|
* @param id 短剧公告主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletMessageById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除短剧公告
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletMessageByIds(String[] ids);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.playlet.system.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.system.domain.PlayletRealizationProject;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 变现项目Mapper接口
|
||||||
|
*
|
||||||
|
* @author clunt
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
public interface PlayletRealizationProjectMapper extends BaseMapper<PlayletRealizationProject>
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询变现项目
|
||||||
|
*
|
||||||
|
* @param id 变现项目主键
|
||||||
|
* @return 变现项目
|
||||||
|
*/
|
||||||
|
public PlayletRealizationProject selectPlayletRealizationProjectById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询变现项目列表
|
||||||
|
*
|
||||||
|
* @param playletRealizationProject 变现项目
|
||||||
|
* @return 变现项目集合
|
||||||
|
*/
|
||||||
|
public List<PlayletRealizationProject> selectPlayletRealizationProjectList(PlayletRealizationProject playletRealizationProject);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增变现项目
|
||||||
|
*
|
||||||
|
* @param playletRealizationProject 变现项目
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertPlayletRealizationProject(PlayletRealizationProject playletRealizationProject);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改变现项目
|
||||||
|
*
|
||||||
|
* @param playletRealizationProject 变现项目
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updatePlayletRealizationProject(PlayletRealizationProject playletRealizationProject);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除变现项目
|
||||||
|
*
|
||||||
|
* @param id 变现项目主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletRealizationProjectById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除变现项目
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletRealizationProjectByIds(String[] ids);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.playlet.system.mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.system.domain.PlayletUser;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧用户Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
public interface PlayletUserMapper extends BaseMapper<PlayletUser>
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询短剧用户
|
||||||
|
*
|
||||||
|
* @param ID 短剧用户主键
|
||||||
|
* @return 短剧用户
|
||||||
|
*/
|
||||||
|
public PlayletUser selectPlayletUserByID(Long ID);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧用户列表
|
||||||
|
*
|
||||||
|
* @param playletUser 短剧用户
|
||||||
|
* @return 短剧用户集合
|
||||||
|
*/
|
||||||
|
public List<PlayletUser> selectPlayletUserList(PlayletUser playletUser);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧用户
|
||||||
|
*
|
||||||
|
* @param playletUser 短剧用户
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertPlayletUser(PlayletUser playletUser);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧用户
|
||||||
|
*
|
||||||
|
* @param playletUser 短剧用户
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updatePlayletUser(PlayletUser playletUser);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧用户
|
||||||
|
*
|
||||||
|
* @param ID 短剧用户主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletUserByID(Long ID);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除短剧用户
|
||||||
|
*
|
||||||
|
* @param IDs 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletUserByIDs(String[] IDs);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.playlet.system.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.system.domain.PlayletBanner;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧广告管理Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
public interface IPlayletBannerService extends IService<PlayletBanner>
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询短剧广告管理
|
||||||
|
*
|
||||||
|
* @param id 短剧广告管理主键
|
||||||
|
* @return 短剧广告管理
|
||||||
|
*/
|
||||||
|
public PlayletBanner selectPlayletBannerById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧广告管理列表
|
||||||
|
*
|
||||||
|
* @param playletBanner 短剧广告管理
|
||||||
|
* @return 短剧广告管理集合
|
||||||
|
*/
|
||||||
|
public List<PlayletBanner> selectPlayletBannerList(PlayletBanner playletBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧广告管理
|
||||||
|
*
|
||||||
|
* @param playletBanner 短剧广告管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertPlayletBanner(PlayletBanner playletBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧广告管理
|
||||||
|
*
|
||||||
|
* @param playletBanner 短剧广告管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updatePlayletBanner(PlayletBanner playletBanner);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除短剧广告管理
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的短剧广告管理主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletBannerByIds(String ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧广告管理信息
|
||||||
|
*
|
||||||
|
* @param id 短剧广告管理主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletBannerById(Long id);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.playlet.system.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.system.domain.PlayletMessage;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧公告Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
public interface IPlayletMessageService extends IService<PlayletMessage>
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询短剧公告
|
||||||
|
*
|
||||||
|
* @param id 短剧公告主键
|
||||||
|
* @return 短剧公告
|
||||||
|
*/
|
||||||
|
public PlayletMessage selectPlayletMessageById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧公告列表
|
||||||
|
*
|
||||||
|
* @param playletMessage 短剧公告
|
||||||
|
* @return 短剧公告集合
|
||||||
|
*/
|
||||||
|
public List<PlayletMessage> selectPlayletMessageList(PlayletMessage playletMessage);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧公告
|
||||||
|
*
|
||||||
|
* @param playletMessage 短剧公告
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertPlayletMessage(PlayletMessage playletMessage);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧公告
|
||||||
|
*
|
||||||
|
* @param playletMessage 短剧公告
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updatePlayletMessage(PlayletMessage playletMessage);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除短剧公告
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的短剧公告主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletMessageByIds(String ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧公告信息
|
||||||
|
*
|
||||||
|
* @param id 短剧公告主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletMessageById(Long id);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.playlet.system.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.system.domain.PlayletRealizationProject;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 变现项目Service接口
|
||||||
|
*
|
||||||
|
* @author clunt
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
public interface IPlayletRealizationProjectService extends IService<PlayletRealizationProject>
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询变现项目
|
||||||
|
*
|
||||||
|
* @param id 变现项目主键
|
||||||
|
* @return 变现项目
|
||||||
|
*/
|
||||||
|
public PlayletRealizationProject selectPlayletRealizationProjectById(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询变现项目列表
|
||||||
|
*
|
||||||
|
* @param playletRealizationProject 变现项目
|
||||||
|
* @return 变现项目集合
|
||||||
|
*/
|
||||||
|
public List<PlayletRealizationProject> selectPlayletRealizationProjectList(PlayletRealizationProject playletRealizationProject);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增变现项目
|
||||||
|
*
|
||||||
|
* @param playletRealizationProject 变现项目
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertPlayletRealizationProject(PlayletRealizationProject playletRealizationProject);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改变现项目
|
||||||
|
*
|
||||||
|
* @param playletRealizationProject 变现项目
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updatePlayletRealizationProject(PlayletRealizationProject playletRealizationProject);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除变现项目
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的变现项目主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletRealizationProjectByIds(String ids);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除变现项目信息
|
||||||
|
*
|
||||||
|
* @param id 变现项目主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletRealizationProjectById(Long id);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
package com.playlet.system.service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.system.domain.PlayletUser;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧用户Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
public interface IPlayletUserService extends IService<PlayletUser>
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* 查询短剧用户
|
||||||
|
*
|
||||||
|
* @param ID 短剧用户主键
|
||||||
|
* @return 短剧用户
|
||||||
|
*/
|
||||||
|
public PlayletUser selectPlayletUserByID(Long ID);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧用户列表
|
||||||
|
*
|
||||||
|
* @param playletUser 短剧用户
|
||||||
|
* @return 短剧用户集合
|
||||||
|
*/
|
||||||
|
public List<PlayletUser> selectPlayletUserList(PlayletUser playletUser);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧用户
|
||||||
|
*
|
||||||
|
* @param playletUser 短剧用户
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertPlayletUser(PlayletUser playletUser);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧用户
|
||||||
|
*
|
||||||
|
* @param playletUser 短剧用户
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updatePlayletUser(PlayletUser playletUser);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除短剧用户
|
||||||
|
*
|
||||||
|
* @param IDs 需要删除的短剧用户主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletUserByIDs(String IDs);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧用户信息
|
||||||
|
*
|
||||||
|
* @param ID 短剧用户主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deletePlayletUserByID(Long ID);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,98 @@
|
||||||
|
package com.playlet.system.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.playlet.system.mapper.PlayletBannerMapper;
|
||||||
|
import com.playlet.system.domain.PlayletBanner;
|
||||||
|
import com.playlet.system.service.IPlayletBannerService;
|
||||||
|
import com.playlet.common.core.text.Convert;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧广告管理Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class PlayletBannerServiceImpl extends ServiceImpl<PlayletBannerMapper, PlayletBanner> implements IPlayletBannerService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private PlayletBannerMapper playletBannerMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧广告管理
|
||||||
|
*
|
||||||
|
* @param id 短剧广告管理主键
|
||||||
|
* @return 短剧广告管理
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PlayletBanner selectPlayletBannerById(Long id)
|
||||||
|
{
|
||||||
|
return playletBannerMapper.selectPlayletBannerById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧广告管理列表
|
||||||
|
*
|
||||||
|
* @param playletBanner 短剧广告管理
|
||||||
|
* @return 短剧广告管理
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<PlayletBanner> selectPlayletBannerList(PlayletBanner playletBanner)
|
||||||
|
{
|
||||||
|
return playletBannerMapper.selectPlayletBannerList(playletBanner);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧广告管理
|
||||||
|
*
|
||||||
|
* @param playletBanner 短剧广告管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertPlayletBanner(PlayletBanner playletBanner)
|
||||||
|
{
|
||||||
|
playletBanner.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return playletBannerMapper.insertPlayletBanner(playletBanner);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧广告管理
|
||||||
|
*
|
||||||
|
* @param playletBanner 短剧广告管理
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updatePlayletBanner(PlayletBanner playletBanner)
|
||||||
|
{
|
||||||
|
playletBanner.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return playletBannerMapper.updatePlayletBanner(playletBanner);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除短剧广告管理
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的短剧广告管理主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deletePlayletBannerByIds(String ids)
|
||||||
|
{
|
||||||
|
return playletBannerMapper.deletePlayletBannerByIds(Convert.toStrArray(ids));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧广告管理信息
|
||||||
|
*
|
||||||
|
* @param id 短剧广告管理主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deletePlayletBannerById(Long id)
|
||||||
|
{
|
||||||
|
return playletBannerMapper.deletePlayletBannerById(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,98 @@
|
||||||
|
package com.playlet.system.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.playlet.system.mapper.PlayletMessageMapper;
|
||||||
|
import com.playlet.system.domain.PlayletMessage;
|
||||||
|
import com.playlet.system.service.IPlayletMessageService;
|
||||||
|
import com.playlet.common.core.text.Convert;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧公告Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class PlayletMessageServiceImpl extends ServiceImpl<PlayletMessageMapper, PlayletMessage> implements IPlayletMessageService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private PlayletMessageMapper playletMessageMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧公告
|
||||||
|
*
|
||||||
|
* @param id 短剧公告主键
|
||||||
|
* @return 短剧公告
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PlayletMessage selectPlayletMessageById(Long id)
|
||||||
|
{
|
||||||
|
return playletMessageMapper.selectPlayletMessageById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧公告列表
|
||||||
|
*
|
||||||
|
* @param playletMessage 短剧公告
|
||||||
|
* @return 短剧公告
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<PlayletMessage> selectPlayletMessageList(PlayletMessage playletMessage)
|
||||||
|
{
|
||||||
|
return playletMessageMapper.selectPlayletMessageList(playletMessage);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧公告
|
||||||
|
*
|
||||||
|
* @param playletMessage 短剧公告
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertPlayletMessage(PlayletMessage playletMessage)
|
||||||
|
{
|
||||||
|
playletMessage.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return playletMessageMapper.insertPlayletMessage(playletMessage);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧公告
|
||||||
|
*
|
||||||
|
* @param playletMessage 短剧公告
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updatePlayletMessage(PlayletMessage playletMessage)
|
||||||
|
{
|
||||||
|
playletMessage.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return playletMessageMapper.updatePlayletMessage(playletMessage);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除短剧公告
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的短剧公告主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deletePlayletMessageByIds(String ids)
|
||||||
|
{
|
||||||
|
return playletMessageMapper.deletePlayletMessageByIds(Convert.toStrArray(ids));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧公告信息
|
||||||
|
*
|
||||||
|
* @param id 短剧公告主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deletePlayletMessageById(Long id)
|
||||||
|
{
|
||||||
|
return playletMessageMapper.deletePlayletMessageById(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,98 @@
|
||||||
|
package com.playlet.system.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.playlet.system.mapper.PlayletRealizationProjectMapper;
|
||||||
|
import com.playlet.system.domain.PlayletRealizationProject;
|
||||||
|
import com.playlet.system.service.IPlayletRealizationProjectService;
|
||||||
|
import com.playlet.common.core.text.Convert;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 变现项目Service业务层处理
|
||||||
|
*
|
||||||
|
* @author clunt
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class PlayletRealizationProjectServiceImpl extends ServiceImpl<PlayletRealizationProjectMapper, PlayletRealizationProject> implements IPlayletRealizationProjectService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private PlayletRealizationProjectMapper playletRealizationProjectMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询变现项目
|
||||||
|
*
|
||||||
|
* @param id 变现项目主键
|
||||||
|
* @return 变现项目
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PlayletRealizationProject selectPlayletRealizationProjectById(Long id)
|
||||||
|
{
|
||||||
|
return playletRealizationProjectMapper.selectPlayletRealizationProjectById(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询变现项目列表
|
||||||
|
*
|
||||||
|
* @param playletRealizationProject 变现项目
|
||||||
|
* @return 变现项目
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<PlayletRealizationProject> selectPlayletRealizationProjectList(PlayletRealizationProject playletRealizationProject)
|
||||||
|
{
|
||||||
|
return playletRealizationProjectMapper.selectPlayletRealizationProjectList(playletRealizationProject);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增变现项目
|
||||||
|
*
|
||||||
|
* @param playletRealizationProject 变现项目
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertPlayletRealizationProject(PlayletRealizationProject playletRealizationProject)
|
||||||
|
{
|
||||||
|
playletRealizationProject.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return playletRealizationProjectMapper.insertPlayletRealizationProject(playletRealizationProject);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改变现项目
|
||||||
|
*
|
||||||
|
* @param playletRealizationProject 变现项目
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updatePlayletRealizationProject(PlayletRealizationProject playletRealizationProject)
|
||||||
|
{
|
||||||
|
playletRealizationProject.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return playletRealizationProjectMapper.updatePlayletRealizationProject(playletRealizationProject);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除变现项目
|
||||||
|
*
|
||||||
|
* @param ids 需要删除的变现项目主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deletePlayletRealizationProjectByIds(String ids)
|
||||||
|
{
|
||||||
|
return playletRealizationProjectMapper.deletePlayletRealizationProjectByIds(Convert.toStrArray(ids));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除变现项目信息
|
||||||
|
*
|
||||||
|
* @param id 变现项目主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deletePlayletRealizationProjectById(Long id)
|
||||||
|
{
|
||||||
|
return playletRealizationProjectMapper.deletePlayletRealizationProjectById(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,98 @@
|
||||||
|
package com.playlet.system.service.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import com.playlet.common.utils.DateUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.playlet.system.mapper.PlayletUserMapper;
|
||||||
|
import com.playlet.system.domain.PlayletUser;
|
||||||
|
import com.playlet.system.service.IPlayletUserService;
|
||||||
|
import com.playlet.common.core.text.Convert;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 短剧用户Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-03-10
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class PlayletUserServiceImpl extends ServiceImpl<PlayletUserMapper, PlayletUser> implements IPlayletUserService
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private PlayletUserMapper playletUserMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧用户
|
||||||
|
*
|
||||||
|
* @param ID 短剧用户主键
|
||||||
|
* @return 短剧用户
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PlayletUser selectPlayletUserByID(Long ID)
|
||||||
|
{
|
||||||
|
return playletUserMapper.selectPlayletUserByID(ID);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询短剧用户列表
|
||||||
|
*
|
||||||
|
* @param playletUser 短剧用户
|
||||||
|
* @return 短剧用户
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<PlayletUser> selectPlayletUserList(PlayletUser playletUser)
|
||||||
|
{
|
||||||
|
return playletUserMapper.selectPlayletUserList(playletUser);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增短剧用户
|
||||||
|
*
|
||||||
|
* @param playletUser 短剧用户
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertPlayletUser(PlayletUser playletUser)
|
||||||
|
{
|
||||||
|
playletUser.setCreateTime(DateUtils.getNowDate());
|
||||||
|
return playletUserMapper.insertPlayletUser(playletUser);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改短剧用户
|
||||||
|
*
|
||||||
|
* @param playletUser 短剧用户
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updatePlayletUser(PlayletUser playletUser)
|
||||||
|
{
|
||||||
|
playletUser.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
return playletUserMapper.updatePlayletUser(playletUser);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除短剧用户
|
||||||
|
*
|
||||||
|
* @param IDs 需要删除的短剧用户主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deletePlayletUserByIDs(String IDs)
|
||||||
|
{
|
||||||
|
return playletUserMapper.deletePlayletUserByIDs(Convert.toStrArray(IDs));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除短剧用户信息
|
||||||
|
*
|
||||||
|
* @param ID 短剧用户主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deletePlayletUserByID(Long ID)
|
||||||
|
{
|
||||||
|
return playletUserMapper.deletePlayletUserByID(ID);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,97 @@
|
||||||
|
<?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.playlet.system.mapper.PlayletBannerMapper">
|
||||||
|
|
||||||
|
<resultMap type="PlayletBanner" id="PlayletBannerResult">
|
||||||
|
<result property="id" column="ID" />
|
||||||
|
<result property="name" column="NAME" />
|
||||||
|
<result property="url" column="URL" />
|
||||||
|
<result property="detailUrl" column="DETAIL_URL" />
|
||||||
|
<result property="seq" column="SEQ" />
|
||||||
|
<result property="createBy" column="CREATE_BY" />
|
||||||
|
<result property="createTime" column="CREATE_TIME" />
|
||||||
|
<result property="updateBy" column="UPDATE_BY" />
|
||||||
|
<result property="updateTime" column="UPDATE_TIME" />
|
||||||
|
<result property="remark" column="REMARK" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectPlayletBannerVo">
|
||||||
|
select ID, NAME, URL, DETAIL_URL, SEQ, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK from playlet_banner
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectPlayletBannerList" parameterType="PlayletBanner" resultMap="PlayletBannerResult">
|
||||||
|
<include refid="selectPlayletBannerVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="name != null and name != ''"> and NAME like concat('%', #{name}, '%')</if>
|
||||||
|
<if test="url != null and url != ''"> and URL = #{url}</if>
|
||||||
|
<if test="detailUrl != null and detailUrl != ''"> and DETAIL_URL = #{detailUrl}</if>
|
||||||
|
<if test="seq != null "> and SEQ = #{seq}</if>
|
||||||
|
<if test="createBy != null and createBy != ''"> and CREATE_BY = #{createBy}</if>
|
||||||
|
<if test="createTime != null "> and CREATE_TIME = #{createTime}</if>
|
||||||
|
<if test="updateBy != null and updateBy != ''"> and UPDATE_BY = #{updateBy}</if>
|
||||||
|
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
|
||||||
|
<if test="remark != null and remark != ''"> and REMARK = #{remark}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectPlayletBannerById" parameterType="Long" resultMap="PlayletBannerResult">
|
||||||
|
<include refid="selectPlayletBannerVo"/>
|
||||||
|
where ID = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertPlayletBanner" parameterType="PlayletBanner" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into playlet_banner
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="name != null">NAME,</if>
|
||||||
|
<if test="url != null">URL,</if>
|
||||||
|
<if test="detailUrl != null">DETAIL_URL,</if>
|
||||||
|
<if test="seq != null">SEQ,</if>
|
||||||
|
<if test="createBy != null">CREATE_BY,</if>
|
||||||
|
<if test="createTime != null">CREATE_TIME,</if>
|
||||||
|
<if test="updateBy != null">UPDATE_BY,</if>
|
||||||
|
<if test="updateTime != null">UPDATE_TIME,</if>
|
||||||
|
<if test="remark != null">REMARK,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="name != null">#{name},</if>
|
||||||
|
<if test="url != null">#{url},</if>
|
||||||
|
<if test="detailUrl != null">#{detailUrl},</if>
|
||||||
|
<if test="seq != null">#{seq},</if>
|
||||||
|
<if test="createBy != null">#{createBy},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateBy != null">#{updateBy},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updatePlayletBanner" parameterType="PlayletBanner">
|
||||||
|
update playlet_banner
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="name != null">NAME = #{name},</if>
|
||||||
|
<if test="url != null">URL = #{url},</if>
|
||||||
|
<if test="detailUrl != null">DETAIL_URL = #{detailUrl},</if>
|
||||||
|
<if test="seq != null">SEQ = #{seq},</if>
|
||||||
|
<if test="createBy != null">CREATE_BY = #{createBy},</if>
|
||||||
|
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
|
||||||
|
<if test="updateBy != null">UPDATE_BY = #{updateBy},</if>
|
||||||
|
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
|
||||||
|
<if test="remark != null">REMARK = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where ID = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deletePlayletBannerById" parameterType="Long">
|
||||||
|
delete from playlet_banner where ID = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deletePlayletBannerByIds" parameterType="String">
|
||||||
|
delete from playlet_banner where ID in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,97 @@
|
||||||
|
<?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.playlet.system.mapper.PlayletMessageMapper">
|
||||||
|
|
||||||
|
<resultMap type="PlayletMessage" id="PlayletMessageResult">
|
||||||
|
<result property="id" column="ID" />
|
||||||
|
<result property="name" column="NAME" />
|
||||||
|
<result property="title" column="TITLE" />
|
||||||
|
<result property="detail" column="DETAIL" />
|
||||||
|
<result property="type" column="TYPE" />
|
||||||
|
<result property="createBy" column="CREATE_BY" />
|
||||||
|
<result property="createTime" column="CREATE_TIME" />
|
||||||
|
<result property="updateBy" column="UPDATE_BY" />
|
||||||
|
<result property="updateTime" column="UPDATE_TIME" />
|
||||||
|
<result property="remark" column="REMARK" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectPlayletMessageVo">
|
||||||
|
select ID, NAME, TITLE, DETAIL, TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK from playlet_message
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectPlayletMessageList" parameterType="PlayletMessage" resultMap="PlayletMessageResult">
|
||||||
|
<include refid="selectPlayletMessageVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="name != null and name != ''"> and NAME like concat('%', #{name}, '%')</if>
|
||||||
|
<if test="title != null and title != ''"> and TITLE = #{title}</if>
|
||||||
|
<if test="detail != null and detail != ''"> and DETAIL = #{detail}</if>
|
||||||
|
<if test="type != null and type != ''"> and TYPE = #{type}</if>
|
||||||
|
<if test="createBy != null and createBy != ''"> and CREATE_BY = #{createBy}</if>
|
||||||
|
<if test="createTime != null "> and CREATE_TIME = #{createTime}</if>
|
||||||
|
<if test="updateBy != null and updateBy != ''"> and UPDATE_BY = #{updateBy}</if>
|
||||||
|
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
|
||||||
|
<if test="remark != null and remark != ''"> and REMARK = #{remark}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectPlayletMessageById" parameterType="Long" resultMap="PlayletMessageResult">
|
||||||
|
<include refid="selectPlayletMessageVo"/>
|
||||||
|
where ID = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertPlayletMessage" parameterType="PlayletMessage" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into playlet_message
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="name != null">NAME,</if>
|
||||||
|
<if test="title != null">TITLE,</if>
|
||||||
|
<if test="detail != null">DETAIL,</if>
|
||||||
|
<if test="type != null">TYPE,</if>
|
||||||
|
<if test="createBy != null">CREATE_BY,</if>
|
||||||
|
<if test="createTime != null">CREATE_TIME,</if>
|
||||||
|
<if test="updateBy != null">UPDATE_BY,</if>
|
||||||
|
<if test="updateTime != null">UPDATE_TIME,</if>
|
||||||
|
<if test="remark != null">REMARK,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="name != null">#{name},</if>
|
||||||
|
<if test="title != null">#{title},</if>
|
||||||
|
<if test="detail != null">#{detail},</if>
|
||||||
|
<if test="type != null">#{type},</if>
|
||||||
|
<if test="createBy != null">#{createBy},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateBy != null">#{updateBy},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updatePlayletMessage" parameterType="PlayletMessage">
|
||||||
|
update playlet_message
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="name != null">NAME = #{name},</if>
|
||||||
|
<if test="title != null">TITLE = #{title},</if>
|
||||||
|
<if test="detail != null">DETAIL = #{detail},</if>
|
||||||
|
<if test="type != null">TYPE = #{type},</if>
|
||||||
|
<if test="createBy != null">CREATE_BY = #{createBy},</if>
|
||||||
|
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
|
||||||
|
<if test="updateBy != null">UPDATE_BY = #{updateBy},</if>
|
||||||
|
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
|
||||||
|
<if test="remark != null">REMARK = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where ID = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deletePlayletMessageById" parameterType="Long">
|
||||||
|
delete from playlet_message where ID = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deletePlayletMessageByIds" parameterType="String">
|
||||||
|
delete from playlet_message where ID in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,107 @@
|
||||||
|
<?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.playlet.system.mapper.PlayletRealizationProjectMapper">
|
||||||
|
|
||||||
|
<resultMap type="PlayletRealizationProject" id="PlayletRealizationProjectResult">
|
||||||
|
<result property="id" column="ID" />
|
||||||
|
<result property="name" column="NAME" />
|
||||||
|
<result property="type" column="TYPE" />
|
||||||
|
<result property="imgUrl" column="IMG_URL" />
|
||||||
|
<result property="detailVideoUrl" column="DETAIL_VIDEO_URL" />
|
||||||
|
<result property="detailContent" column="DETAIL_CONTENT" />
|
||||||
|
<result property="relativeUrl" column="RELATIVE_URL" />
|
||||||
|
<result property="createBy" column="CREATE_BY" />
|
||||||
|
<result property="createTime" column="CREATE_TIME" />
|
||||||
|
<result property="updateBy" column="UPDATE_BY" />
|
||||||
|
<result property="updateTime" column="UPDATE_TIME" />
|
||||||
|
<result property="remark" column="REMARK" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectPlayletRealizationProjectVo">
|
||||||
|
select ID, NAME, TYPE, IMG_URL, DETAIL_VIDEO_URL, DETAIL_CONTENT, RELATIVE_URL, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK from playlet_realization_project
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectPlayletRealizationProjectList" parameterType="PlayletRealizationProject" resultMap="PlayletRealizationProjectResult">
|
||||||
|
<include refid="selectPlayletRealizationProjectVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="name != null and name != ''"> and NAME like concat('%', #{name}, '%')</if>
|
||||||
|
<if test="type != null and type != ''"> and TYPE = #{type}</if>
|
||||||
|
<if test="imgUrl != null and imgUrl != ''"> and IMG_URL = #{imgUrl}</if>
|
||||||
|
<if test="detailVideoUrl != null and detailVideoUrl != ''"> and DETAIL_VIDEO_URL = #{detailVideoUrl}</if>
|
||||||
|
<if test="detailContent != null and detailContent != ''"> and DETAIL_CONTENT = #{detailContent}</if>
|
||||||
|
<if test="relativeUrl != null and relativeUrl != ''"> and RELATIVE_URL = #{relativeUrl}</if>
|
||||||
|
<if test="createBy != null and createBy != ''"> and CREATE_BY = #{createBy}</if>
|
||||||
|
<if test="createTime != null "> and CREATE_TIME = #{createTime}</if>
|
||||||
|
<if test="updateBy != null and updateBy != ''"> and UPDATE_BY = #{updateBy}</if>
|
||||||
|
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
|
||||||
|
<if test="remark != null and remark != ''"> and REMARK = #{remark}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectPlayletRealizationProjectById" parameterType="Long" resultMap="PlayletRealizationProjectResult">
|
||||||
|
<include refid="selectPlayletRealizationProjectVo"/>
|
||||||
|
where ID = #{id}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertPlayletRealizationProject" parameterType="PlayletRealizationProject" useGeneratedKeys="true" keyProperty="id">
|
||||||
|
insert into playlet_realization_project
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="name != null">NAME,</if>
|
||||||
|
<if test="type != null">TYPE,</if>
|
||||||
|
<if test="imgUrl != null">IMG_URL,</if>
|
||||||
|
<if test="detailVideoUrl != null">DETAIL_VIDEO_URL,</if>
|
||||||
|
<if test="detailContent != null">DETAIL_CONTENT,</if>
|
||||||
|
<if test="relativeUrl != null">RELATIVE_URL,</if>
|
||||||
|
<if test="createBy != null">CREATE_BY,</if>
|
||||||
|
<if test="createTime != null">CREATE_TIME,</if>
|
||||||
|
<if test="updateBy != null">UPDATE_BY,</if>
|
||||||
|
<if test="updateTime != null">UPDATE_TIME,</if>
|
||||||
|
<if test="remark != null">REMARK,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="name != null">#{name},</if>
|
||||||
|
<if test="type != null">#{type},</if>
|
||||||
|
<if test="imgUrl != null">#{imgUrl},</if>
|
||||||
|
<if test="detailVideoUrl != null">#{detailVideoUrl},</if>
|
||||||
|
<if test="detailContent != null">#{detailContent},</if>
|
||||||
|
<if test="relativeUrl != null">#{relativeUrl},</if>
|
||||||
|
<if test="createBy != null">#{createBy},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateBy != null">#{updateBy},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updatePlayletRealizationProject" parameterType="PlayletRealizationProject">
|
||||||
|
update playlet_realization_project
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="name != null">NAME = #{name},</if>
|
||||||
|
<if test="type != null">TYPE = #{type},</if>
|
||||||
|
<if test="imgUrl != null">IMG_URL = #{imgUrl},</if>
|
||||||
|
<if test="detailVideoUrl != null">DETAIL_VIDEO_URL = #{detailVideoUrl},</if>
|
||||||
|
<if test="detailContent != null">DETAIL_CONTENT = #{detailContent},</if>
|
||||||
|
<if test="relativeUrl != null">RELATIVE_URL = #{relativeUrl},</if>
|
||||||
|
<if test="createBy != null">CREATE_BY = #{createBy},</if>
|
||||||
|
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
|
||||||
|
<if test="updateBy != null">UPDATE_BY = #{updateBy},</if>
|
||||||
|
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
|
||||||
|
<if test="remark != null">REMARK = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where ID = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deletePlayletRealizationProjectById" parameterType="Long">
|
||||||
|
delete from playlet_realization_project where ID = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deletePlayletRealizationProjectByIds" parameterType="String">
|
||||||
|
delete from playlet_realization_project where ID in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
||||||
|
|
@ -0,0 +1,107 @@
|
||||||
|
<?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.playlet.system.mapper.PlayletUserMapper">
|
||||||
|
|
||||||
|
<resultMap type="PlayletUser" id="PlayletUserResult">
|
||||||
|
<result property="id" column="ID" />
|
||||||
|
<result property="phone" column="PHONE" />
|
||||||
|
<result property="nickName" column="NICK_NAME" />
|
||||||
|
<result property="password" column="PASSWORD" />
|
||||||
|
<result property="icon" column="ICON" />
|
||||||
|
<result property="agencyId" column="AGENCY_ID" />
|
||||||
|
<result property="parentId" column="PARENT_ID" />
|
||||||
|
<result property="createBy" column="CREATE_BY" />
|
||||||
|
<result property="createTime" column="CREATE_TIME" />
|
||||||
|
<result property="updateBy" column="UPDATE_BY" />
|
||||||
|
<result property="updateTime" column="UPDATE_TIME" />
|
||||||
|
<result property="remark" column="REMARK" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectPlayletUserVo">
|
||||||
|
select ID, PHONE, NICK_NAME, PASSWORD, ICON, AGENCY_ID, PARENT_ID, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK from playlet_user
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectPlayletUserList" parameterType="PlayletUser" resultMap="PlayletUserResult">
|
||||||
|
<include refid="selectPlayletUserVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="phone != null and phone != ''"> and PHONE = #{phone}</if>
|
||||||
|
<if test="nickName != null and nickName != ''"> and NICK_NAME like concat('%', #{nickName}, '%')</if>
|
||||||
|
<if test="password != null and password != ''"> and PASSWORD = #{password}</if>
|
||||||
|
<if test="icon != null and icon != ''"> and ICON = #{icon}</if>
|
||||||
|
<if test="agencyId != null and agencyId != ''"> and AGENCY_ID = #{agencyId}</if>
|
||||||
|
<if test="parentId != null and parentId != ''"> and PARENT_ID = #{parentId}</if>
|
||||||
|
<if test="createBy != null and createBy != ''"> and CREATE_BY = #{createBy}</if>
|
||||||
|
<if test="createTime != null "> and CREATE_TIME = #{createTime}</if>
|
||||||
|
<if test="updateBy != null and updateBy != ''"> and UPDATE_BY = #{updateBy}</if>
|
||||||
|
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
|
||||||
|
<if test="remark != null and REMARK != ''"> and REMARK = #{REMARK}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectPlayletUserByID" parameterType="Long" resultMap="PlayletUserResult">
|
||||||
|
<include refid="selectPlayletUserVo"/>
|
||||||
|
where ID = #{ID}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertPlayletUser" parameterType="PlayletUser" useGeneratedKeys="true" keyProperty="ID">
|
||||||
|
insert into playlet_user
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="phone != null">PHONE,</if>
|
||||||
|
<if test="nickName != null">NICK_NAME,</if>
|
||||||
|
<if test="password != null">PASSWORD,</if>
|
||||||
|
<if test="icon != null">ICON,</if>
|
||||||
|
<if test="agencyId != null">AGENCY_ID,</if>
|
||||||
|
<if test="parentId != null">PARENT_ID,</if>
|
||||||
|
<if test="createBy != null">CREATE_BY,</if>
|
||||||
|
<if test="createTime != null">CREATE_TIME,</if>
|
||||||
|
<if test="updateBy != null">UPDATE_BY,</if>
|
||||||
|
<if test="updateTime != null">UPDATE_TIME,</if>
|
||||||
|
<if test="remark != null">REMARK,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="phone != null">#{phone},</if>
|
||||||
|
<if test="nickName != null">#{nickName},</if>
|
||||||
|
<if test="password != null">#{password},</if>
|
||||||
|
<if test="icon != null">#{icon},</if>
|
||||||
|
<if test="agencyId != null">#{agencyId},</if>
|
||||||
|
<if test="parentId != null">#{parentId},</if>
|
||||||
|
<if test="createBy != null">#{createBy},</if>
|
||||||
|
<if test="createTime != null">#{createTime},</if>
|
||||||
|
<if test="updateBy != null">#{updateBy},</if>
|
||||||
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
|
<if test="remark != null">#{remark},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updatePlayletUser" parameterType="PlayletUser">
|
||||||
|
update playlet_user
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="phone != null">PHONE = #{phone},</if>
|
||||||
|
<if test="nickName != null">NICK_NAME = #{nickName},</if>
|
||||||
|
<if test="password != null">PASSWORD = #{password},</if>
|
||||||
|
<if test="icon != null">ICON = #{icon},</if>
|
||||||
|
<if test="agencyId != null">AGENCY_ID = #{agencyId},</if>
|
||||||
|
<if test="parentId != null">PARENT_ID = #{parentId},</if>
|
||||||
|
<if test="createBy != null">CREATE_BY = #{createBy},</if>
|
||||||
|
<if test="createTime != null">CREATE_TIME = #{createTime},</if>
|
||||||
|
<if test="updateBy != null">UPDATE_BY = #{updateBy},</if>
|
||||||
|
<if test="updateTime != null">UPDATE_TIME = #{updateTime},</if>
|
||||||
|
<if test="remark != null">REMARK = #{remark},</if>
|
||||||
|
</trim>
|
||||||
|
where ID = #{id}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deletePlayletUserByID" parameterType="Long">
|
||||||
|
delete from playlet_user where ID = #{id}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deletePlayletUserByIDs" parameterType="String">
|
||||||
|
delete from playlet_user where ID in
|
||||||
|
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
||||||
|
#{ID}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
</mapper>
|
||||||
Loading…
Reference in New Issue