From 5359c8183591cbf877b04e1fc6cf67d1d0b33492 Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Thu, 10 Jun 2021 18:01:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=AA=E4=BA=BA=E7=AE=80?= =?UTF-8?q?=E4=BB=8B=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ContentDataBaseController.java | 34 ++ ...ler.java => DepartmentBaseController.java} | 35 +- .../api/userexpand/UserExpandController.java | 59 +++ .../dao/userexpand/IUserExpandDao.java | 121 +++++++ .../pojo/bos/userexpand/UserExpandBO.java | 69 ++++ .../pojo/dtos/userexpand/UserExpandDTO.java | 68 ++++ .../pojo/pos/userexpand/UserExpandPO.java | 69 ++++ .../pojo/vos/userexpand/UserExpandVO.java | 59 +++ .../userexpand/IUserExpandService.java | 22 ++ .../impl/UserExpandServiceImpl.java | 135 +++++++ .../mapper/userexpand/user-expand-mapper.xml | 224 ++++++++++++ .../static/route/userexpand/list.html | 280 +++++++++++++++ .../static/route/userexpand/save.html | 335 +++++++++++++++++ .../static/route/userexpand/show.html | 329 +++++++++++++++++ .../static/route/userexpand/update.html | 340 ++++++++++++++++++ 15 files changed, 2165 insertions(+), 14 deletions(-) create mode 100644 src/main/java/com/tenlion/twoduty/controller/api/contentdatabase/ContentDataBaseController.java rename src/main/java/com/tenlion/twoduty/controller/api/departmentbase/{departmentBaseController.java => DepartmentBaseController.java} (89%) create mode 100644 src/main/java/com/tenlion/twoduty/controller/api/userexpand/UserExpandController.java create mode 100644 src/main/java/com/tenlion/twoduty/dao/userexpand/IUserExpandDao.java create mode 100644 src/main/java/com/tenlion/twoduty/pojo/bos/userexpand/UserExpandBO.java create mode 100644 src/main/java/com/tenlion/twoduty/pojo/dtos/userexpand/UserExpandDTO.java create mode 100644 src/main/java/com/tenlion/twoduty/pojo/pos/userexpand/UserExpandPO.java create mode 100644 src/main/java/com/tenlion/twoduty/pojo/vos/userexpand/UserExpandVO.java create mode 100644 src/main/java/com/tenlion/twoduty/service/userexpand/IUserExpandService.java create mode 100644 src/main/java/com/tenlion/twoduty/service/userexpand/impl/UserExpandServiceImpl.java create mode 100644 src/main/resources/mybatis/mapper/userexpand/user-expand-mapper.xml create mode 100644 src/main/resources/static/route/userexpand/list.html create mode 100644 src/main/resources/static/route/userexpand/save.html create mode 100644 src/main/resources/static/route/userexpand/show.html create mode 100644 src/main/resources/static/route/userexpand/update.html diff --git a/src/main/java/com/tenlion/twoduty/controller/api/contentdatabase/ContentDataBaseController.java b/src/main/java/com/tenlion/twoduty/controller/api/contentdatabase/ContentDataBaseController.java new file mode 100644 index 0000000..a9987d9 --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/controller/api/contentdatabase/ContentDataBaseController.java @@ -0,0 +1,34 @@ +package com.tenlion.twoduty.controller.api.contentdatabase; + + +import ink.wgink.common.base.DefaultBaseController; +import ink.wgink.common.component.SecurityComponent; +import ink.wgink.interfaces.consts.ISystemConstant; +import io.swagger.annotations.Api; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 文章数据封装 + * @author liuyang + * @create 2021-03-29 15:31 + * @description + */ +@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "文章数据封装") +@RestController +@RequestMapping(ISystemConstant.API_PREFIX + "/contentdatabase") +public class ContentDataBaseController extends DefaultBaseController { + + + + @Autowired + protected SecurityComponent securityComponent; + + + + + + + +} diff --git a/src/main/java/com/tenlion/twoduty/controller/api/departmentbase/departmentBaseController.java b/src/main/java/com/tenlion/twoduty/controller/api/departmentbase/DepartmentBaseController.java similarity index 89% rename from src/main/java/com/tenlion/twoduty/controller/api/departmentbase/departmentBaseController.java rename to src/main/java/com/tenlion/twoduty/controller/api/departmentbase/DepartmentBaseController.java index 09f9f25..5a70da6 100644 --- a/src/main/java/com/tenlion/twoduty/controller/api/departmentbase/departmentBaseController.java +++ b/src/main/java/com/tenlion/twoduty/controller/api/departmentbase/DepartmentBaseController.java @@ -1,6 +1,8 @@ package com.tenlion.twoduty.controller.api.departmentbase; +import com.tenlion.twoduty.pojo.dtos.userexpand.UserExpandDTO; +import com.tenlion.twoduty.service.userexpand.IUserExpandService; import ink.wgink.common.base.DefaultBaseController; import ink.wgink.common.component.SecurityComponent; import ink.wgink.interfaces.consts.ISystemConstant; @@ -21,6 +23,7 @@ import ink.wgink.service.position.service.IPositionUserService; import ink.wgink.service.role.service.IRoleService; import ink.wgink.service.role.service.IRoleUserService; import ink.wgink.service.user.service.IUserService; +import ink.wgink.util.map.HashMapUtil; import io.swagger.annotations.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; @@ -41,7 +44,7 @@ import java.util.Map; @Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "组织机构数据封装") @RestController @RequestMapping(ISystemConstant.API_PREFIX + "/departmentBase") -public class departmentBaseController extends DefaultBaseController { +public class DepartmentBaseController extends DefaultBaseController { @Autowired protected SecurityComponent securityComponent; @@ -58,6 +61,9 @@ public class departmentBaseController extends DefaultBaseController { @Autowired private IPositionUserService positionUserService; + @Autowired + private IUserExpandService userExpandService; + /** * 组织机构默认ID @@ -145,14 +151,26 @@ public class departmentBaseController extends DefaultBaseController { @ApiOperation(value = "用户详情", notes = "用户详情用户列表") @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @GetMapping("get-by-user-id/{userId}") - public UserDTO getByUserId(@PathVariable("userId") String userId){ + public Map getByUserId(@PathVariable("userId") String userId){ UserDTO userDTO = userService.get(userId); this.setUserParams(userDTO); - return userDTO; + Map params = HashMapUtil.beanToMap(userDTO); + params.put("userExpand",""); + UserExpandDTO userExpandDTO = userExpandService.get(userId); + if(userExpandDTO != null){ + params.put("userExpand",userExpandDTO.getSummary()); + } + return params; } + + + + + + private void setUserParams(UserDTO userDTO){ String positionNames = ""; List positionPOS = positionUserService.listPositionPOByUserId(userDTO.getUserId()); @@ -164,15 +182,4 @@ public class departmentBaseController extends DefaultBaseController { - - - - - - - - - - - } diff --git a/src/main/java/com/tenlion/twoduty/controller/api/userexpand/UserExpandController.java b/src/main/java/com/tenlion/twoduty/controller/api/userexpand/UserExpandController.java new file mode 100644 index 0000000..dbadf3d --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/controller/api/userexpand/UserExpandController.java @@ -0,0 +1,59 @@ +package com.tenlion.twoduty.controller.api.userexpand; + + +import com.tenlion.twoduty.pojo.dtos.userexpand.UserExpandDTO; +import com.tenlion.twoduty.pojo.vos.supervisecheck.SuperviseCheckVO; +import com.tenlion.twoduty.pojo.vos.userexpand.UserExpandVO; +import com.tenlion.twoduty.service.userexpand.IUserExpandService; +import ink.wgink.common.base.DefaultBaseController; +import ink.wgink.interfaces.consts.ISystemConstant; +import ink.wgink.pojo.result.ErrorResult; +import ink.wgink.pojo.result.SuccessResult; +import io.swagger.annotations.*; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +/** + * @ClassName: UserExpandController + * @Description: + * @Author: CodeFactory + * @Date: 2021-04-09 14:12:12 + * @Version: 3.0 + **/ +@Api(tags = ISystemConstant.API_TAGS_SYSTEM_PREFIX + "用户拓展信息接口") +@RestController +@RequestMapping(ISystemConstant.API_PREFIX + "/userexpand") +public class UserExpandController extends DefaultBaseController { + + @Autowired + private IUserExpandService userExpandService; + + + @ApiOperation(value = "详情(通过ID)", notes = "详情(通过ID)接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "userId", value = "用户ID", paramType = "path") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("get/{userId}") + public UserExpandDTO get(@PathVariable("userId") String userId) { + return userExpandService.get(userId); + } + + + + + + @ApiOperation(value = "保存", notes = "保存接口") + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @PostMapping("save") + public SuccessResult save(@RequestBody UserExpandVO userExpandVO) { + userExpandService.save(null,userExpandVO); + return new SuccessResult(); + } + + + + + + +} \ No newline at end of file diff --git a/src/main/java/com/tenlion/twoduty/dao/userexpand/IUserExpandDao.java b/src/main/java/com/tenlion/twoduty/dao/userexpand/IUserExpandDao.java new file mode 100644 index 0000000..a2bad9c --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/dao/userexpand/IUserExpandDao.java @@ -0,0 +1,121 @@ +package com.tenlion.twoduty.dao.userexpand; + + +import com.tenlion.twoduty.pojo.bos.userexpand.UserExpandBO; +import com.tenlion.twoduty.pojo.dtos.userexpand.UserExpandDTO; +import com.tenlion.twoduty.pojo.pos.userexpand.UserExpandPO; +import ink.wgink.exceptions.RemoveException; +import ink.wgink.exceptions.SaveException; +import ink.wgink.exceptions.SearchException; +import ink.wgink.exceptions.UpdateException; +import org.springframework.stereotype.Repository; + +import java.util.List; +import java.util.Map; + +/** + * @ClassName: IUserExpandDao + * @Description: + * @Author: CodeFactory + * @Date: 2021-04-09 14:12:12 + * @Version: 3.0 + **/ +@Repository +public interface IUserExpandDao { + + /** + * 新增 + * + * @param params + * @throws SaveException + */ + void save(Map params) throws SaveException; + + /** + * 删除 + * + * @param params + * @throws RemoveException + */ + void remove(Map params) throws RemoveException; + + /** + * 删除(物理) + * + * @param params + * @throws RemoveException + */ + void delete(Map params) throws RemoveException; + + /** + * 修改 + * + * @param params + * @throws UpdateException + */ + void update(Map params) throws UpdateException; + + /** + * 详情 + * + * @param params + * @return + * @throws SearchException + */ + UserExpandDTO get(Map params) throws SearchException; + + /** + * 详情 + * + * @param params + * @return + * @throws SearchException + */ + UserExpandBO getBO(Map params) throws SearchException; + + /** + * 详情 + * + * @param params + * @return + * @throws SearchException + */ + UserExpandPO getPO(Map params) throws SearchException; + + /** + * 列表 + * + * @param params + * @return + * @throws SearchException + */ + List list(Map params) throws SearchException; + + /** + * 列表 + * + * @param params + * @return + * @throws SearchException + */ + List listBO(Map params) throws SearchException; + + /** + * 列表 + * + * @param params + * @return + * @throws SearchException + */ + List listPO(Map params) throws SearchException; + + /** + * 统计 + * + * @param params + * @return + * @throws SearchException + */ + Integer count(Map params) throws SearchException; + +} \ No newline at end of file diff --git a/src/main/java/com/tenlion/twoduty/pojo/bos/userexpand/UserExpandBO.java b/src/main/java/com/tenlion/twoduty/pojo/bos/userexpand/UserExpandBO.java new file mode 100644 index 0000000..985aa63 --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/pojo/bos/userexpand/UserExpandBO.java @@ -0,0 +1,69 @@ +package com.tenlion.twoduty.pojo.bos.userexpand; + +/** + * + * @ClassName: UserExpandBO + * @Description: + * @Author: CodeFactory + * @Date: 2021-04-09 14:12:12 + * @Version: 3.0 + **/ +public class UserExpandBO { + + private String userExpandId; + private String userId; + private String summary; + private String photo; + private String video; + private Integer isDelete; + + public String getUserExpandId() { + return userExpandId == null ? "" : userExpandId.trim(); + } + + public void setUserExpandId(String userExpandId) { + this.userExpandId = userExpandId; + } + + public String getUserId() { + return userId == null ? "" : userId.trim(); + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getSummary() { + return summary == null ? "" : summary.trim(); + } + + public void setSummary(String summary) { + this.summary = summary; + } + + public String getPhoto() { + return photo == null ? "" : photo.trim(); + } + + public void setPhoto(String photo) { + this.photo = photo; + } + + public String getVideo() { + return video == null ? "" : video.trim(); + } + + public void setVideo(String video) { + this.video = video; + } + + public Integer getIsDelete() { + return isDelete == null ? 0 : isDelete; + } + + public void setIsDelete(Integer isDelete) { + this.isDelete = isDelete; + } + + +} diff --git a/src/main/java/com/tenlion/twoduty/pojo/dtos/userexpand/UserExpandDTO.java b/src/main/java/com/tenlion/twoduty/pojo/dtos/userexpand/UserExpandDTO.java new file mode 100644 index 0000000..18457d6 --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/pojo/dtos/userexpand/UserExpandDTO.java @@ -0,0 +1,68 @@ +package com.tenlion.twoduty.pojo.dtos.userexpand; + + +import ink.wgink.pojo.dtos.user.UserDTO; +import io.swagger.annotations.ApiModelProperty; + +/** + * TODO + * @version 1.0 + * @author LY + * @date 2021/4/9 12:05 + */ +public class UserExpandDTO extends UserDTO { + + @ApiModelProperty(name = "userExpandId", value = "ID") + private String userExpandId; + @ApiModelProperty(name = "userId", value = "用户ID") + private String userId; + @ApiModelProperty(name = "summary", value = "简介") + private String summary; + @ApiModelProperty(name = "photo", value = "宣传照片") + private String photo; + @ApiModelProperty(name = "video", value = "宣传视频") + private String video; + + + public String getUserExpandId() { + return userExpandId; + } + + public void setUserExpandId(String userExpandId) { + this.userExpandId = userExpandId; + } + + @Override + public String getUserId() { + return userId; + } + + @Override + public void setUserId(String userId) { + this.userId = userId; + } + + public String getSummary() { + return summary; + } + + public void setSummary(String summary) { + this.summary = summary; + } + + public String getPhoto() { + return photo; + } + + public void setPhoto(String photo) { + this.photo = photo; + } + + public String getVideo() { + return video; + } + + public void setVideo(String video) { + this.video = video; + } +} diff --git a/src/main/java/com/tenlion/twoduty/pojo/pos/userexpand/UserExpandPO.java b/src/main/java/com/tenlion/twoduty/pojo/pos/userexpand/UserExpandPO.java new file mode 100644 index 0000000..018f1c4 --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/pojo/pos/userexpand/UserExpandPO.java @@ -0,0 +1,69 @@ +package com.tenlion.twoduty.pojo.pos.userexpand; + +/** + * + * @ClassName: UserExpandPO + * @Description: + * @Author: CodeFactory + * @Date: 2021-04-09 14:12:12 + * @Version: 3.0 + **/ +public class UserExpandPO { + + private String userExpandId; + private String userId; + private String summary; + private String photo; + private String video; + private Integer isDelete; + + public String getUserExpandId() { + return userExpandId == null ? "" : userExpandId.trim(); + } + + public void setUserExpandId(String userExpandId) { + this.userExpandId = userExpandId; + } + + public String getUserId() { + return userId == null ? "" : userId.trim(); + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getSummary() { + return summary == null ? "" : summary.trim(); + } + + public void setSummary(String summary) { + this.summary = summary; + } + + public String getPhoto() { + return photo == null ? "" : photo.trim(); + } + + public void setPhoto(String photo) { + this.photo = photo; + } + + public String getVideo() { + return video == null ? "" : video.trim(); + } + + public void setVideo(String video) { + this.video = video; + } + + public Integer getIsDelete() { + return isDelete == null ? 0 : isDelete; + } + + public void setIsDelete(Integer isDelete) { + this.isDelete = isDelete; + } + + +} diff --git a/src/main/java/com/tenlion/twoduty/pojo/vos/userexpand/UserExpandVO.java b/src/main/java/com/tenlion/twoduty/pojo/vos/userexpand/UserExpandVO.java new file mode 100644 index 0000000..58b7dfe --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/pojo/vos/userexpand/UserExpandVO.java @@ -0,0 +1,59 @@ +package com.tenlion.twoduty.pojo.vos.userexpand; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * + * @ClassName: UserExpandVO + * @Description: + * @Author: CodeFactory + * @Date: 2021-04-09 14:12:12 + * @Version: 3.0 + **/ +@ApiModel +public class UserExpandVO { + + @ApiModelProperty(name = "userId", value = "用户ID") + private String userId; + @ApiModelProperty(name = "summary", value = "简介") + private String summary; + @ApiModelProperty(name = "photo", value = "宣传照片") + private String photo; + @ApiModelProperty(name = "video", value = "宣传视频") + private String video; + + public String getUserId() { + return userId == null ? "" : userId.trim(); + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getSummary() { + return summary == null ? "" : summary.trim(); + } + + public void setSummary(String summary) { + this.summary = summary; + } + + public String getPhoto() { + return photo == null ? "" : photo.trim(); + } + + public void setPhoto(String photo) { + this.photo = photo; + } + + public String getVideo() { + return video == null ? "" : video.trim(); + } + + public void setVideo(String video) { + this.video = video; + } + + +} diff --git a/src/main/java/com/tenlion/twoduty/service/userexpand/IUserExpandService.java b/src/main/java/com/tenlion/twoduty/service/userexpand/IUserExpandService.java new file mode 100644 index 0000000..d18b623 --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/service/userexpand/IUserExpandService.java @@ -0,0 +1,22 @@ +package com.tenlion.twoduty.service.userexpand; + + +import com.tenlion.twoduty.pojo.dtos.userexpand.UserExpandDTO; +import com.tenlion.twoduty.pojo.vos.userexpand.UserExpandVO; +import ink.wgink.interfaces.user.IUserExpandBaseService; + +public interface IUserExpandService extends IUserExpandBaseService { + + + + /** + * 新增 + * + * @param token + * @param userExpandVO + * @return + */ + void save(String token, UserExpandVO userExpandVO); + + +} diff --git a/src/main/java/com/tenlion/twoduty/service/userexpand/impl/UserExpandServiceImpl.java b/src/main/java/com/tenlion/twoduty/service/userexpand/impl/UserExpandServiceImpl.java new file mode 100644 index 0000000..5b92739 --- /dev/null +++ b/src/main/java/com/tenlion/twoduty/service/userexpand/impl/UserExpandServiceImpl.java @@ -0,0 +1,135 @@ +package com.tenlion.twoduty.service.userexpand.impl; + + + +import com.tenlion.twoduty.dao.userexpand.IUserExpandDao; +import com.tenlion.twoduty.pojo.dtos.userexpand.UserExpandDTO; +import com.tenlion.twoduty.pojo.vos.userexpand.UserExpandVO; +import com.tenlion.twoduty.service.userexpand.IUserExpandService; +import ink.wgink.common.base.DefaultBaseService; +import ink.wgink.pojo.ListPage; +import ink.wgink.pojo.result.SuccessResultList; +import ink.wgink.util.UUIDUtil; +import ink.wgink.util.map.HashMapUtil; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; +import java.util.Map; + +/** + * TODO + * @version 1.0 + * @author LY + * @date 2021/4/9 12:07 + */ +@Service +public class UserExpandServiceImpl extends DefaultBaseService implements IUserExpandService { + + + @Autowired + private IUserExpandDao userExpandDao; + + @Override + public String getRoute() { + return "route/userexpand/save.html"; + } + + @Override + public UserExpandDTO get(String s) { + Map params = super.getHashMap(2); + params.put("userId", s); + return userExpandDao.get(params); + } + + @Override + public UserExpandDTO getByUsername(String s) { + return null; + } + + @Override + public List listByUserIds(List list) { + return null; + } + + @Override + public List listByUsernames(List list) { + return null; + } + + @Override + public List list(Map map) { + return null; + } + + @Override + public SuccessResultList> listPage(ListPage listPage) { + return null; + } + + @Override + public SuccessResultList> listPageByIds(List list, ListPage listPage) { + return null; + } + + @Override + public SuccessResultList> listPageByExcludeIds(List list, ListPage listPage) { + return null; + } + + @Override + public int countDateRange(String s, String s1) { + return 0; + } + + @Override + public int count() { + return 0; + } + + + @Override + public List listByKeywords(String s) { + return null; + } + + + public void save(String token, UserExpandVO userExpandVO) { + UserExpandDTO userExpandDTO = this.get(userExpandVO.getUserId()); + if (userExpandDTO == null){ + saveReturnId(token, userExpandVO); + }else{ + update(token,userExpandVO); + } + } + + + + public String saveReturnId(String token, UserExpandVO userExpandVO) { + String userExpandId = UUIDUtil.getUUID(); + Map params = HashMapUtil.beanToMap(userExpandVO); + params.put("userExpandId", userExpandId); + if (StringUtils.isBlank(token)) { + setSaveInfo(params); + } else { + setAppSaveInfo(token, params); + } + userExpandDao.save(params); + return userExpandId; + } + + + + public void update(String token, UserExpandVO userExpandVO) { + Map params = HashMapUtil.beanToMap(userExpandVO); + setUpdateInfo(params); + if (StringUtils.isBlank(token)) { + + } else { + setAppUpdateInfo(token, params); + } + userExpandDao.update(params); + } + +} diff --git a/src/main/resources/mybatis/mapper/userexpand/user-expand-mapper.xml b/src/main/resources/mybatis/mapper/userexpand/user-expand-mapper.xml new file mode 100644 index 0000000..e258c4d --- /dev/null +++ b/src/main/resources/mybatis/mapper/userexpand/user-expand-mapper.xml @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO sys_user_expand( + user_expand_id, + user_id, + summary, + photo, + video, + is_delete + ) VALUES( + #{userExpandId}, + #{userId}, + #{summary}, + #{photo}, + #{video}, + #{isDelete} + ) + + + + + UPDATE + sys_user_expand + SET + is_delete = 1 + WHERE + user_expand_id IN + + #{userExpandIds[${index}]} + + + + + + DELETE FROM + sys_user_expand + WHERE + user_expand_id IN + + #{userExpandIds[${index}]} + + + + + + UPDATE + sys_user_expand + SET + summary = #{summary}, + photo = #{photo}, + video = #{video} + WHERE + user_id = #{userId} + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/static/route/userexpand/list.html b/src/main/resources/static/route/userexpand/list.html new file mode 100644 index 0000000..4523595 --- /dev/null +++ b/src/main/resources/static/route/userexpand/list.html @@ -0,0 +1,280 @@ + + + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/src/main/resources/static/route/userexpand/save.html b/src/main/resources/static/route/userexpand/save.html new file mode 100644 index 0000000..9a93581 --- /dev/null +++ b/src/main/resources/static/route/userexpand/save.html @@ -0,0 +1,335 @@ + + + + + + + + + + + + + + +
+
+ +
+
+ +
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/src/main/resources/static/route/userexpand/show.html b/src/main/resources/static/route/userexpand/show.html new file mode 100644 index 0000000..38b7961 --- /dev/null +++ b/src/main/resources/static/route/userexpand/show.html @@ -0,0 +1,329 @@ + + + + + + + + + + + + + + +
+
+
+
+ +
+ +
+ +
+
+
+ +
+ +
+ +
+
+
+ +
+ +
+ +
+
+
+
+ +
+
+
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/src/main/resources/static/route/userexpand/update.html b/src/main/resources/static/route/userexpand/update.html new file mode 100644 index 0000000..52f84b5 --- /dev/null +++ b/src/main/resources/static/route/userexpand/update.html @@ -0,0 +1,340 @@ + + + + + + + + + + + + + + +
+
+ +
+
+ + + + + + +
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + \ No newline at end of file