Commit 0a1f07ae authored by wanmin@bu2.cn's avatar wanmin@bu2.cn

区块链配置实体

parent 2ca285d8
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -53,4 +53,4 @@ public class AlipayNotifyLogDTO implements Serializable {
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date createDate;
}
\ No newline at end of file
}
package com.roo.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 区块链配置
*
* @author momin 460363410@qq.com
* @since 1.0 2021-07-02
*/
@Data
@ApiModel(value = "区块链配置")
public class BlockChainDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "ID主键")
private Long id;
@ApiModelProperty(value = "主链标识")
private String code;
@ApiModelProperty(value = "名称")
private String name;
@ApiModelProperty(value = "英文名全称")
private String nameEn;
@ApiModelProperty(value = "图标")
private String icon;
@ApiModelProperty(value = "排序,最小靠前")
private Integer sort;
@ApiModelProperty(value = "是否启用")
private Boolean isEnabled;
@ApiModelProperty(value = "创建时间")
private Date createDate;
@ApiModelProperty(value = "更新时间")
private Date updateDate;
}
\ No newline at end of file
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
*
*
*/
......
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
*
*
*/
package com.roo.dto;
......@@ -48,4 +48,4 @@ public class OrderDTO implements Serializable {
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date createDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -34,4 +34,4 @@ public class PasswordDTO implements Serializable {
@NotBlank(message="{sysuser.password.require}")
private String newPassword;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -106,4 +106,4 @@ public class SysDeptDTO extends TreeNode implements Serializable {
public void setPid(Long pid) {
this.pid = pid;
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
*
*
*/
package com.roo.dto;
......@@ -67,4 +67,4 @@ public class SysDictDataDTO implements Serializable {
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date updateDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -64,4 +64,4 @@ public class SysDictTypeDTO implements Serializable {
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date updateDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -48,4 +48,4 @@ public class SysLogErrorDTO implements Serializable {
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date createDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -65,4 +65,4 @@ public class SysLogOperationDTO implements Serializable {
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date createDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
*
*
*
......@@ -60,4 +60,4 @@ public class SysNoticeDTO implements Serializable {
private Date readDate;
@ApiModelProperty(value = "阅读状态 0:未读 1:已读")
private Integer readStatus;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -40,4 +40,4 @@ public class SysPostDTO implements Serializable {
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date createDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -62,4 +62,4 @@ public class SysRegionDTO implements Serializable {
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
private Date updateDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -59,4 +59,4 @@ public class SysRoleDTO implements Serializable {
@ApiModelProperty(value = "部门ID列表")
private List<Long> deptIdList;
}
\ No newline at end of file
}
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
*
*
*
......@@ -90,4 +90,4 @@ public class SysTenantDTO implements Serializable {
private Date createDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -112,4 +112,4 @@ public class SysUserDTO implements Serializable {
@ApiModelProperty(value = "租户名称")
private String tenantName;
}
\ No newline at end of file
}
/**
* Copyright (c) 2020 人人开源 All rights reserved.
* Copyright (c) 2020 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -33,4 +33,4 @@ public enum MenuFlagEnum {
public int value() {
return this.value;
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......
/**
* Copyright (c) 2016-2020 人人开源 All rights reserved.
* Copyright (c) 2016-2020 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2016-2020 人人开源 All rights reserved.
* Copyright (c) 2016-2020 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2016-2020 人人开源 All rights reserved.
* Copyright (c) 2016-2020 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -31,4 +31,4 @@ public interface DictFeignClient {
@GetMapping("sys/dict/type/list")
Result<List<SysDictTypeDTO>> getDictTypeList();
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -40,4 +40,4 @@ public interface ParamsFeignClient {
@PutMapping("sys/params/code/{paramCode}")
void updateValueByCode(@PathVariable("paramCode") String paramCode, @RequestParam("paramValue") String paramValue);
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -38,4 +38,4 @@ public interface UserFeignClient {
@GetMapping("sys/role/getRoleIdList")
Result<List<Long>> getRoleIdList(@RequestParam("userId") Long userId);
}
\ No newline at end of file
}
/**
* Copyright (c) 2016-2020 人人开源 All rights reserved.
* Copyright (c) 2016-2020 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2016-2020 人人开源 All rights reserved.
* Copyright (c) 2016-2020 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2016-2020 人人开源 All rights reserved.
* Copyright (c) 2016-2020 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
* <p>
*
* <p>
......@@ -53,4 +53,4 @@ public class ParamsRemoteService {
paramsFeignClient.updateValueByCode(paramCode, paramValue);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -26,4 +26,4 @@ public class AdminApplication {
SpringApplication.run(AdminApplication.class, args);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -37,4 +37,4 @@ public class AliPayInterceptor implements HandlerInterceptor {
}
return false;
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2020 人人开源 All rights reserved.
* Copyright (c) 2020 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -23,4 +23,4 @@ public class ModuleConfigImpl implements ModuleConfig {
public String getName() {
return "sys";
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -57,4 +57,4 @@ public class ResourceServerConfig extends ResourceServerConfigurerAdapter {
;
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -52,4 +52,4 @@ public class AlipayNotifyLogController {
return new Result<PageData<AlipayNotifyLogDTO>>().ok(page);
}
}
\ No newline at end of file
}
package com.roo.controller;
import com.roo.commons.log.annotation.LogOperation;
import com.roo.commons.tools.constant.Constant;
import com.roo.commons.tools.page.PageData;
import com.roo.commons.tools.utils.Result;
import com.roo.commons.tools.utils.ExcelUtils;
import com.roo.commons.tools.validator.AssertUtils;
import com.roo.commons.tools.validator.ValidatorUtils;
import com.roo.commons.tools.validator.group.AddGroup;
import com.roo.commons.tools.validator.group.DefaultGroup;
import com.roo.commons.tools.validator.group.UpdateGroup;
import com.roo.dto.BlockChainDTO;
import com.roo.excel.BlockChainExcel;
import com.roo.service.BlockChainService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 区块链配置
*
* @author momin 460363410@qq.com
* @since 1.0 2021-07-02
*/
@RestController
@RequestMapping("blockchain")
@Api(tags="区块链配置")
public class BlockChainController {
@Autowired
private BlockChainService blockChainService;
@GetMapping("page")
@ApiOperation("分页")
@ApiImplicitParams({
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码,从1开始", paramType = "query", required = true, dataType="int") ,
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataType="int") ,
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataType="String") ,
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataType="String")
})
@PreAuthorize("hasAuthority('roowallet:blockchain:page')")
public Result<PageData<BlockChainDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
PageData<BlockChainDTO> page = blockChainService.page(params);
return new Result<PageData<BlockChainDTO>>().ok(page);
}
@GetMapping("{id}")
@ApiOperation("信息")
@PreAuthorize("hasAuthority('roowallet:blockchain:info')")
public Result<BlockChainDTO> get(@PathVariable("id") Long id){
BlockChainDTO data = blockChainService.get(id);
return new Result<BlockChainDTO>().ok(data);
}
@PostMapping
@ApiOperation("保存")
@LogOperation("保存")
@PreAuthorize("hasAuthority('roowallet:blockchain:save')")
public Result save(@RequestBody BlockChainDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
blockChainService.save(dto);
return new Result();
}
@PutMapping
@ApiOperation("修改")
@LogOperation("修改")
@PreAuthorize("hasAuthority('roowallet:blockchain:update')")
public Result update(@RequestBody BlockChainDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
blockChainService.update(dto);
return new Result();
}
@DeleteMapping
@ApiOperation("删除")
@LogOperation("删除")
@PreAuthorize("hasAuthority('roowallet:blockchain:delete')")
public Result delete(@RequestBody Long[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
blockChainService.delete(ids);
return new Result();
}
@GetMapping("export")
@ApiOperation("导出")
@LogOperation("导出")
@PreAuthorize("hasAuthority('roowallet:blockchain:export')")
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<BlockChainDTO> list = blockChainService.list(params);
ExcelUtils.exportExcelToTarget(response, null, "区块链配置", list, BlockChainExcel.class);
}
}
\ No newline at end of file
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -105,4 +105,4 @@ public class NewsController {
return new Result();
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -83,4 +83,4 @@ public class OrderController {
return new Result();
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -95,4 +95,4 @@ public class SysDeptController {
return new Result();
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -107,4 +107,4 @@ public class SysDictDataController {
return new Result();
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -125,4 +125,4 @@ public class SysDictTypeController {
return new Result<List<SysDictTypeDTO>>().ok(typeList);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -72,4 +72,4 @@ public class SysLogErrorController {
ExcelUtils.exportExcelToTarget(response, null, "异常日志", list, SysLogErrorExcel.class);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -77,4 +77,4 @@ public class SysLogLoginController {
ExcelUtils.exportExcelToTarget(response, null, "登录日志", list, SysLogLoginExcel.class);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -73,4 +73,4 @@ public class SysLogOperationController {
ExcelUtils.exportExcelToTarget(response, null, "操作日志", list, SysLogOperationExcel.class);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -130,4 +130,4 @@ public class SysMenuController {
return new Result<List<SysMenuDTO>>().ok(list);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
*
*
*
......@@ -154,4 +154,4 @@ public class SysNoticeController {
return new Result();
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -142,4 +142,4 @@ public class SysParamsController {
public void updateValueByCode(@PathVariable("paramCode") String paramCode, @RequestParam("paramValue") String paramValue){
sysParamsService.updateValueByCode(paramCode, paramValue);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -118,4 +118,4 @@ public class SysPostController {
return new Result();
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -33,7 +33,7 @@ import java.util.Map;
/**
* 行政区域
*
*
* @author Mark sunlightcs@gmail.com
*/
@RestController
......@@ -124,5 +124,5 @@ public class SysRegionController {
return new Result<List<RegionProvince>>().ok(list);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -143,4 +143,4 @@ public class SysRoleController {
return new Result<List<Long>>().ok(roleIdList);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
*
*
*
......@@ -116,4 +116,4 @@ public class SysTenantController {
return new Result();
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -35,7 +35,7 @@ import java.util.Map;
/**
* 租户角色管理
*
*
* @author Mark sunlightcs@gmail.com
*/
@RestController
......@@ -123,4 +123,4 @@ public class SysTenantRoleController {
return new Result();
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -235,4 +235,4 @@ public class SysUserController {
userDetail.setAuthorities(authorities);
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -68,4 +68,4 @@ public class UReportController {
return new Result();
}
}
\ No newline at end of file
}
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -19,5 +19,5 @@ import org.apache.ibatis.annotations.Mapper;
*/
@Mapper
public interface AlipayNotifyLogDao extends BaseDao<AlipayNotifyLogEntity> {
}
\ No newline at end of file
}
package com.roo.dao;
import com.roo.commons.mybatis.dao.BaseDao;
import com.roo.entity.BlockChainEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 区块链配置
*
* @author momin 460363410@qq.com
* @since 1.0 2021-07-02
*/
@Mapper
public interface BlockChainDao extends BaseDao<BlockChainEntity> {
}
\ No newline at end of file
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -24,5 +24,5 @@ import java.util.Map;
public interface NewsDao extends BaseDao<NewsEntity> {
List<NewsEntity> getList(Map<String, Object> params);
}
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -29,4 +29,4 @@ public interface OrderDao extends BaseDao<OrderEntity> {
int paySuccess(@Param("orderId") Long orderId, @Param("status") Integer status, @Param("payAt") Date payAt);
OrderEntity getByOrderId(Long orderId);
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -38,4 +38,4 @@ public interface SysDeptDao extends BaseDao<SysDeptEntity> {
* @param id 部门ID
*/
List<Long> getSubDeptIdList(String id);
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
*
*
*/
package com.roo.dao;
......@@ -14,7 +14,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* 国际化
*
*
* @author Mark sunlightcs@gmail.com
*/
@Mapper
......@@ -24,4 +24,4 @@ public interface SysLanguageDao extends BaseDao<SysLanguageEntity> {
void updateLanguage(SysLanguageEntity entity);
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -20,5 +20,5 @@ import org.apache.ibatis.annotations.Mapper;
*/
@Mapper
public interface SysLogErrorDao extends BaseDao<SysLogErrorEntity> {
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -20,5 +20,5 @@ import org.apache.ibatis.annotations.Mapper;
*/
@Mapper
public interface SysLogOperationDao extends BaseDao<SysLogOperationEntity> {
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -49,4 +49,4 @@ public interface SysMenuDao extends BaseDao<SysMenuEntity> {
* @param pid 父菜单ID
*/
List<SysMenuEntity> getListPid(Long pid);
}
\ No newline at end of file
}
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
*
*
*
......@@ -30,4 +30,4 @@ public interface SysNoticeDao extends BaseDao<SysNoticeEntity> {
* 获取我的通知列表
*/
List<SysNoticeEntity> getMyNoticeList(Map<String, Object> params);
}
\ No newline at end of file
}
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
*
*
*
......@@ -28,4 +28,4 @@ public interface SysNoticeUserDao extends BaseDao<SysNoticeUserEntity> {
* @param receiverId 接收者ID
*/
int getUnReadNoticeCount(Long receiverId);
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -19,5 +19,5 @@ import org.apache.ibatis.annotations.Mapper;
*/
@Mapper
public interface SysPostDao extends BaseDao<SysPostEntity> {
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -38,4 +38,4 @@ public interface SysRoleDataScopeDao extends BaseDao<SysRoleDataScopeEntity> {
* @param roleId 角色id
*/
void deleteByRoleId(Long roleId);
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -39,4 +39,4 @@ public interface SysRoleMenuDao extends BaseDao<SysRoleMenuEntity> {
* @param menuId 菜单id
*/
void deleteByMenuId(Long menuId);
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -42,4 +42,4 @@ public interface SysRoleUserDao extends BaseDao<SysRoleUserEntity> {
* @return
*/
List<Long> getRoleIdList(Long userId);
}
\ No newline at end of file
}
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
*
*
*
......@@ -30,4 +30,4 @@ public interface SysTenantDao extends BaseDao<SysTenantEntity> {
SysTenantEntity getTenantCode(Long tenantCode);
void deleteBatch(Long[] ids);
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -43,4 +43,4 @@ public interface SysUserDao extends BaseDao<SysUserEntity> {
*/
List<Long> getUserIdListByDeptId(List<Long> deptIdList);
}
\ No newline at end of file
}
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -38,4 +38,4 @@ public interface SysUserPostDao extends BaseDao<SysUserPostEntity> {
* @param userId 用户ID
*/
List<Long> getPostIdList(Long userId);
}
\ No newline at end of file
}
/**
* Copyright (c) 2020 人人开源 All rights reserved.
* Copyright (c) 2020 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -75,4 +75,4 @@ public class AlipayNotifyLogEntity implements Serializable {
*/
@TableField(fill = FieldFill.INSERT)
private Date createDate;
}
\ No newline at end of file
}
package com.roo.entity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
/**
* 区块链配置
*
* @author momin 460363410@qq.com
* @since 1.0 2021-07-02
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_block_chain")
public class BlockChainEntity {
private static final long serialVersionUID = 1L;
/**
* ID主键
*/
@TableId
private Long id;
/**
* 主链标识
*/
private String code;
/**
* 名称
*/
private String name;
/**
* 英文名全称
*/
private String nameEn;
/**
* 图标
*/
private String icon;
/**
* 排序,最小靠前
*/
private Integer sort;
/**
* 是否启用
*/
private Boolean isEnabled;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)
private Date createDate;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateDate;
}
\ No newline at end of file
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2019 人人开源 All rights reserved.
* Copyright (c) 2019 All rights reserved.
* <p>
*
* <p>
......
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -55,4 +55,4 @@ public class NewsEntity extends BaseTenantEntity {
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2021 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -64,4 +64,4 @@ public class OrderEntity implements Serializable {
@TableField(fill = FieldFill.INSERT)
private Date createDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -67,4 +67,4 @@ public class SysDeptEntity extends BaseTenantEntity {
@TableField(exist = false)
private String parentName;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -57,4 +57,4 @@ public class SysDictDataEntity extends BaseEntity {
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -53,4 +53,4 @@ public class SysDictTypeEntity extends BaseEntity {
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateDate;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -16,7 +16,7 @@ import java.io.Serializable;
/**
* 国际化
*
*
* @author Mark sunlightcs@gmail.com
*/
@Data
......@@ -46,4 +46,4 @@ public class SysLanguageEntity implements Serializable {
*/
private String language;
}
\ No newline at end of file
}
/**
* Copyright (c) 2018 人人开源 All rights reserved.
* Copyright (c) 2021 All rights reserved.
*
*
*
......@@ -68,4 +68,4 @@ public class SysLogErrorEntity implements Serializable {
*/
private Date createDate;
}
\ No newline at end of file
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment