提交 a797ca77 作者: liuweigang

科工局项目后台

上级 a6e17f38
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Zeppelin ignored files
/ZeppelinRemoteNotebooks/
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile default="true" name="Default" enabled="true" />
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="zzsn-cloud-system-api" />
<module name="zzsn-common-cloud" />
<module name="zzsn-cloud-gateway" />
<module name="zzsn-common-core" />
<module name="zzsn-common-cloud-starter" />
<module name="zzsn-cloud-system-biz" />
</profile>
</annotationProcessing>
</component>
<component name="JavacSettings">
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
<module name="zzsn-cloud-gateway" options="-parameters" />
<module name="zzsn-cloud-system-api" options="-parameters" />
<module name="zzsn-cloud-system-biz" options="-parameters" />
<module name="zzsn-common" options="" />
<module name="zzsn-common-cloud" options="-parameters" />
<module name="zzsn-common-cloud-starter" options="-parameters" />
<module name="zzsn-common-core" options="-parameters" />
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/zzsn-cloud-gateway/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/zzsn-cloud-system/zzsn-cloud-system-api/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/zzsn-cloud-system/zzsn-cloud-system-biz/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/zzsn-common/zzsn-common-cloud/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/zzsn-common/zzsn-common-core/src/main/java" charset="UTF-8" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RemoteRepositoriesConfiguration">
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Central Repository" />
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public/" />
</remote-repository>
<remote-repository>
<option name="id" value="aliyun" />
<option name="name" value="aliyun Repository" />
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public" />
</remote-repository>
<remote-repository>
<option name="id" value="jeecg" />
<option name="name" value="jeecg Repository" />
<option name="url" value="http://maven.jeecg.org/nexus/content/repositories/jeecg" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Maven Central repository" />
<option name="url" value="https://repo1.maven.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="jboss.community" />
<option name="name" value="JBoss Community repository" />
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
</remote-repository>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JpaBuddyIdeaProjectConfig">
<option name="defaultUnitInitialized" value="true" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
<component name="ProjectType">
<option name="id" value="jpab" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
</set>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -145,7 +145,8 @@
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.69</version>
<version>1.2.83</version>
<!--<version>1.2.69</version>-->
</dependency>
<!--mysql-->
......
......@@ -82,7 +82,7 @@ jeecg :
#Mybatis输出sql日志
logging:
level:
com.zzsn.modules.kgj.mapper : debug
com.zzsn.modules.kgj.mapper : error
#cas单点登录
cas:
prefixUrl: http://cas.example.org:8443/cas
......@@ -243,6 +243,7 @@ spring:
#password: cis
# driver-class-name: oracle.jdbc.driver.OracleDriver
url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
# url: jdbc:oracle:thin:@192.168.1.65:1521:orcl
username: kegongju
password: kegongju
driver-class-name: oracle.jdbc.driver.OracleDriver
......
......@@ -82,7 +82,7 @@ jeecg :
#Mybatis输出sql日志
logging:
level:
com.zzsn.modules.kgj.mapper : debug
com.zzsn.modules.kgj.mapper : error
#cas单点登录
cas:
prefixUrl: http://cas.example.org:8443/cas
......@@ -237,14 +237,15 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource:
master:
url: jdbc:oracle:thin:@1.203.103.158:1521:orcl
#url: jdbc:oracle:thin:@1.203.103.158:1521:orcl
#url: jdbc:oracle:thin:@192.168.10.10:1521:orcl
username: cis
password: cis
#username: cis
#password: cis
# driver-class-name: oracle.jdbc.driver.OracleDriver
#url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
#username: kegongju
#password: kegongju
url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
# url: jdbc:oracle:thin:@192.168.1.65:1521:orcl
username: kegongju
password: kegongju
driver-class-name: oracle.jdbc.driver.OracleDriver
# 多数据源配置
# multi-datasource1:
......
......@@ -91,8 +91,12 @@
SELECT count(1)
FROM cis_ans_basedata b
left JOIN cis_ans_basedata_type t ON t.bid = b.id
<if test=" (list!=null and list.size>0) or (siteId != null and siteId != '')">
left JOIN CIS_BASEDATA_WEB_MID m on b.ID=m.BID
</if>
<if test=" list!=null and list.size>0 ">
left JOIN CIS_COL_SITE_TYPE_MID s on s.SITEID =m.WEB_ID
</if>
WHERE t.tid = 16865 AND b.id>20092000000000 AND t.org_id=3942
<if test="publishDate_begin!=null and publishDate_begin!=''">
AND t.publish_date > #{publishDate_begin}
......@@ -113,6 +117,40 @@
and m.WEB_ID = #{siteId}
</if>
</select>
<select id="getCisAnsBasedataCountByscore" parameterType="Map" resultType="java.lang.Integer">
SELECT count(1)
FROM cis_ans_basedata b
left JOIN cis_ans_basedata_type t ON t.bid = b.id
<if test=" (list!=null and list.size>0) or (siteId != null and siteId != '')">
left JOIN CIS_BASEDATA_WEB_MID m on b.ID=m.BID
</if>
<if test=" list!=null and list.size>0">
left JOIN CIS_COL_SITE_TYPE_MID s on s.SITEID =m.WEB_ID
</if>
WHERE t.tid = 16865 AND b.id>20092000000000 AND t.org_id=3942
<if test="publishDate_begin!=null and publishDate_begin!=''">
AND t.publish_date > #{publishDate_begin}
</if>
<if test="publishDate_end!=null and publishDate_end!=''">
AND #{publishDate_end} > t.publish_date
</if>
<if test='min != null and min!="0"'>
and m.secret_level >= #{min}
</if>
<if test='max != null and max!="0"'>
and m.secret_level &lt;= #{max}
</if>
<if test="list!=null and list.size>0">
and s.TYPEID in
<foreach collection="list" open="(" close=")" separator="," item="item">
#{item}
</foreach>
</if>
<if test="siteId != null and siteId != ''">
and m.WEB_ID = #{siteId}
</if>
</select>
<select id="queryById" resultType="com.zzsn.modules.kgj.entity.CisAnsBasedata">
select * from cis_ans_basedata where id =#{id}
</select>
......@@ -169,8 +207,12 @@
b.CONTENT_NO_TAG
FROM cis_ans_basedata b
left JOIN cis_ans_basedata_type t ON t.bid = b.id
<if test=" (list!=null and list.size>0) or (siteId != null and siteId != '')">
left JOIN CIS_BASEDATA_WEB_MID m on b.ID=m.BID
</if>
<if test="list!=null and list.size>0">
left JOIN CIS_COL_SITE_TYPE_MID s on s.SITEID =m.WEB_ID
</if>
WHERE t.tid = 16865 AND b.id>20092000000000 AND t.org_id=3942
<if test="publishDate_begin!=null and publishDate_begin!=''">
AND t.publish_date > #{publishDate_begin}
......@@ -194,6 +236,56 @@
WHERE ROWNUM <![CDATA[<=]]> #{offset1})
WHERE ROW_ID <![CDATA[>]]> #{offset}
</select>
<select id="getCisAnsBasedataListByscore" parameterType="Map" resultType="com.zzsn.modules.kgj.entity.CisAnsBasedata">
SELECT *
FROM (
SELECT TMP_PAGE.*, ROWNUM ROW_ID
FROM (
SELECT b.id,
t.publish_date,
b.title,
b.content,
t.match_keywords AS keywords,
b.origin,
b.sourceaddress,
b.author,
b.summary,
b.locale,
b.CONTENT_NO_TAG
FROM cis_ans_basedata b
left JOIN cis_ans_basedata_type t ON t.bid = b.id
<if test=" (list!=null and list.size>0) or (siteId != null and siteId != '')">
left JOIN CIS_BASEDATA_WEB_MID m on b.ID=m.BID
</if>
<if test=" list!=null and list.size>0">
left JOIN CIS_COL_SITE_TYPE_MID s on s.SITEID =m.WEB_ID
</if>
WHERE t.tid = 16865 AND b.id>20092000000000 AND t.org_id=3942
<if test="publishDate_begin!=null and publishDate_begin!=''">
AND t.publish_date > #{publishDate_begin}
</if>
<if test="publishDate_end!=null and publishDate_end!=''">
AND #{publishDate_end} > t.publish_date
</if>
<if test='min != null and min!="0"'>
and m.secret_level >= #{min}
</if>
<if test='max != null and max!="0"'>
and m.secret_level &lt;= #{max}
</if>
<if test="list!=null and list.size>0">
and s.TYPEID in
<foreach collection="list" open="(" close=")" separator="," item="item">
#{item}
</foreach>
</if>
<if test="siteId != null and siteId != ''">
and m.WEB_ID = #{siteId}
</if>
order by t.publish_date desc ,t.id desc) TMP_PAGE
WHERE ROWNUM <![CDATA[<=]]> #{offset1})
WHERE ROW_ID <![CDATA[>]]> #{offset}
</select>
<select id="selectByIdsOld" parameterType="java.util.List" resultType="com.zzsn.modules.kgj.entity.CisAnsBasedata">
SELECT b.id,
b.publish_date,
......
artifactId=zzsn-cloud-system-biz
groupId=org.zzsnframework.cloud
version=2.2.0
D:\ideaproject\zzsn-cloud-kgj\zzsn-cloud-system\zzsn-cloud-system-biz\src\test\java\org\jeecg\SampleTest.java
D:\ideaproject\zzsn-cloud-kgj\zzsn-cloud-system\zzsn-cloud-system-biz\src\test\java\org\jeecg\SecurityToolsTest.java
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论