【删除】注释掉以前拉过来的无用代码:文档库、文档库阶段分析、旧收藏、旧搜索中心、旧的状态自动更新日志

【修改】对外报告注释整体修改为资料中心
This commit is contained in:
zer0Black
2023-09-29 15:03:27 +08:00
parent 40cfad714b
commit 6e84e2dd64
49 changed files with 9459 additions and 9645 deletions
@@ -2,7 +2,7 @@ package com.jero.modules.document.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jero.modules.document.entity.BussDocumentLibraryEO;
//import com.jero.modules.document.entity.BussDocumentLibraryEO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -14,89 +14,90 @@ import java.util.Map;
* @Date: 2022-01-21
* @Version: V1.0
*/
public interface BussDocumentLibraryEOMapper extends BaseMapper<BussDocumentLibraryEO> {
int insertInfo(@Param("insertField") String insertField,
@Param("insertValue") String insertValue);
/**
* 分页查询
*
* @param page
* @param field
* @param condition
* @return
*/
IPage<Map<String,Object>> getInfoPage(@Param("page") IPage<Map<String,Object>> page,
@Param("field") String field,
@Param("condition") String condition);
/**
* 列表查询
*
* @param
* @param field
* @param condition
* @return
*/
List<Map<String, Object>> getInfoList(@Param("field") String field,
@Param("condition") String condition);
/**
* 代替标准分页
*
* @param page
* @param field
* @param condition
* @return
*/
IPage<Map<String, Object>> replacePageInfo(@Param("page") IPage page,
@Param("field") String field,
@Param("condition") String condition);
/**
* ocr识别调取已入库文件分页
*
* @param page
* @param field
* @param condition
* @return
*/
List<Map<String, Object>> ocrPageInfo(
@Param("field") String field,
@Param("condition") String condition);
/**
* 根据代替标准列表查询
*
* @param
* @param replaceStandard
* @return
*/
List<Map<String, Object>> getInfoListByReplaceStandard(@Param("replaceStandard") String replaceStandard);
@Deprecated
public interface BussDocumentLibraryEOMapper extends BaseMapper<Object> {
// int insertInfo(@Param("insertField") String insertField,
// @Param("insertValue") String insertValue);
//
// /**
// * 分页查询
// *
// * @param page
// * @param field
// * @param condition
// * @return
// */
// IPage<Map<String,Object>> getInfoPage(@Param("page") IPage<Map<String,Object>> page,
// @Param("field") String field,
// @Param("condition") String condition);
//
//
// /**
// * 列表查询
// *
// * @param
// * @param field
// * @param condition
// * @return
// */
// List<Map<String, Object>> getInfoList(@Param("field") String field,
// @Param("condition") String condition);
//
// /**
// * 代替标准分页
// *
// * @param page
// * @param field
// * @param condition
// * @return
// */
// IPage<Map<String, Object>> replacePageInfo(@Param("page") IPage page,
// @Param("field") String field,
// @Param("condition") String condition);
//
// /**
// * ocr识别调取已入库文件分页
// *
// * @param page
// * @param field
// * @param condition
// * @return
// */
// List<Map<String, Object>> ocrPageInfo(
// @Param("field") String field,
// @Param("condition") String condition);
//
//
// /**
// * 根据代替标准列表查询
// *
// * @param
// * @param replaceStandard
// * @return
// */
// List<Map<String, Object>> getInfoListByReplaceStandard(@Param("replaceStandard") String replaceStandard);
//
//
List<Map<String,Object>> getListBySerialNumber(@Param("serialNumbers") String serialNumbers);
List<String> getListBySerialNumberFuzzy(@Param("serialNumber") String serialNumber);
List<Map<String,Object>> selectMapsAll(@Param("ids") String ids);
List<Map<String,Object>> selectMapsAllBySerialNumber(@Param("serialNumberList") String serialNumberList);
List<Map<String,Object>> getListInfo(@Param("condition") String condition);
List<Map<String,Object>> selectMapsByDeleteIds(@Param("id") String id);
void updateByDeleteId(@Param("correspondingStandardStr") String correspondingStandardStr,
@Param("replaceStandardStr") String replaceStandardStr,
@Param("id") String id );
List<Map<String, Object>> queryListByIds(@Param("ids") String ids);
BussDocumentLibraryEO getBySerialNumber(@Param("serialNumber") String serialNumber);
// List<Map<String,Object>> selectMapsAll(@Param("ids") String ids);
//
// List<Map<String,Object>> selectMapsAllBySerialNumber(@Param("serialNumberList") String serialNumberList);
//
// List<Map<String,Object>> getListInfo(@Param("condition") String condition);
//
// List<Map<String,Object>> selectMapsByDeleteIds(@Param("id") String id);
//
// void updateByDeleteId(@Param("correspondingStandardStr") String correspondingStandardStr,
// @Param("replaceStandardStr") String replaceStandardStr,
// @Param("id") String id );
// List<Map<String, Object>> queryListByIds(@Param("ids") String ids);
//
// BussDocumentLibraryEO getBySerialNumber(@Param("serialNumber") String serialNumber);
}
@@ -1,14 +1,14 @@
package com.jero.modules.document.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jero.modules.document.entity.PhasedImplementationDetailsEO;
/**
* @Description: 文档库-分阶段实施详情表
* @Author: jero-boot
* @Date: 2023-02-22
* @Version: V1.0
*/
public interface PhasedImplementationDetailsEOMapper extends BaseMapper<PhasedImplementationDetailsEO> {
}
//package com.jero.modules.document.mapper;
//
//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
//import com.jero.modules.document.entity.PhasedImplementationDetailsEO;
//
///**
// * @Description: 文档库-分阶段实施详情表
// * @Author: jero-boot
// * @Date: 2023-02-22
// * @Version: V1.0
// */
//public interface PhasedImplementationDetailsEOMapper extends BaseMapper<PhasedImplementationDetailsEO> {
//
//}
@@ -1,123 +1,123 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.jero.modules.document.mapper.BussDocumentLibraryEOMapper">
<resultMap id="BussDocumentLibraryEOResultMap" type="com.jero.modules.document.entity.BussDocumentLibraryEO">
<id column="id" property="id" />
<id column="serial_number" property="serialNumber" />
<id column="title" property="title" />
<id column="title_en" property="titleEn" />
<id column="shi4_yong4_fan4_wei2" property="shi4Yong4Fan4Wei2" />
<id column="state" property="state" />
<id column="technology_territory" property="technologyTerritory" />
<id column="xin1_che1_xing2_shi2_shi1_ri4_qi1" property="xin1Che1Xing2Shi2Shi1Ri4Qi1" />
<id column="implement_time" property="implementTime" />
<id column="corresponding_standard" property="correspondingStandard" />
<id column="lei4_bie2" property="lei4Bie2" />
</resultMap>
<!-- <resultMap id="BussDocumentLibraryEOResultMap" type="com.jero.modules.document.entity.BussDocumentLibraryEO">-->
<!-- <id column="id" property="id" />-->
<!-- <id column="serial_number" property="serialNumber" />-->
<!-- <id column="title" property="title" />-->
<!-- <id column="title_en" property="titleEn" />-->
<!-- <id column="shi4_yong4_fan4_wei2" property="shi4Yong4Fan4Wei2" />-->
<!-- <id column="state" property="state" />-->
<!-- <id column="technology_territory" property="technologyTerritory" />-->
<!-- <id column="xin1_che1_xing2_shi2_shi1_ri4_qi1" property="xin1Che1Xing2Shi2Shi1Ri4Qi1" />-->
<!-- <id column="implement_time" property="implementTime" />-->
<!-- <id column="corresponding_standard" property="correspondingStandard" />-->
<!-- <id column="lei4_bie2" property="lei4Bie2" />-->
<!-- </resultMap>-->
<insert id="insertInfo">
insert into buss_document_library(${insertField})
values (${insertValue})
</insert>
<!-- <insert id="insertInfo">-->
<!-- insert into buss_document_library(${insertField})-->
<!-- values (${insertValue})-->
<!-- </insert>-->
<!--分页-->
<select id="getInfoPage" resultType="java.util.LinkedHashMap">
select ${field} from buss_document_library
${condition}
</select>
<!--列表-->
<select id="getInfoList" resultType="java.util.LinkedHashMap">
select ${field} from buss_document_library
${condition}
</select>
<!--代替标准分页-->
<select id="replacePageInfo" resultType="java.util.LinkedHashMap">
select ${field} from buss_document_library
${condition}
</select>
<!--ocr识别调取已入库文件分页-->
<select id="ocrPageInfo" resultType="java.util.LinkedHashMap">
select ${field}
${condition}
</select>
<!--根据代替标准列表查询-->
<select id="getInfoListByReplaceStandard" resultType="java.util.LinkedHashMap">
select * from buss_document_library
where 1=1
<if test="replaceStandard != null" >
and replace_standard in
<foreach collection="replaceStandard.split(',')" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
</select>
<!--根据编码列表查询-->
<select id="getListBySerialNumber" resultType="java.util.LinkedHashMap">
select * from buss_document_library
where 1=1
<if test="serialNumbers != null" >
and serial_number in
<foreach collection="serialNumbers.split(',')" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
</select>
<!-- &lt;!&ndash;分页&ndash;&gt;-->
<!-- <select id="getInfoPage" resultType="java.util.LinkedHashMap">-->
<!-- select ${field} from buss_document_library-->
<!-- ${condition}-->
<!-- </select>-->
<!-- &lt;!&ndash;列表&ndash;&gt;-->
<!-- <select id="getInfoList" resultType="java.util.LinkedHashMap">-->
<!-- select ${field} from buss_document_library-->
<!-- ${condition}-->
<!-- </select>-->
<!-- &lt;!&ndash;代替标准分页&ndash;&gt;-->
<!-- <select id="replacePageInfo" resultType="java.util.LinkedHashMap">-->
<!-- select ${field} from buss_document_library-->
<!-- ${condition}-->
<!-- </select>-->
<!-- &lt;!&ndash;ocr识别调取已入库文件分页&ndash;&gt;-->
<!-- <select id="ocrPageInfo" resultType="java.util.LinkedHashMap">-->
<!-- select ${field}-->
<!-- ${condition}-->
<!-- </select>-->
<!-- &lt;!&ndash;根据代替标准列表查询&ndash;&gt;-->
<!-- <select id="getInfoListByReplaceStandard" resultType="java.util.LinkedHashMap">-->
<!-- select * from buss_document_library-->
<!-- where 1=1-->
<!-- <if test="replaceStandard != null" >-->
<!-- and replace_standard in-->
<!-- <foreach collection="replaceStandard.split(',')" index="index" item="item" open="(" separator="," close=")">-->
<!-- #{item}-->
<!-- </foreach>-->
<!-- </if>-->
<!-- </select>-->
<!-- &lt;!&ndash;根据编码列表查询&ndash;&gt;-->
<!-- <select id="getListBySerialNumber" resultType="java.util.LinkedHashMap">-->
<!-- select * from buss_document_library-->
<!-- where 1=1-->
<!-- <if test="serialNumbers != null" >-->
<!-- and serial_number in-->
<!-- <foreach collection="serialNumbers.split(',')" index="index" item="item" open="(" separator="," close=")">-->
<!-- #{item}-->
<!-- </foreach>-->
<!-- </if>-->
<!-- </select>-->
<select id="getListBySerialNumberFuzzy" resultType="java.lang.String">
select id from buss_document_library
where serial_number like concat(concat('%',#{serialNumber}),'%')
</select>
<!-- <select id="getListBySerialNumberFuzzy" resultType="java.lang.String">-->
<!-- select id from buss_document_library-->
<!-- where serial_number like concat(concat('%',#{serialNumber}),'%')-->
<!-- </select>-->
<!--分页-->
<select id="selectMapsAll" resultType="java.util.LinkedHashMap">
select * from buss_document_library
where 1=1
<if test="ids != null" >
and id in
<foreach collection="ids.split(',')" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
</select>
<!-- &lt;!&ndash;分页&ndash;&gt;-->
<!-- <select id="selectMapsAll" resultType="java.util.LinkedHashMap">-->
<!-- select * from buss_document_library-->
<!-- where 1=1-->
<!-- <if test="ids != null" >-->
<!-- and id in-->
<!-- <foreach collection="ids.split(',')" index="index" item="item" open="(" separator="," close=")">-->
<!-- #{item}-->
<!-- </foreach>-->
<!-- </if>-->
<!-- </select>-->
<select id="selectMapsAllBySerialNumber" resultType="java.util.LinkedHashMap">
select * from buss_document_library
where 1=1
<if test="serialNumberList != null" >
and serial_number in
<foreach collection="serialNumberList.split(',')" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
</select>
<!-- <select id="selectMapsAllBySerialNumber" resultType="java.util.LinkedHashMap">-->
<!-- select * from buss_document_library-->
<!-- where 1=1-->
<!-- <if test="serialNumberList != null" >-->
<!-- and serial_number in-->
<!-- <foreach collection="serialNumberList.split(',')" index="index" item="item" open="(" separator="," close=")">-->
<!-- #{item}-->
<!-- </foreach>-->
<!-- </if>-->
<!-- </select>-->
<select id="getListInfo" resultType="java.util.LinkedHashMap">
select * from buss_document_library
where ${condition}
</select>
<!-- <select id="getListInfo" resultType="java.util.LinkedHashMap">-->
<!-- select * from buss_document_library-->
<!-- where ${condition}-->
<!-- </select>-->
<select id="selectMapsByDeleteIds" resultType="java.util.LinkedHashMap">
select * from buss_document_library
where corresponding_standard like concat(concat('%',#{id}),'%')
or replace_standard like concat(concat('%',#{id}),'%')
</select>
<!-- <select id="selectMapsByDeleteIds" resultType="java.util.LinkedHashMap">-->
<!-- select * from buss_document_library-->
<!-- where corresponding_standard like concat(concat('%',#{id}),'%')-->
<!-- or replace_standard like concat(concat('%',#{id}),'%')-->
<!-- </select>-->
<update id="updateByDeleteId">
update buss_document_library set
corresponding_standard =#{correspondingStandardStr},replace_standard=#{replaceStandardStr}
where id=#{id}
</update>
<!-- <update id="updateByDeleteId">-->
<!-- update buss_document_library set-->
<!-- corresponding_standard =#{correspondingStandardStr},replace_standard=#{replaceStandardStr}-->
<!-- where id=#{id}-->
<!-- </update>-->
<select id="queryListByIds" resultType="java.util.LinkedHashMap">
select * from buss_document_library
where id in
<foreach collection="ids.split(',')" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</select>
<!-- <select id="queryListByIds" resultType="java.util.LinkedHashMap">-->
<!-- select * from buss_document_library-->
<!-- where id in-->
<!-- <foreach collection="ids.split(',')" index="index" item="item" open="(" separator="," close=")">-->
<!-- #{item}-->
<!-- </foreach>-->
<!-- </select>-->
<select id="getBySerialNumber" resultType="com.jero.modules.document.entity.BussDocumentLibraryEO">
select * from buss_document_library
where serial_number =#{serialNumber}
</select>
<!-- <select id="getBySerialNumber" resultType="com.jero.modules.document.entity.BussDocumentLibraryEO">-->
<!-- select * from buss_document_library-->
<!-- where serial_number =#{serialNumber}-->
<!-- </select>-->
</mapper>
@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.jero.modules.document.mapper.PhasedImplementationDetailsEOMapper">
</mapper>