知识模块
This commit is contained in:
parent
da3f99f79c
commit
58f3d3d4a3
@ -1,4 +1,4 @@
|
||||
package cn.iocoder.yudao.module.knowledge.controller;
|
||||
package cn.iocoder.yudao.module.knowledge.controller.admin;
|
||||
|
||||
|
||||
import cn.iocoder.yudao.module.knowledge.constants.Result;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.iocoder.yudao.module.knowledge.controller;
|
||||
package cn.iocoder.yudao.module.knowledge.controller.admin;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
|
@ -1,13 +1,10 @@
|
||||
package cn.iocoder.yudao.module.knowledge.controller;
|
||||
package cn.iocoder.yudao.module.knowledge.controller.admin;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import cn.iocoder.yudao.module.knowledge.service.TRegulatoryFrameworkService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TRegulatoryFrameworkRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TRegulatoryFramework;
|
||||
import cn.iocoder.yudao.module.knowledge.service.TRegulatoryFrameworkService;
|
||||
import cn.iocoder.yudao.module.knowledge.utils.ExcelUtils;
|
||||
import cn.iocoder.yudao.module.knowledge.constants.Result;
|
||||
import org.slf4j.Logger;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.iocoder.yudao.module.knowledge.controller;
|
||||
package cn.iocoder.yudao.module.knowledge.controller.admin;
|
||||
|
||||
|
||||
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
||||
@ -157,16 +157,6 @@ public class TViolationController {
|
||||
public Result deleteForApp(@RequestParam("ids") List<Long> ids) {
|
||||
return Result.success(violationService.deleteForApp(ids));
|
||||
}
|
||||
/**
|
||||
* 推送
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@PostMapping(value = "/push",produces = "application/json;charset=UTF-8")
|
||||
public Result pushMsg(@RequestParam(value = "id") Long id,@RequestParam(value = "deptId") String deptId) {
|
||||
violationService.pushMsg(id,deptId);
|
||||
return Result.success();
|
||||
}
|
||||
/**
|
||||
* 推送
|
||||
* @param id
|
||||
|
@ -29,7 +29,7 @@ public class KnowledgeStatisticsRequest extends PageParam {
|
||||
//是否归档
|
||||
private Integer isFiling;
|
||||
//是否删除
|
||||
private Integer deleted;
|
||||
|
||||
//预留字段
|
||||
private String lawsA;
|
||||
//预留字段
|
||||
|
@ -2,14 +2,12 @@ package cn.iocoder.yudao.module.knowledge.controller.requestdto;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
@ -36,7 +36,7 @@ public class TArchivesRequest extends PageParam {
|
||||
//是否是文件夹 0:文件夹 1:文件
|
||||
private Integer isDir;
|
||||
//是否删除 0:已删除,1:未删除
|
||||
private Integer deleted;
|
||||
|
||||
//是否移到回收站 0:是 1:否
|
||||
private Integer isRecycled;
|
||||
//ids
|
||||
|
@ -3,8 +3,9 @@ package cn.iocoder.yudao.module.knowledge.controller.requestdto;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
@ -4,8 +4,8 @@ import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
@ -1,14 +1,14 @@
|
||||
package cn.iocoder.yudao.module.knowledge.controller.requestdto;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@ -66,7 +66,7 @@ public class TCourseRecordsRequest extends PageParam {
|
||||
/**
|
||||
* 是否删除 1:已删除,0:未删除
|
||||
*/
|
||||
private Integer deleted;
|
||||
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
|
@ -4,8 +4,8 @@ import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import javax.validation.Valid;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.knowledge.controller.requestdto;
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
package cn.iocoder.yudao.module.knowledge.controller.requestdto;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@ -85,5 +85,5 @@ public class TExpertRequest extends PageParam {
|
||||
/**
|
||||
* 是否删除 1:已删除,0:未删除
|
||||
*/
|
||||
private Integer deleted;
|
||||
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
package cn.iocoder.yudao.module.knowledge.controller.requestdto;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* 专家专区收藏信息表查询
|
||||
|
@ -1,13 +1,13 @@
|
||||
package cn.iocoder.yudao.module.knowledge.controller.requestdto;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
package cn.iocoder.yudao.module.knowledge.controller.requestdto;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
@ -29,7 +29,7 @@ public class TLawsRequest extends PageParam {
|
||||
//是否归档
|
||||
private Integer isFiling;
|
||||
//是否删除
|
||||
private Integer deleted;
|
||||
|
||||
//预留字段
|
||||
private String lawsA;
|
||||
//1:法律2:行政法规3:部门规章4:地方法规5:地方规章
|
||||
|
@ -52,7 +52,7 @@ public class TMonthlyProjectPurchaseRequest extends PageParam {
|
||||
|
||||
private String identityId;
|
||||
//是否删除
|
||||
private Integer deleted;
|
||||
|
||||
//创建时间
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
|
@ -36,7 +36,7 @@ public class TOtherArchivesRequest extends PageParam {
|
||||
//是否是文件夹 0:文件夹 1:文件
|
||||
private Integer isDir;
|
||||
//是否删除 0:已删除,1:未删除
|
||||
private Integer deleted;
|
||||
|
||||
//是否移到回收站 0:是 1:否
|
||||
private Integer isRecycled;
|
||||
//ids
|
||||
|
@ -5,7 +5,7 @@ import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.SubmitAnswer;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
@ -2,14 +2,14 @@ package cn.iocoder.yudao.module.knowledge.controller.requestdto;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -8,8 +8,8 @@ import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
@ -6,8 +6,8 @@ import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -4,8 +4,8 @@ import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
@ -82,11 +82,6 @@ public class TArchives extends BaseDO {
|
||||
)
|
||||
private Integer isDir;
|
||||
|
||||
@Schema(
|
||||
description = "是否删除 0:已删除,1:未删除",
|
||||
example = "1"
|
||||
)
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(
|
||||
description = "是否移到回收站 0:是 1:否",
|
||||
@ -114,11 +109,6 @@ public class TArchives extends BaseDO {
|
||||
@TableField(exist = false)
|
||||
private FileInfo fileInfo;
|
||||
|
||||
@TableField(
|
||||
fill = FieldFill.INSERT
|
||||
)
|
||||
@ExcelOut(name = "创建时间", sort = 4, width = 30,dateFormat = "yyyy-MM-dd HH:mm")
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
|
||||
|
@ -5,9 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||
import cn.iocoder.yudao.module.knowledge.handler.IdChainTypeHandler;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
@ -33,6 +32,5 @@ public class TCourseDirectory extends BaseDO {
|
||||
@Schema(description = "序号", example = "1")
|
||||
private Integer sequence;
|
||||
|
||||
@TableField(typeHandler = IdChainTypeHandler.class)
|
||||
private List<Long> idChain;
|
||||
}
|
||||
|
@ -73,19 +73,6 @@ public class TExpert extends BaseDO{
|
||||
*/
|
||||
private String post;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更改时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 是否删除 1:已删除,0:未删除
|
||||
*/
|
||||
private Integer deleted;
|
||||
|
||||
}
|
@ -49,12 +49,7 @@ public class TFileInfo extends BaseDO {
|
||||
@Schema(description = "文件长度", example = "1001")
|
||||
private Long fileLenght;
|
||||
|
||||
@TableField(
|
||||
fill = FieldFill.INSERT
|
||||
)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
private Date createTime;
|
||||
|
||||
|
||||
@Schema(description = "绑定Id", example = "1001")
|
||||
private Long bindId;
|
||||
|
@ -75,13 +75,6 @@ public class TLaws extends BaseDO {
|
||||
//1:法律2:行政法规3:部门规章4:地方法规5:地方规章
|
||||
private String type;
|
||||
|
||||
@TableField(
|
||||
fill = FieldFill.INSERT
|
||||
)
|
||||
@ExcelOut(name = "创建时间", sort = 6 ,width = 25,dateFormat = "yyyy-MM-dd HH:mm")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
|
||||
|
@ -32,13 +32,7 @@ public class TMap extends BaseDO {
|
||||
@Schema(description = "创建者id", example = "1001")
|
||||
private String creatorId;
|
||||
|
||||
@TableField(
|
||||
fill = FieldFill.INSERT
|
||||
)
|
||||
@ExcelOut(name = "创建时间", sort = 6 ,width = 25,dateFormat = "yyyy-MM-dd HH:mm")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
private Date createTime;
|
||||
|
||||
|
||||
@Schema(description = "地图图片", example = "1001")
|
||||
private String mapImage;
|
||||
|
@ -47,10 +47,7 @@ public class TMapNode extends BaseDO {
|
||||
@TableField(
|
||||
fill = FieldFill.INSERT
|
||||
)
|
||||
@ExcelOut(name = "创建时间", sort = 6 ,width = 25,dateFormat = "yyyy-MM-dd HH:mm")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
private Date createTime;
|
||||
|
||||
|
||||
@Schema(description = "父级地图节点", example = "list")
|
||||
private Long parentId;
|
||||
|
@ -62,21 +62,14 @@ public class TOperationDocument {
|
||||
@ExcelOut(name = "文件路径", sort = 3, width = 20,isFileUrl = true)
|
||||
private String url;
|
||||
|
||||
@Schema(description = "创建时间",example = "2024-04-19 15:25:35")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ExcelOut(name = "创建时间", sort = 5, width = 30,dateFormat = "yyyy-MM-dd HH:mm")
|
||||
private Date createTime;
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date createTimes;
|
||||
|
||||
@Schema(description = "更改时间",example = "2024-04-19 15:25:35")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
@Schema(description = "文件路径",example = "")
|
||||
private String deleted;
|
||||
|
||||
|
||||
@Schema(description = "x/x",example = "")
|
||||
private String setx;
|
||||
|
@ -82,11 +82,8 @@ public class TOtherArchives extends BaseDO {
|
||||
)
|
||||
private Integer isDir;
|
||||
|
||||
@Schema(
|
||||
description = "是否删除 0:已删除,1:未删除",
|
||||
example = "1"
|
||||
)
|
||||
private Integer deleted;
|
||||
|
||||
|
||||
|
||||
@Schema(
|
||||
description = "是否移到回收站 0:是 1:否",
|
||||
@ -114,11 +111,7 @@ public class TOtherArchives extends BaseDO {
|
||||
@TableField(exist = false)
|
||||
private FileInfo fileInfo;
|
||||
|
||||
@TableField(
|
||||
fill = FieldFill.INSERT
|
||||
)
|
||||
@ExcelOut(name = "创建时间", sort = 4, width = 30,dateFormat = "yyyy-MM-dd HH:mm")
|
||||
private Date createTime;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
package cn.iocoder.yudao.module.knowledge.entity;
|
||||
|
||||
import cn.iocoder.yudao.module.knowledge.handler.IdChainTypeHandler;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
@ -32,7 +31,6 @@ public class TQuestionBank extends BaseDO {
|
||||
private String name;
|
||||
|
||||
private Integer sequence;
|
||||
@TableField(typeHandler = IdChainTypeHandler.class)
|
||||
private List<Long> idChain;
|
||||
|
||||
}
|
||||
|
@ -56,8 +56,7 @@ public class TRegulatoryFramework extends BaseDO {
|
||||
@Schema(description = "是否归档", allowableValues = {"0", "1"}, example = "0")
|
||||
private Integer isFiling;
|
||||
|
||||
@Schema(description = "是否删除", allowableValues = {"0", "1"}, example = "0")
|
||||
private Integer deleted;
|
||||
|
||||
|
||||
@Schema(description = "预留字段A")
|
||||
private String lawsA;
|
||||
@ -72,17 +71,7 @@ public class TRegulatoryFramework extends BaseDO {
|
||||
@Schema(description = "创建者id", example = "1001")
|
||||
private String creatorId;
|
||||
|
||||
@Schema(description = "创建时间", example = "2024-04-15T12:00:00")
|
||||
@TableField(
|
||||
fill = FieldFill.INSERT
|
||||
)
|
||||
@ExcelOut(name = "创建时间", sort = 6 ,width = 25,dateFormat = "yyyy-MM-dd HH:mm")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date createTime;
|
||||
|
||||
@Schema(description = "更改时间", example = "2024-04-15T12:30:00")
|
||||
private Date updateTime;
|
||||
|
||||
@Schema(description = "说明", example = "这是一段说明")
|
||||
private String describeInfo;
|
||||
|
@ -50,14 +50,7 @@ public class TRegulatoryFrameworkExecution extends BaseDO {
|
||||
@Schema(description = "",example = "")
|
||||
private String creatorId;
|
||||
|
||||
@Schema(description = "",example = "2024-04-19 15:25:35")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ExcelOut(name = "创建时间", sort = 3, width = 30,dateFormat = "yyyy-MM-dd HH:mm")
|
||||
private Date createTime;
|
||||
|
||||
@Schema(description = "",example = "2024-04-19 15:25:35")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
@Schema(description = "",example = "")
|
||||
@TableField(exist = false)
|
||||
|
@ -38,8 +38,8 @@ public class TRfeUser {
|
||||
@Schema(description = "",example = "")
|
||||
private String state;
|
||||
|
||||
@Schema(description = "",example = "")
|
||||
private Integer deleted;
|
||||
|
||||
|
||||
|
||||
@Schema(description = "",example = "")
|
||||
private String creator;
|
||||
@ -47,12 +47,4 @@ public class TRfeUser {
|
||||
@Schema(description = "",example = "")
|
||||
private String creatorId;
|
||||
|
||||
@Schema(description = "",example = "2024-04-19 15:25:35")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
||||
@Schema(description = "",example = "2024-04-19 15:25:35")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String updateTime;
|
||||
|
||||
}
|
||||
|
@ -69,14 +69,7 @@ public class TSpecialist extends BaseDO{
|
||||
@Schema(description = "",example = "")
|
||||
private Long expertId;
|
||||
|
||||
@Schema(description = "",example = "")
|
||||
private Date createTime;
|
||||
|
||||
@Schema(description = "",example = "")
|
||||
private Date updateTime;
|
||||
|
||||
@Schema(description = "",example = "")
|
||||
private Integer deleted;
|
||||
@ExcelOut(name = "领域专家", sort = 8, width = 20)
|
||||
@TableField(exist = false)
|
||||
private String tagName;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.iocoder.yudao.module.knowledge.dao;
|
||||
package cn.iocoder.yudao.module.knowledge.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
|
@ -1,12 +1,7 @@
|
||||
package cn.iocoder.yudao.module.knowledge.dao;
|
||||
package cn.iocoder.yudao.module.knowledge.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TOperaDocPage;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TFileInfo;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TOperationDocument;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TProductRawMaterials;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
|
@ -1,12 +1,10 @@
|
||||
package cn.iocoder.yudao.module.knowledge.dao;
|
||||
package cn.iocoder.yudao.module.knowledge.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.DeleteRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TLawsRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TLaws;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TLawsRecord;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.iocoder.yudao.module.knowledge.dao;
|
||||
package cn.iocoder.yudao.module.knowledge.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TLawsRecord;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.iocoder.yudao.module.knowledge.dao;
|
||||
package cn.iocoder.yudao.module.knowledge.mapper;
|
||||
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.MonitorRequestPage;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.RfeuTaskContent;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.iocoder.yudao.module.knowledge.dao;
|
||||
package cn.iocoder.yudao.module.knowledge.mapper;
|
||||
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TRegulatoryFrameworkRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TRegulatoryFramework;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.iocoder.yudao.module.knowledge.dao;
|
||||
package cn.iocoder.yudao.module.knowledge.mapper;
|
||||
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TRegulatoryFrameworkRecord;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
@ -1,7 +1,6 @@
|
||||
package cn.iocoder.yudao.module.knowledge.dao;
|
||||
package cn.iocoder.yudao.module.knowledge.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TLawsRecord;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TViolationImage;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
@ -1,13 +1,12 @@
|
||||
package cn.iocoder.yudao.module.knowledge.dao;
|
||||
package cn.iocoder.yudao.module.knowledge.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TLawsRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TViolationRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TLaws;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TViolation;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TViolationImage;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
@ -18,6 +17,7 @@ import java.util.List;
|
||||
* @author makejava
|
||||
* @since 2024-04-13 14:58:19
|
||||
*/
|
||||
@Mapper
|
||||
public interface TViolationMapper extends BaseMapper<TViolation> {
|
||||
|
||||
IPage<TViolation> getListPage(Page<TViolation> page, @Param("dto") TViolationRequest dto);
|
||||
|
@ -12,7 +12,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import cn.iocoder.yudao.module.knowledge.constants.CodeEnum;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TArchivesRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.dao.TArchivesMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.mapper.TArchivesMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TArchives;
|
||||
import cn.iocoder.yudao.module.knowledge.utils.FileTypeUtils;
|
||||
import cn.iocoder.yudao.module.knowledge.utils.MimeTypeUtils;
|
||||
|
@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.knowledge.service;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import cn.iocoder.yudao.module.knowledge.dao.TFileInfoMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.mapper.TFileInfoMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.*;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cn.iocoder.yudao.module.knowledge.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import cn.iocoder.yudao.module.knowledge.dao.TLawsRecordMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.mapper.TLawsRecordMapper;
|
||||
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TLawsRecord;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
@ -1,23 +1,19 @@
|
||||
package cn.iocoder.yudao.module.knowledge.service;
|
||||
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils;
|
||||
import cn.iocoder.yudao.module.knowledge.constants.Result;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.chalco.zlzn.fr.basic.common.config.ContextGetUtil;
|
||||
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||
import cn.iocoder.yudao.module.knowledge.constants.CodeEnum;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.DeleteRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TArchivesRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TLawsRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.dao.TLawsMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TArchives;
|
||||
import cn.iocoder.yudao.module.knowledge.mapper.TLawsMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TLaws;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TLawsRecord;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TRegulatoryFramework;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@ -85,7 +81,7 @@ public class TLawsService extends ServiceImpl<TLawsMapper, TLaws> {
|
||||
saveData.setLawsId(old.getId());
|
||||
saveData.setFilingTime(new Date());
|
||||
saveData.setId(null);
|
||||
saveData.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
saveData.setCreatorId(SecurityFrameworkUtils.getLoginUserId().toString());
|
||||
saveData.setCreator(SecurityFrameworkUtils.getLoginUserNickname());
|
||||
recordService.save(saveData);
|
||||
// 通信法律法规文件夹
|
||||
@ -111,7 +107,6 @@ public class TLawsService extends ServiceImpl<TLawsMapper, TLaws> {
|
||||
TLaws data =new TLaws();
|
||||
BeanUtils.copyProperties(tLaws,data);
|
||||
data.setCode(generateRandomString());
|
||||
data.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
data.setCreator(SecurityFrameworkUtils.getLoginUserNickname());
|
||||
baseMapper.insert(data);
|
||||
}
|
||||
@ -177,7 +172,7 @@ public class TLawsService extends ServiceImpl<TLawsMapper, TLaws> {
|
||||
saveData.setId(null);
|
||||
saveData.setLawsId(old.getId());
|
||||
saveData.setFilingTime(new Date());
|
||||
saveData.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
saveData.setCreatorId(SecurityFrameworkUtils.getLoginUserId().toString());
|
||||
saveData.setCreator(SecurityFrameworkUtils.getLoginUserNickname());
|
||||
recordService.save(saveData);
|
||||
// 通信法律法规文件夹
|
||||
@ -266,7 +261,6 @@ public class TLawsService extends ServiceImpl<TLawsMapper, TLaws> {
|
||||
for (TLaws record : records) {
|
||||
String format = simpleDateFormat.format(record.getCreateTime());
|
||||
Date date = simpleDateFormat.parse(format);
|
||||
record.setCreateTime(date);
|
||||
}
|
||||
return tLawsIPage;
|
||||
}
|
||||
@ -306,7 +300,7 @@ public class TLawsService extends ServiceImpl<TLawsMapper, TLaws> {
|
||||
saveData.setLawsId(old.getId());
|
||||
saveData.setFilingTime(new Date());
|
||||
saveData.setId(null);
|
||||
saveData.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
saveData.setCreatorId(SecurityFrameworkUtils.getLoginUserId().toString());
|
||||
saveData.setCreator(SecurityFrameworkUtils.getLoginUserNickname());
|
||||
recordService.save(saveData);
|
||||
// 通信法律法规文件夹
|
||||
@ -332,7 +326,6 @@ public class TLawsService extends ServiceImpl<TLawsMapper, TLaws> {
|
||||
TLaws data =new TLaws();
|
||||
BeanUtils.copyProperties(tLaws,data);
|
||||
data.setCode(generateRandomString());
|
||||
data.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
data.setCreator(SecurityFrameworkUtils.getLoginUserNickname());
|
||||
baseMapper.insert(data);
|
||||
}
|
||||
@ -397,7 +390,7 @@ public class TLawsService extends ServiceImpl<TLawsMapper, TLaws> {
|
||||
saveData.setId(null);
|
||||
saveData.setLawsId(old.getId());
|
||||
saveData.setFilingTime(new Date());
|
||||
saveData.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
saveData.setCreatorId(SecurityFrameworkUtils.getLoginUserId().toString());
|
||||
saveData.setCreator(SecurityFrameworkUtils.getLoginUserNickname());
|
||||
recordService.save(saveData);
|
||||
// 通信法律法规文件夹
|
||||
|
@ -1,10 +1,9 @@
|
||||
package com.chalco.zlzn.server.providerknowledge.service;
|
||||
package cn.iocoder.yudao.module.knowledge.service;
|
||||
|
||||
import cn.iocoder.yudao.module.knowledge.mapper.TRegulatoryFrameworkRecordMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TRegulatoryFrameworkRecord;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.chalco.zlzn.server.providerknowledge.dao.TLawsRecordMapper;
|
||||
import com.chalco.zlzn.server.providerknowledge.dao.TRegulatoryFrameworkRecordMapper;
|
||||
import com.chalco.zlzn.server.providerknowledge.entity.TLawsRecord;
|
||||
import com.chalco.zlzn.server.providerknowledge.entity.TRegulatoryFrameworkRecord;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
|
@ -1,31 +1,33 @@
|
||||
package com.chalco.zlzn.server.providerknowledge.service;
|
||||
package cn.iocoder.yudao.module.knowledge.service;
|
||||
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||
import cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils;
|
||||
import cn.iocoder.yudao.module.knowledge.constants.CodeEnum;
|
||||
import cn.iocoder.yudao.module.knowledge.constants.Result;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TArchivesRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TRegulatoryFrameworkRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.mapper.TRegulatoryFrameworkMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TRegulatoryFramework;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TRegulatoryFrameworkRecord;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.chalco.zlzn.fr.basic.common.config.ContextGetUtil;
|
||||
import com.chalco.zlzn.fr.basic.common.constants.Result;
|
||||
import com.chalco.zlzn.fr.starter.mybatis.handle.BaseDO;
|
||||
;
|
||||
import com.chalco.zlzn.server.providerknowledge.constants.CodeEnum;
|
||||
import com.chalco.zlzn.server.providerknowledge.controller.requestdto.TArchivesRequest;
|
||||
import com.chalco.zlzn.server.providerknowledge.controller.requestdto.TRegulatoryFrameworkRequest;
|
||||
import com.chalco.zlzn.server.providerknowledge.dao.TRegulatoryFrameworkMapper;
|
||||
import com.chalco.zlzn.server.providerknowledge.entity.*;
|
||||
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.text.DateFormat;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
;
|
||||
|
||||
/**
|
||||
* 规章制度表(TRegulatoryFramework)表服务实现类
|
||||
*
|
||||
@ -78,8 +80,8 @@ public class TRegulatoryFrameworkService extends ServiceImpl<TRegulatoryFramewor
|
||||
saveData.setLawsId(old.getId());
|
||||
saveData.setFilingTime(new Date());
|
||||
saveData.setId(null);
|
||||
saveData.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
saveData.setCreator(ContextGetUtil.getNickname());
|
||||
saveData.setCreatorId(SecurityFrameworkUtils.getLoginUserId().toString());
|
||||
saveData.setCreator(SecurityFrameworkUtils.getLoginUserNickname());
|
||||
recordService.save(saveData);
|
||||
noticeFolder(old,193l,"1");
|
||||
}
|
||||
@ -96,9 +98,6 @@ public class TRegulatoryFrameworkService extends ServiceImpl<TRegulatoryFramewor
|
||||
BeanUtils.copyProperties(regulatoryFrameworkRequest,data);
|
||||
data.setCode(generateRandomString());
|
||||
data.setIsFiling(0);
|
||||
data.setDeleted(0);
|
||||
data.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
data.setCreator(ContextGetUtil.getNickname());
|
||||
baseMapper.insert(data);
|
||||
// noticeFolder(data,193l,"0");
|
||||
}
|
||||
@ -146,8 +145,8 @@ public class TRegulatoryFrameworkService extends ServiceImpl<TRegulatoryFramewor
|
||||
saveData.setId(null);
|
||||
saveData.setLawsId(old.getId());
|
||||
saveData.setFilingTime(new Date());
|
||||
saveData.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
saveData.setCreator(ContextGetUtil.getNickname());
|
||||
saveData.setCreatorId(SecurityFrameworkUtils.getLoginUserId().toString());
|
||||
saveData.setCreator(SecurityFrameworkUtils.getLoginUserNickname());
|
||||
recordService.save(saveData);
|
||||
noticeFolder(old,193l,"1");
|
||||
|
||||
@ -255,7 +254,7 @@ public class TRegulatoryFrameworkService extends ServiceImpl<TRegulatoryFramewor
|
||||
for (TRegulatoryFramework record : records) {
|
||||
String format = simpleDateFormat.format(record.getCreateTime());
|
||||
Date date = simpleDateFormat.parse(format);
|
||||
record.setCreateTime(date);
|
||||
|
||||
}
|
||||
return tRegulatoryFrameworkIPage;
|
||||
}
|
||||
@ -292,8 +291,8 @@ public class TRegulatoryFrameworkService extends ServiceImpl<TRegulatoryFramewor
|
||||
saveData.setLawsId(old.getId());
|
||||
saveData.setFilingTime(new Date());
|
||||
saveData.setId(null);
|
||||
saveData.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
saveData.setCreator(ContextGetUtil.getNickname());
|
||||
saveData.setCreatorId(SecurityFrameworkUtils.getLoginUserId().toString());
|
||||
saveData.setCreator(SecurityFrameworkUtils.getLoginUserNickname());
|
||||
recordService.save(saveData);
|
||||
noticeFolder(old,193l,"1");
|
||||
}
|
||||
@ -310,9 +309,6 @@ public class TRegulatoryFrameworkService extends ServiceImpl<TRegulatoryFramewor
|
||||
BeanUtils.copyProperties(regulatoryFrameworkRequest,data);
|
||||
data.setCode(generateRandomString());
|
||||
data.setIsFiling(0);
|
||||
data.setDeleted(0);
|
||||
data.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
data.setCreator(ContextGetUtil.getNickname());
|
||||
baseMapper.insert(data);
|
||||
// noticeFolder(data,193l,"0");
|
||||
}
|
||||
@ -359,8 +355,8 @@ public class TRegulatoryFrameworkService extends ServiceImpl<TRegulatoryFramewor
|
||||
saveData.setId(null);
|
||||
saveData.setLawsId(old.getId());
|
||||
saveData.setFilingTime(new Date());
|
||||
saveData.setCreatorId(ContextGetUtil.getIdentityId());
|
||||
saveData.setCreator(ContextGetUtil.getNickname());
|
||||
saveData.setCreatorId(SecurityFrameworkUtils.getLoginUserId().toString());
|
||||
saveData.setCreator(SecurityFrameworkUtils.getLoginUserNickname());
|
||||
recordService.save(saveData);
|
||||
noticeFolder(old,193l,"1");
|
||||
|
||||
|
@ -1,10 +1,7 @@
|
||||
package cn.iocoder.yudao.module.knowledge.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import cn.iocoder.yudao.module.knowledge.dao.TLawsRecordMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.dao.TViolationImageMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.dao.TViolationMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TLawsRecord;
|
||||
import cn.iocoder.yudao.module.knowledge.mapper.TViolationImageMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TViolationImage;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
@ -1,30 +1,19 @@
|
||||
package cn.iocoder.yudao.module.knowledge.service;
|
||||
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils;
|
||||
import cn.iocoder.yudao.module.knowledge.constants.Result;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
||||
|
||||
import cn.iocoder.yudao.module.system.api.user.AdminUserApi;
|
||||
import cn.iocoder.yudao.module.system.api.user.dto.AdminUserRespDTO;
|
||||
import cn.iocoder.yudao.module.knowledge.constants.CodeEnum;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.BidManagementRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TArchivesRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TLawsRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.controller.requestdto.TViolationRequest;
|
||||
import cn.iocoder.yudao.module.knowledge.dao.TViolationImageMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.mapper.TViolationImageMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TViolation;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TLawsRecord;
|
||||
import cn.iocoder.yudao.module.knowledge.entity.TViolationImage;
|
||||
import cn.iocoder.yudao.module.knowledge.dao.TViolationMapper;
|
||||
import cn.iocoder.yudao.module.knowledge.mapper.TViolationMapper;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
@ -33,21 +33,14 @@ import java.util.List;
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ExcelUtils {
|
||||
@Value("${request_prefix}")
|
||||
private String request_prefix;
|
||||
@Value("${request_token}")
|
||||
private String request_token;
|
||||
|
||||
private String token_prefix = "&Authorization=Bearer ";
|
||||
|
||||
|
||||
|
||||
|
||||
public static String PRIVATE_KEY;
|
||||
public static String REQUEST_TOKEN;
|
||||
@PostConstruct
|
||||
public void init() {
|
||||
PRIVATE_KEY = this.request_prefix;
|
||||
REQUEST_TOKEN = this.token_prefix + this.request_token;
|
||||
}
|
||||
|
||||
|
||||
private final static Logger logger = LoggerFactory.getLogger(ExcelUtils.class);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.KnowledgeStatisticsMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.KnowledgeStatisticsMapper">
|
||||
<resultMap id="BaseResultMap" type="cn.iocoder.yudao.module.knowledge.entity.TLaws">
|
||||
<id column="ID" property="id" jdbcType="BIGINT"/>
|
||||
<result column="CODE" property="code" jdbcType="VARCHAR"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.RRfeuTaskFileMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.RRfeuTaskFileMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.RRfeuTaskFile" id="rRfeuTaskFileMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.RfeuTaskContentMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.RfeuTaskContentMapper">
|
||||
|
||||
<select id="getListBy" resultType="cn.iocoder.yudao.module.knowledge.entity.RfeuTaskContent"
|
||||
parameterType="java.lang.Long">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TArchivesMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TArchivesMapper">
|
||||
|
||||
|
||||
<select id="selectTArchivesList" parameterType="cn.iocoder.yudao.module.knowledge.entity.TArchives"
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TBidConfirmationCandidateMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TBidConfirmationCandidateMapper">
|
||||
|
||||
|
||||
<select id="selectByConfirmId" resultType="cn.iocoder.yudao.module.knowledge.entity.TBidConfirmationCandidate">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TBidConfirmationMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TBidConfirmationMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TBidConfirmation" id="tBidConfirmationMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TBidPlanMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TBidPlanMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TBidPlan" id="tBidPlanMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TCourseMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TCourseMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TCourse" id="tCourseMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TCoursePushMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TCoursePushMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TCoursePush" id="tCoursePushMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TCourseRecordsMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TCourseRecordsMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TCourseRecords" id="tCourseRecordsMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TCoursewareMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TCoursewareMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TCourseware" id="tCoursewareMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TExpertMaintenanceMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TExpertMaintenanceMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TExpertMaintenance" id="tExpertMaintenanceMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TExpertMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TExpertMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TExpert" id="tExpertMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TExpertZoneCollectionMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TExpertZoneCollectionMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TExpertZoneCollection" id="tExpertZoneCollectionMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TExpertZoneCommentMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TExpertZoneCommentMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TExpertZoneComment" id="tExpertZoneCommentMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TExpertZoneMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TExpertZoneMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TExpertZone" id="tExpertZoneMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TFileInfoMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TFileInfoMapper">
|
||||
|
||||
|
||||
<select id="selectByPlanId" resultType="cn.iocoder.yudao.module.knowledge.entity.TFileInfo">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TLawsMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TLawsMapper">
|
||||
<resultMap id="BaseResultMap" type="cn.iocoder.yudao.module.knowledge.entity.TLaws">
|
||||
<id column="ID" property="id" jdbcType="BIGINT"/>
|
||||
<result column="CODE" property="code" jdbcType="VARCHAR"/>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TMapImageMapper" >
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TMapImageMapper" >
|
||||
|
||||
|
||||
<select id="selectByMapId" resultType="cn.iocoder.yudao.module.knowledge.entity.TMapImage">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TMapMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TMapMapper">
|
||||
|
||||
|
||||
<select id="getListPage" resultType="cn.iocoder.yudao.module.knowledge.entity.TMap">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TMapNodeMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TMapNodeMapper">
|
||||
|
||||
|
||||
<select id="selectByMapId" resultType="cn.iocoder.yudao.module.knowledge.entity.TMapNode">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TMonthlyProjectPurchaseMapper" >
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TMonthlyProjectPurchaseMapper" >
|
||||
|
||||
<!-- 用于select查询公用抽取的列 -->
|
||||
<sql id="columns">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TNotProcurementBidMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TNotProcurementBidMapper">
|
||||
|
||||
|
||||
<select id="selectByPlanId" resultType="cn.iocoder.yudao.module.knowledge.entity.TNotProcurementBid">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TOperaDocMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TOperaDocMapper">
|
||||
|
||||
<sql id="column">
|
||||
id,cn_name,en_name,version,file_code,file_name,qr_code,tag,create_time,update_time,url,setx,file_size
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TOperationProCoreMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TOperationProCoreMapper">
|
||||
|
||||
|
||||
<update id="updateByCode">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TOperationProMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TOperationProMapper">
|
||||
|
||||
<update id="updateByCode">
|
||||
UPDATE t_operation_procedure
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TOtherArchivesMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TOtherArchivesMapper">
|
||||
|
||||
|
||||
<select id="selectTArchivesList" parameterType="cn.iocoder.yudao.module.knowledge.entity.TOtherArchives"
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TProcurementBidMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TProcurementBidMapper">
|
||||
|
||||
|
||||
<select id="selectByPlanId" resultType="cn.iocoder.yudao.module.knowledge.entity.TProcurementBid">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TProductRawMatMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TProductRawMatMapper">
|
||||
|
||||
|
||||
<update id="updateByCode">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TQuestionAnswersMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TQuestionAnswersMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TQuestionAnswers" id="tQuestionAnswersMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TQuestionStemMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TQuestionStemMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TQuestionStem" id="tQuestionStemMaps">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TRegulatoryFrameworkExecutionMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TRegulatoryFrameworkExecutionMapper">
|
||||
|
||||
|
||||
<select id="selectPageMonitor" parameterType="cn.iocoder.yudao.module.knowledge.controller.requestdto.MonitorRequestPage"
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TRegulatoryFrameworkMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TRegulatoryFrameworkMapper">
|
||||
|
||||
<sql id="column">
|
||||
id,CODE,NAME,version,file_url,file_size,file_name,filing_time,is_filing,deleted,laws_a,laws_b,creator,creator_id,create_time,update_time,dept_id,identity_id,describe_info,tenant_id,type
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TRevisionMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TRevisionMapper">
|
||||
|
||||
<update id="updateByCode">
|
||||
UPDATE t_revision
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TRfeContentMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TRfeContentMapper">
|
||||
|
||||
<update id="updateById">
|
||||
UPDATE t_rfe_content
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TRfeUserMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TRfeUserMapper">
|
||||
|
||||
<update id="updateByCode">
|
||||
UPDATE t_rfe_user
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TRfeuTaskMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TRfeuTaskMapper">
|
||||
|
||||
<update id="updateByCode">
|
||||
UPDATE t_rfeu_task
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TSpecialistMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TSpecialistMapper">
|
||||
|
||||
|
||||
<select id="selectPageTS" parameterType="cn.iocoder.yudao.module.knowledge.controller.requestdto.ExpertRequestPage"
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TTestPaperAnswerSheetMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TTestPaperAnswerSheetMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TTestPaperAnswerSheet"
|
||||
id="tTestPaperAnswerSheetMap">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TTestPaperInfoMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TTestPaperInfoMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TTestPaperInfo" id="tTestPaperInfoMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TTestPaperQuestionStemMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TTestPaperQuestionStemMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TTestPaperQuestionStem"
|
||||
id="tTestPaperQuestionStemMap">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TTrainMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TTrainMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TTrain" id="tTrainMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TTrainMaterialMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TTrainMaterialMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TTrainMaterial" id="tTrainMaterialMap">
|
||||
<result property="id" column="id"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?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="cn.iocoder.yudao.module.knowledge.dao.TTrainRecordMapper">
|
||||
<mapper namespace="cn.iocoder.yudao.module.knowledge.mapper.TTrainRecordMapper">
|
||||
|
||||
<resultMap type="cn.iocoder.yudao.module.knowledge.entity.TTrainRecord" id="tTrainRecordMap">
|
||||
<result property="id" column="id"/>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user