Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
map-parent
Commits
ecf3fb58
Commit
ecf3fb58
authored
Nov 10, 2023
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多维相关提交(湖南)
parent
d7e0f34a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
782 additions
and
80 deletions
+782
-80
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/GlgxData.java
+25
-0
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/JdfxResult.java
+42
-0
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/Kshpropertice.java
+1
-0
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/Linkspropertice.java
+9
-2
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/SysGnsyrzServerApi.java
+204
-0
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/XyrParam.java
+66
-0
common/common_utils/src/main/java/com/founder/commonutils/model/vo/param/TbStAsjParm.java
+1
-1
common/common_utils/src/main/java/com/founder/commonutils/util/HttpClient.java
+58
-4
common/service_base/src/main/java/com/founder/servicebase/config/TokenConfig.java
+1
-1
service/publicapi/src/main/java/com/founder/publicapi/controller/KshService/KshSlServiceController.java
+0
-0
service/publicapi/src/main/java/com/founder/publicapi/controller/KshService/LogUtil.java
+88
-0
service/publicapi/src/main/java/com/founder/publicapi/controller/KshService/LogsUtil.java
+41
-0
service/publicapi/src/main/java/com/founder/publicapi/controller/SkInterface/GlgxInterface.java
+1
-1
service/publicapi/src/main/java/com/founder/publicapi/controller/SkInterface/TsinfoController.java
+0
-0
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/SysGnsyrzServerApiMapper.java
+14
-0
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/SysGnsyrzServerApiMapper.xml
+58
-0
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/TbStAsjMapper.xml
+2
-2
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/TbStAsjServiceImpl.java
+6
-6
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/ZtypServiceImpl.java
+1
-1
service/publicapi/src/main/resources/data/getSmgl.json
+64
-62
service/publicapi/src/main/resources/data/getZjl.json
+100
-0
No files found.
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/GlgxData.java
0 → 100644
View file @
ecf3fb58
package
com
.
founder
.
commonutils
.
model
.
newPublicEntity
.
hnkshEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@Data
@ApiModel
(
value
=
"可视化GlgxData"
,
description
=
""
)
public
class
GlgxData
{
@ApiModelProperty
(
value
=
"标识号"
)
private
String
bsh
;
@ApiModelProperty
(
value
=
"标识号类型"
)
private
String
bshlx
;
@ApiModelProperty
(
value
=
"关联标识号"
)
private
String
glbsh
;
@ApiModelProperty
(
value
=
"关联标识号类型"
)
private
String
glbshlx
;
@ApiModelProperty
(
value
=
"数据来源"
)
private
String
sjly
;
@ApiModelProperty
(
value
=
"关联类型"
)
private
String
glgx
;
@ApiModelProperty
(
value
=
"关联时间"
)
private
String
glsj
;
}
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/JdfxResult.java
0 → 100644
View file @
ecf3fb58
package
com
.
founder
.
commonutils
.
model
.
newPublicEntity
.
hnkshEntity
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
JdfxResult
{
private
List
<
RealDataMaplist
>
realDataMaplist
;
private
JjdzMap
jjdzMap
;
private
SjdzMap
sjdzMap
;
@Data
public
static
class
RealDataMaplist
{
private
String
sead
;
private
String
rece
;
private
String
read
;
private
String
nasp
;
private
String
fitm
;
private
String
fnsp
;
private
String
latm
;
private
String
entm
;
private
String
dvnm
;
private
String
reph
;
private
String
seph
;
}
@Data
public
static
class
JjdzMap
{
private
String
sjh
;
private
List
btjjdz
;
private
String
btjjdzSum
;
}
@Data
public
static
class
SjdzMap
{
private
String
sjh
;
private
List
btsjdz
;
private
String
btsjdzSum
;
}
}
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/Kshpropertice.java
View file @
ecf3fb58
...
...
@@ -13,5 +13,6 @@ public class Kshpropertice implements Serializable {
private
String
imgType
;
private
String
boderColor
;
private
String
imagePhoto
;
}
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/Linkspropertice.java
View file @
ecf3fb58
package
com
.
founder
.
commonutils
.
model
.
newPublicEntity
.
hnkshEntity
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.List
;
@Data
public
class
Linkspropertice
implements
Serializable
{
@ApiModelProperty
(
value
=
"时间"
)
private
String
time
;
@ApiModelProperty
(
value
=
"标识号"
)
private
String
source
;
@ApiModelProperty
(
value
=
"关联标识号"
)
private
String
target
;
@ApiModelProperty
(
value
=
"关系"
)
private
String
label
;
@ApiModelProperty
(
value
=
"关联关系data"
)
private
List
<
GlgxData
>
glgxData
;
}
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/SysGnsyrzServerApi.java
0 → 100644
View file @
ecf3fb58
package
com
.
founder
.
commonutils
.
model
.
newPublicEntity
.
hnkshEntity
;
import
java.util.Date
;
public
class
SysGnsyrzServerApi
{
private
String
rzlsh
;
//日志流水号
private
Date
fwsj
;
//访问时间
private
String
yymcJyqk
;
//应用名称
private
String
yhGmsfhm
;
//用户公民身份证号
private
String
yhIp
;
//用户ip
private
String
yhdwGajgjgdm
;
//用户单位
private
String
yhdwGajgmc
;
//用户单位名称
private
String
czlxdm
;
//操作类型代码,01 查询类,02 新增信息类,03 修改信息类,04删除信息类,09登录
private
String
czxxJyqk
;
//操作信息
private
String
xxscPdbz
;
//是否删除标志
private
String
xxdjdwGajgjgdm
;
//信息登记单位
private
String
xxdjdwGajgmc
;
//信息登记单位名称
private
String
xxdjryXm
;
//信息登记人
private
String
xxdjryGmsfhm
;
//信息登记证件号码
private
String
xxdjryLxdh
;
//信息登记联系电话
private
Date
djsj
;
//登记时间
private
String
xxczdwGajgjgdm
;
//信息操作单位
private
String
xxczdwGajgmc
;
//信息操作单位名称
private
String
xxczryXm
;
//信息操作人
private
String
xxczryGmsfhm
;
//信息操作证件号码
private
Date
gxsj
;
//更新时间
private
String
xxlyms
;
//信息来源描述
public
SysGnsyrzServerApi
(){}
public
String
getRzlsh
()
{
return
rzlsh
;
}
public
void
setRzlsh
(
String
rzlsh
)
{
this
.
rzlsh
=
rzlsh
;
}
public
Date
getFwsj
()
{
return
fwsj
;
}
public
void
setFwsj
(
Date
fwsj
)
{
this
.
fwsj
=
fwsj
;
}
public
String
getYymcJyqk
()
{
return
yymcJyqk
;
}
public
void
setYymcJyqk
(
String
yymcJyqk
)
{
this
.
yymcJyqk
=
yymcJyqk
;
}
public
String
getYhGmsfhm
()
{
return
yhGmsfhm
;
}
public
void
setYhGmsfhm
(
String
yhGmsfhm
)
{
this
.
yhGmsfhm
=
yhGmsfhm
;
}
public
String
getYhIp
()
{
return
yhIp
;
}
public
void
setYhIp
(
String
yhIp
)
{
this
.
yhIp
=
yhIp
;
}
public
String
getYhdwGajgjgdm
()
{
return
yhdwGajgjgdm
;
}
public
void
setYhdwGajgjgdm
(
String
yhdwGajgjgdm
)
{
this
.
yhdwGajgjgdm
=
yhdwGajgjgdm
;
}
public
String
getYhdwGajgmc
()
{
return
yhdwGajgmc
;
}
public
void
setYhdwGajgmc
(
String
yhdwGajgmc
)
{
this
.
yhdwGajgmc
=
yhdwGajgmc
;
}
public
String
getCzlxdm
()
{
return
czlxdm
;
}
public
void
setCzlxdm
(
String
czlxdm
)
{
this
.
czlxdm
=
czlxdm
;
}
public
String
getCzxxJyqk
()
{
return
czxxJyqk
;
}
public
void
setCzxxJyqk
(
String
czxxJyqk
)
{
this
.
czxxJyqk
=
czxxJyqk
;
}
public
String
getXxscPdbz
()
{
return
xxscPdbz
;
}
public
void
setXxscPdbz
(
String
xxscPdbz
)
{
this
.
xxscPdbz
=
xxscPdbz
;
}
public
String
getXxdjdwGajgjgdm
()
{
return
xxdjdwGajgjgdm
;
}
public
void
setXxdjdwGajgjgdm
(
String
xxdjdwGajgjgdm
)
{
this
.
xxdjdwGajgjgdm
=
xxdjdwGajgjgdm
;
}
public
String
getXxdjdwGajgmc
()
{
return
xxdjdwGajgmc
;
}
public
void
setXxdjdwGajgmc
(
String
xxdjdwGajgmc
)
{
this
.
xxdjdwGajgmc
=
xxdjdwGajgmc
;
}
public
String
getXxdjryXm
()
{
return
xxdjryXm
;
}
public
void
setXxdjryXm
(
String
xxdjryXm
)
{
this
.
xxdjryXm
=
xxdjryXm
;
}
public
String
getXxdjryGmsfhm
()
{
return
xxdjryGmsfhm
;
}
public
void
setXxdjryGmsfhm
(
String
xxdjryGmsfhm
)
{
this
.
xxdjryGmsfhm
=
xxdjryGmsfhm
;
}
public
String
getXxdjryLxdh
()
{
return
xxdjryLxdh
;
}
public
void
setXxdjryLxdh
(
String
xxdjryLxdh
)
{
this
.
xxdjryLxdh
=
xxdjryLxdh
;
}
public
Date
getDjsj
()
{
return
djsj
;
}
public
void
setDjsj
(
Date
djsj
)
{
this
.
djsj
=
djsj
;
}
public
String
getXxczdwGajgjgdm
()
{
return
xxczdwGajgjgdm
;
}
public
void
setXxczdwGajgjgdm
(
String
xxczdwGajgjgdm
)
{
this
.
xxczdwGajgjgdm
=
xxczdwGajgjgdm
;
}
public
String
getXxczdwGajgmc
()
{
return
xxczdwGajgmc
;
}
public
void
setXxczdwGajgmc
(
String
xxczdwGajgmc
)
{
this
.
xxczdwGajgmc
=
xxczdwGajgmc
;
}
public
String
getXxczryXm
()
{
return
xxczryXm
;
}
public
void
setXxczryXm
(
String
xxczryXm
)
{
this
.
xxczryXm
=
xxczryXm
;
}
public
String
getXxczryGmsfhm
()
{
return
xxczryGmsfhm
;
}
public
void
setXxczryGmsfhm
(
String
xxczryGmsfhm
)
{
this
.
xxczryGmsfhm
=
xxczryGmsfhm
;
}
public
Date
getGxsj
()
{
return
gxsj
;
}
public
void
setGxsj
(
Date
gxsj
)
{
this
.
gxsj
=
gxsj
;
}
public
String
getXxlyms
()
{
return
xxlyms
;
}
public
void
setXxlyms
(
String
xxlyms
)
{
this
.
xxlyms
=
xxlyms
;
}
}
common/common_utils/src/main/java/com/founder/commonutils/model/newPublicEntity/hnkshEntity/XyrParam.java
0 → 100644
View file @
ecf3fb58
package
com
.
founder
.
commonutils
.
model
.
newPublicEntity
.
hnkshEntity
;
import
lombok.Data
;
@Data
public
class
XyrParam
{
private
String
xm
;
/**
* 证件号码
*/
private
String
zjhm
;
private
String
xbdm
;
private
String
zhrqKssj
;
private
String
zhrqJssj
;
/**
* 开始时间
*/
private
String
kssj
;
/**
* 结束时间
*/
private
String
jssj
;
private
String
zhdwdm
;
private
String
xzzmc
;
private
String
csrqKssj
;
private
String
csrqJssj
;
private
String
gjdm
;
private
String
mzdm
;
private
String
hjdqhdm
;
private
String
hjdmc
;
/**
*车牌号码
*/
private
String
cphm
;
private
String
asjbh
;
/**
* 手机号码
*/
private
String
sjhm
;
private
String
startDate
;
private
String
endDate
;
private
int
page
=
1
;
private
int
limit
=
10
;
private
int
rows
=
10
;
private
long
intervalTime
=
10
;
private
int
no
=
2
;
private
long
time
=
10
;
private
int
threadPageSize
=
1
;
private
String
gxrZjhm
;
private
String
type
;
}
common/common_utils/src/main/java/com/founder/commonutils/model/vo/param/TbStAsjParm.java
View file @
ecf3fb58
...
...
@@ -52,7 +52,7 @@ public class TbStAsjParm implements Serializable {
private
String
ajlbdm
;
@ApiModelProperty
(
value
=
"小案类别代码"
)
private
String
zatz
J
yqk
;
private
String
zatz
j
yqk
;
@ApiModelProperty
(
value
=
"案件细类别代码"
)
private
String
ajxlb
;
...
...
common/common_utils/src/main/java/com/founder/commonutils/util/HttpClient.java
View file @
ecf3fb58
...
...
@@ -6,14 +6,21 @@ import org.apache.http.client.config.RequestConfig;
import
org.apache.http.client.methods.CloseableHttpResponse
;
import
org.apache.http.client.methods.HttpGet
;
import
org.apache.http.client.methods.HttpPost
;
import
org.apache.http.client.protocol.ClientContext
;
import
org.apache.http.client.protocol.HttpClientContext
;
import
org.apache.http.client.utils.URIBuilder
;
import
org.apache.http.entity.StringEntity
;
import
org.apache.http.impl.client.BasicCookieStore
;
import
org.apache.http.impl.client.CloseableHttpClient
;
import
org.apache.http.impl.client.HttpClients
;
import
org.apache.http.impl.cookie.BasicClientCookie
;
import
org.apache.http.protocol.BasicHttpContext
;
import
org.apache.http.protocol.HttpContext
;
import
org.apache.http.util.EntityUtils
;
import
org.springframework.stereotype.Component
;
import
java.io.IOException
;
import
java.net.CookieStore
;
import
java.net.URI
;
import
java.util.*
;
...
...
@@ -81,14 +88,18 @@ public class HttpClient {
* @param json
* @return {username:"",pass:""}
*/
public
static
JSONObject
doPostJsonHunanTs
(
String
url
,
String
json
)
throws
Exception
{
public
static
JSONObject
doPostJsonHunanTs
(
String
url
,
String
json
,
String
cookieName
,
String
cookieValue
)
throws
Exception
{
// post请求返回结果
CloseableHttpClient
httpClient
=
HttpClients
.
createDefault
();
JSONObject
jsonResult
=
null
;
HttpPost
httpPost
=
new
HttpPost
(
url
);
// 设置请求和传输超时时间
// 设置请求和传输超时时间
以及cookie
httpPost
.
setConfig
(
requestConfig
);
httpPost
.
setHeader
(
"founder.authorization"
,
"Basic 9b6c45cfcf3a4a629e3ed90fa3e5d058"
);
BasicCookieStore
cookieStore
=
new
BasicCookieStore
();
BasicClientCookie
cookie
=
new
BasicClientCookie
(
cookieName
,
cookieValue
);
cookieStore
.
addCookie
(
cookie
);
HttpContext
httpContext
=
new
BasicHttpContext
();
httpContext
.
setAttribute
(
HttpClientContext
.
COOKIE_STORE
,
cookieStore
);
try
{
//设置参数解决中文乱码
if
(
null
!=
json
){
...
...
@@ -98,7 +109,7 @@ public class HttpClient {
httpPost
.
setEntity
(
entity
);
}
//发送请求
CloseableHttpResponse
result
=
httpClient
.
execute
(
httpPost
);
CloseableHttpResponse
result
=
httpClient
.
execute
(
httpPost
,
httpContext
);
System
.
out
.
println
(
"StatusCode===="
+
result
.
getStatusLine
().
getStatusCode
());
if
(
result
.
getStatusLine
().
getStatusCode
()
==
HttpStatus
.
SC_OK
){
// 读取服务器返回的json数据(然后解析)
...
...
@@ -157,4 +168,47 @@ public class HttpClient {
}
return
resultString
;
}
/**
* 请求的参数类型为json
* @param url
* @param json
* @return {username:"",pass:""}
*/
public
static
String
doPostJson
(
String
url
,
Map
<
String
,
String
>
headers
,
String
json
)
throws
Exception
{
// post请求返回结果
CloseableHttpClient
httpClient
=
HttpClients
.
createDefault
();
String
jsonResult
=
null
;
System
.
out
.
println
(
url
);
HttpPost
httpPost
=
new
HttpPost
(
url
);
// 设置请求和传输超时时间
httpPost
.
setConfig
(
requestConfig
);
if
(
headers
!=
null
)
{
for
(
String
key
:
headers
.
keySet
())
{
httpPost
.
setHeader
(
key
,
headers
.
get
(
key
));
}
}
try
{
//设置参数解决中文乱码
if
(
null
!=
json
){
StringEntity
entity
=
new
StringEntity
(
json
,
"utf-8"
);
entity
.
setContentEncoding
(
"UTF-8"
);
entity
.
setContentType
(
"application/json"
);
httpPost
.
setEntity
(
entity
);
}
//发送请求
CloseableHttpResponse
result
=
httpClient
.
execute
(
httpPost
);
if
(
result
.
getStatusLine
().
getStatusCode
()
==
HttpStatus
.
SC_OK
){
// 读取服务器返回的json数据(然后解析)
jsonResult
=
EntityUtils
.
toString
(
result
.
getEntity
(),
"utf-8"
);
}
else
{
return
null
;
}
}
catch
(
Exception
e
){
e
.
printStackTrace
();
throw
new
Exception
();
}
finally
{
httpPost
.
releaseConnection
();
}
return
jsonResult
;
}
}
common/service_base/src/main/java/com/founder/servicebase/config/TokenConfig.java
View file @
ecf3fb58
...
...
@@ -26,7 +26,7 @@ public class TokenConfig implements WebMvcConfigurer {
@Override
public
void
addInterceptors
(
InterceptorRegistry
registry
)
{
String
[]
excludePatterns
=
new
String
[]{
"/swagger-resources/**"
,
"/webjars/**"
,
"/v2/**"
,
"/swagger-ui.html/**"
,
"/api"
,
"/api-docs"
,
"/api-docs/**"
,
"/doc.html/**"
,
"/koTime/**"
};
"/api"
,
"/api-docs"
,
"/api-docs/**"
,
"/doc.html/**"
,
"/koTime/**"
,
"/exportTsHn/export"
};
registry
.
addInterceptor
(
tokenInterceptor
)
.
addPathPatterns
(
"/**"
)
//指定该类拦截的url
.
excludePathPatterns
(
skInterceptorController
.
findAllUrl
())
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/KshService/KshSlServiceController.java
View file @
ecf3fb58
This diff is collapsed.
Click to expand it.
service/publicapi/src/main/java/com/founder/publicapi/controller/KshService/LogUtil.java
0 → 100644
View file @
ecf3fb58
package
com
.
founder
.
publicapi
.
controller
.
KshService
;
import
com.founder.commonutils.model.newPublicEntity.hnkshEntity.SysGnsyrzServerApi
;
import
com.founder.publicapi.mapper.mysqlMapper.SysGnsyrzServerApiMapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.UUID
;
@Service
public
class
LogUtil
{
@Autowired
private
SysGnsyrzServerApiMapper
sysGnsyrzServerApiMapper
;
public
String
getRzlsh
(
String
unitCode
)
{
String
qlw
=
unitCode
.
substring
(
0
,
6
);
SimpleDateFormat
formatter
=
new
SimpleDateFormat
(
"yyyyMMdd"
);
String
sjdate
=
formatter
.
format
(
new
Date
());
String
lsh
=
getOrderIdByUUId
();
String
yrzlsh
=
qlw
+
sjdate
+
lsh
;
String
rzlsh
=
yrzlsh
.
replace
(
" "
,
""
);
return
rzlsh
;
}
private
String
getOrderIdByUUId
()
{
int
machineId
=
1
;
int
hashCodeV
=
UUID
.
randomUUID
().
toString
().
hashCode
();
if
(
hashCodeV
<
0
)
{
hashCodeV
=
-
hashCodeV
;
}
return
machineId
+
String
.
format
(
"%015d"
,
hashCodeV
);
}
public
String
insertGNSYRZOPENAPI
(
String
type
,
String
yymc
,
String
cxcs
,
String
userId
,
String
userName
,
String
unitCode
,
String
unitName
,
String
lxdh
,
String
ip
)
{
String
rzlsh
=
null
;
rzlsh
=
getRzlsh
(
unitCode
);
String
cznr
=
""
;
if
(
cxcs
!=
null
&&
!
""
.
equals
(
cxcs
))
{
cxcs
=
cxcs
.
replace
(
" "
,
","
);
}
if
(
"01"
.
equals
(
type
))
{
cznr
=
"执行[查询]动作,参数为:"
+
cxcs
;
}
else
if
(
"02"
.
equals
(
type
))
{
cznr
=
"执行[新建]动作"
;
}
else
if
(
"03"
.
equals
(
type
))
{
cznr
=
"执行[修改]动作,参数为:"
+
cxcs
;
}
else
if
(
"04"
.
equals
(
type
))
{
cznr
=
"执行[删除]动作,参数为:"
+
cxcs
;
}
else
if
(
"05"
.
equals
(
type
))
{
cznr
=
"执行[点击访问]动作,参数为:"
+
cxcs
;
}
else
if
(
"09"
.
equals
(
type
))
{
cznr
=
"执行[登录]动作,参数为:"
+
cxcs
;
}
else
{
cznr
=
"执行[未知]操作,参数为:"
+
cxcs
+
",类型为:"
+
type
;
}
Date
now
=
new
Date
();
SysGnsyrzServerApi
gnsyrz
=
new
SysGnsyrzServerApi
();
gnsyrz
.
setYhGmsfhm
(
userId
);
gnsyrz
.
setYhIp
(
ip
);
gnsyrz
.
setYhdwGajgjgdm
(
unitCode
);
gnsyrz
.
setYhdwGajgmc
(
unitName
);
gnsyrz
.
setRzlsh
(
rzlsh
);
gnsyrz
.
setDjsj
(
now
);
gnsyrz
.
setGxsj
(
now
);
gnsyrz
.
setFwsj
(
now
);
gnsyrz
.
setXxdjdwGajgjgdm
(
unitCode
);
gnsyrz
.
setXxdjdwGajgmc
(
unitName
);
gnsyrz
.
setXxscPdbz
(
"0"
);
gnsyrz
.
setXxdjryXm
(
userName
);
gnsyrz
.
setXxdjryGmsfhm
(
userId
);
gnsyrz
.
setXxdjryLxdh
(
lxdh
);
gnsyrz
.
setXxczdwGajgjgdm
(
unitCode
);
gnsyrz
.
setXxczdwGajgmc
(
unitName
);
gnsyrz
.
setXxczryGmsfhm
(
userId
);
gnsyrz
.
setXxczryXm
(
userName
);
gnsyrz
.
setCzlxdm
(
type
);
gnsyrz
.
setCzxxJyqk
(
cznr
);
gnsyrz
.
setYymcJyqk
(
yymc
);
gnsyrz
.
setXxlyms
(
"系统功能日志"
);
sysGnsyrzServerApiMapper
.
saveSysgnsyrz
(
gnsyrz
);
return
rzlsh
;
}
}
service/publicapi/src/main/java/com/founder/publicapi/controller/KshService/LogsUtil.java
0 → 100644
View file @
ecf3fb58
package
com
.
founder
.
publicapi
.
controller
.
KshService
;
import
java.lang.reflect.Method
;
import
java.util.HashMap
;
import
java.util.Map
;
public
class
LogsUtil
{
/**
* @Author Axu 获取类中的非空字段
* @Date 10:45 2019/11/15
* @Param [sourceObject]
* @return java.util.Map<java.lang.String,java.lang.Object>
**/
public
static
Map
<
String
,
Object
>
getNotEmptyFiled
(
Object
sourceObject
){
Map
<
String
,
Object
>
notEmptyFiled
=
new
HashMap
<>();
Class
sourceClass
=
sourceObject
.
getClass
();
Method
[]
sourceMethods
=
sourceClass
.
getDeclaredMethods
();
for
(
int
i
=
0
;
i
<
sourceMethods
.
length
;
i
++){
String
methodName
=
sourceMethods
[
i
].
getName
();
if
(
methodName
!=
null
&&
methodName
.
startsWith
(
"get"
)){
try
{
Object
returnSource
=
sourceMethods
[
i
].
invoke
(
sourceObject
);
if
(
returnSource
!=
null
&&
!
returnSource
.
equals
(
""
)){
StringBuilder
stringBuilder
=
new
StringBuilder
();
stringBuilder
.
append
(
Character
.
toLowerCase
(
methodName
.
split
(
"get"
)[
1
].
charAt
(
0
))).
append
(
methodName
.
split
(
"get"
)[
1
].
substring
(
1
));
String
key
=
stringBuilder
.
toString
();
notEmptyFiled
.
put
(
key
,
returnSource
);
}
}
catch
(
Exception
e
){
e
.
printStackTrace
();
}
}
}
return
notEmptyFiled
;
}
}
service/publicapi/src/main/java/com/founder/publicapi/controller/SkInterface/GlgxInterface.java
View file @
ecf3fb58
...
...
@@ -402,7 +402,7 @@ public class GlgxInterface {
sb
.
append
(
"</FieldCondition></Fields></Body></Content>"
);
return
sb
.
toString
();
}
}
/**
* 手机号码机主查询参数
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkInterface/TsinfoController.java
View file @
ecf3fb58
This diff is collapsed.
Click to expand it.
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/SysGnsyrzServerApiMapper.java
0 → 100644
View file @
ecf3fb58
package
com
.
founder
.
publicapi
.
mapper
.
mysqlMapper
;
import
com.founder.commonutils.model.newPublicEntity.hnkshEntity.SysGnsyrzServerApi
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Component
;
@Component
@Mapper
public
interface
SysGnsyrzServerApiMapper
{
void
saveSysgnsyrz
(
SysGnsyrzServerApi
var1
);
}
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/SysGnsyrzServerApiMapper.xml
0 → 100644
View file @
ecf3fb58
<?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.founder.publicapi.mapper.mysqlMapper.SysGnsyrzServerApiMapper"
>
<insert
id=
"saveSysgnsyrz"
parameterType=
"com.founder.commonutils.model.newPublicEntity.hnkshEntity.SysGnsyrzServerApi"
>
INSERT INTO sys_gnsyrz_serverapi (
rzlsh
,fwsj
,yymc_jyqk
,yh_gmsfhm
,yh_ip
,yhdw_gajgjgdm
,yhdw_gajgmc
,czlxdm
,czxx_jyqk
,xxsc_pdbz
,xxdjdw_gajgjgdm
,xxdjdw_gajgmc
,xxdjry_xm
,xxdjry_gmsfhm
,xxdjry_lxdh
,djsj
,xxczdw_gajgjgdm
,xxczdw_gajgmc
,xxczry_xm
,xxczry_gmsfhm
,gxsj
,xxlyms
)
VALUES(
#{ rzlsh , jdbcType=VARCHAR }
,now()
,#{ yymcJyqk , jdbcType=VARCHAR }
,#{ yhGmsfhm , jdbcType=VARCHAR }
,#{ yhIp , jdbcType=VARCHAR }
,#{ yhdwGajgjgdm , jdbcType=VARCHAR }
,#{ yhdwGajgmc , jdbcType=VARCHAR }
,#{ czlxdm , jdbcType=VARCHAR }
,#{ czxxJyqk , jdbcType=VARCHAR }
,#{ xxscPdbz , jdbcType=VARCHAR }
,#{ xxdjdwGajgjgdm , jdbcType=VARCHAR }
,#{ xxdjdwGajgmc , jdbcType=VARCHAR }
,#{ xxdjryXm , jdbcType=VARCHAR }
,#{ xxdjryGmsfhm , jdbcType=VARCHAR }
,#{ xxdjryLxdh , jdbcType=VARCHAR }
,now()
,#{ xxczdwGajgjgdm , jdbcType=VARCHAR }
,#{ xxczdwGajgmc , jdbcType=VARCHAR }
,#{ xxczryXm , jdbcType=VARCHAR }
,#{ xxczryGmsfhm , jdbcType=VARCHAR }
,now()
,#{ xxlyms , jdbcType=VARCHAR }
)
</insert>
</mapper>
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/TbStAsjMapper.xml
View file @
ecf3fb58
...
...
@@ -87,8 +87,8 @@
<if
test=
"ajlbdm!= null and ajlbdm!=''"
>
AND T.AJLBDM like concat(#{ajlbdm , jdbcType=VARCHAR }, '%')
</if>
<if
test=
"zatz
Jyqk!= null and zatzJ
yqk!=''"
>
AND T.ZATZ_JYQK = #{zatz
J
yqk , jdbcType=VARCHAR }
<if
test=
"zatz
jyqk!= null and zatzj
yqk!=''"
>
AND T.ZATZ_JYQK = #{zatz
j
yqk , jdbcType=VARCHAR }
</if>
<if
test=
"ajxlb!= null and ajxlb!=''"
>
AND asjbz.ajxlb = #{ajxlb , jdbcType=VARCHAR }
...
...
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/TbStAsjServiceImpl.java
View file @
ecf3fb58
...
...
@@ -496,15 +496,15 @@ public class TbStAsjServiceImpl extends ServiceImpl<TbStAsjMapper, TbStAsj> impl
}
// 小类案别
if
(
StringUtils
.
isNotBlank
(
asj
.
getZatz
J
yqk
()))
{
if
(
StringUtils
.
isNotBlank
(
asj
.
getZatz
j
yqk
()))
{
// 根据规则截取
String
zatz
=
""
;
if
(
asj
.
getZatz
J
yqk
().
endsWith
(
"000000"
))
{
zatz
=
asj
.
getZatz
J
yqk
().
substring
(
0
,
6
)
+
"*"
;
}
else
if
(
asj
.
getZatz
J
yqk
().
endsWith
(
"00"
)){
zatz
=
asj
.
getZatz
J
yqk
().
substring
(
0
,
10
)
+
"*"
;
if
(
asj
.
getZatz
j
yqk
().
endsWith
(
"000000"
))
{
zatz
=
asj
.
getZatz
j
yqk
().
substring
(
0
,
6
)
+
"*"
;
}
else
if
(
asj
.
getZatz
j
yqk
().
endsWith
(
"00"
)){
zatz
=
asj
.
getZatz
j
yqk
().
substring
(
0
,
10
)
+
"*"
;
}
else
{
zatz
=
asj
.
getZatz
J
yqk
();
zatz
=
asj
.
getZatz
j
yqk
();
}
WildcardQueryBuilder
wildcardQueryBuilder
=
QueryBuilders
.
wildcardQuery
(
"zatzJyqk"
,
zatz
);
bqAj
.
must
(
wildcardQueryBuilder
);
...
...
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/ZtypServiceImpl.java
View file @
ecf3fb58
...
...
@@ -1244,7 +1244,7 @@ public class ZtypServiceImpl implements ZtypService {
naoTuHdXx
.
setDfsjhm
(
objPhone
.
getString
(
"oppositeNumber"
));
naoTuHdXx
.
setHjsj
(
objPhone
.
getString
(
"beginTime"
));
naoTuHdXx
.
setThsc
(
objPhone
.
getString
(
"timeLen"
));
naoTuHdXx
.
setThlx
(
getThlx
(
objPhone
.
getString
(
"
timeLen
"
)));
naoTuHdXx
.
setThlx
(
getThlx
(
objPhone
.
getString
(
"
CallType
"
)));
hdList
.
add
(
naoTuHdXx
);
}
}
...
...
service/publicapi/src/main/resources/data/getSmgl.json
View file @
ecf3fb58
{
"status"
:
200
,
"msg"
:
"ok"
,
"data"
:
{
"kshdata"
:
{
"nodes"
:
[
{
"id"
:
"BGSC001
"
,
"label"
:
"BGSC001
"
,
"id"
:
"18199625540
"
,
"label"
:
"18199625540
"
,
"properties"
:
{
"id"
:
"BGSC001"
,
"label"
:
"BGSC001"
,
"imgType"
:
"imsi"
"id"
:
"18199625540"
,
"label"
:
"18199625540"
,
"imgType"
:
"sjk"
,
"imagePhoto"
:
null
,
"boderColor"
:
null
}
},
{
"id"
:
"KFS00
1"
,
"label"
:
"KFS00
1"
,
"id"
:
"43012319651026589
1"
,
"label"
:
"43012319651026589
1"
,
"properties"
:
{
"id"
:
"KFS001"
,
"label"
:
"KFS001"
,
"imgType"
:
"imei"
"id"
:
"430123196510265891"
,
"label"
:
"430123196510265891"
,
"imgType"
:
"imsi"
,
"imagePhoto"
:
null
,
"boderColor"
:
null
}
},
{
"id"
:
"18545251333
"
,
"label"
:
"18545251333
"
,
"id"
:
"430123196510265892
"
,
"label"
:
"430123196510265892
"
,
"properties"
:
{
"id"
:
"18545251333"
,
"label"
:
"18545251333"
,
"imgType"
:
"sjk"
}
},
{
"id"
:
"长沙市第一医院"
,
"label"
:
"长沙市第一医院"
,
"properties"
:
{
"id"
:
"长沙市第一医院"
,
"label"
:
"长沙市第一医院"
,
"imgType"
:
"mac"
"id"
:
"430123196510265892"
,
"label"
:
"430123196510265892"
,
"imgType"
:
"imei"
,
"imagePhoto"
:
null
,
"boderColor"
:
null
}
}
],
"links"
:
[
{
"source"
:
"430123196510265891
"
,
"target"
:
"BGSC001
"
,
"label"
:
"IMSI
"
,
"source"
:
"18199625540
"
,
"target"
:
"430123196510265892
"
,
"label"
:
"imsi
"
,
"properties"
:
{
"time"
:
"2022-09-16 09:59:11"
,
"label"
:
"IMSI"
,
"source"
:
"430123196510265891"
,
"target"
:
"BGSC001"
}
},
"time"
:
null
,
"source"
:
"18199625540"
,
"target"
:
"430123196510265892"
,
"label"
:
"imsi"
,
"glgxData"
:
[
{
"source"
:
"430123196510265891"
,
"target"
:
"KFS001"
,
"label"
:
"IMEI"
,
"properties"
:
{
"time"
:
"2022-09-16 09:59:11"
,
"label"
:
"IMEI"
,
"source"
:
"430123196510265891"
,
"target"
:
"KFS001"
"bsh"
:
"18199625540"
,
"bshlx"
:
"sjk"
,
"glbsh"
:
"430123196510265892"
,
"glbshlx"
:
"imsi"
,
"sjly"
:
"科信"
,
"glgx"
:
"四码关联"
,
"glsj"
:
null
}
},
{
"source"
:
"430123196510265891"
,
"target"
:
"18545251333"
,
"label"
:
"手机号"
,
"properties"
:
{
"time"
:
"2022-09-16 09:59:11"
,
"label"
:
"手机号"
,
"source"
:
"430123196510265891"
,
"target"
:
"18545251333"
]
}
},
{
"source"
:
"430123196510265891
"
,
"target"
:
"长沙市第一医院
"
,
"label"
:
"MAC
"
,
"source"
:
"18199625540
"
,
"target"
:
"430123196510265891
"
,
"label"
:
"imei
"
,
"properties"
:
{
"time"
:
"2022-09-16 09:59:11"
,
"label"
:
"MAC"
,
"source"
:
"430123196510265891"
,
"target"
:
"长沙市第一医院"
"time"
:
null
,
"source"
:
"18199625540"
,
"target"
:
"430123196510265891"
,
"label"
:
"imei"
,
"glgxData"
:
[
{
"bsh"
:
"18199625540"
,
"bshlx"
:
"sjk"
,
"glbsh"
:
"430123196510265891"
,
"glbshlx"
:
"imei"
,
"sjly"
:
"科信"
,
"glgx"
:
"四码关联"
,
"glsj"
:
null
}
]
}
}
]
...
...
@@ -88,10 +88,11 @@
"dataSumup"
:
{
"name"
:
"四码关联"
,
"list"
:
[
"BGSC001"
,
"KFS001"
,
"18545251333"
,
"长沙市第一医院"
"18199625540"
,
"430123196510265892"
,
"430123196510265891"
]
}
},
"count"
:
null
}
\ No newline at end of file
service/publicapi/src/main/resources/data/getZjl.json
0 → 100644
View file @
ecf3fb58
{
"status"
:
200
,
"msg"
:
"ok"
,
"data"
:
{
"kshdata"
:
{
"nodes"
:
[
{
"id"
:
"6226201910281010001"
,
"label"
:
"转账/3万元"
,
"properties"
:
{
"id"
:
"6226201910281010001"
,
"label"
:
"转账/3万元"
,
"imgType"
:
"yhk"
,
"imagePhoto"
:
null
,
"boderColor"
:
null
}
},
{
"id"
:
"6226201910211010003"
,
"label"
:
"转账/7万元"
,
"properties"
:
{
"id"
:
"6226201910211010003"
,
"label"
:
"转账/7万元"
,
"imgType"
:
"yhk"
,
"imagePhoto"
:
null
,
"boderColor"
:
null
}
},
{
"id"
:
"6226201910211010002"
,
"label"
:
"转账/10万元"
,
"properties"
:
{
"id"
:
"6226201910211010003"
,
"label"
:
"转账/10万元"
,
"imgType"
:
"yhk"
,
"imagePhoto"
:
null
,
"boderColor"
:
null
}
}
],
"links"
:
[
{
"source"
:
"6226201910211010002"
,
"target"
:
"6226201910281010001"
,
"label"
:
"2023-08-05/转账3万元"
,
"properties"
:
{
"time"
:
"2023-08-05"
,
"source"
:
"6226201910211010002"
,
"target"
:
"6226201910281010001"
,
"label"
:
"2023-08-05"
,
"glgxData"
:
[
{
"bsh"
:
"6226201910211010002"
,
"bshlx"
:
"yhk"
,
"glbsh"
:
"6226201910281010001"
,
"glbshlx"
:
"yhk"
,
"sjly"
:
"库"
,
"glgx"
:
"转账记录"
,
"glsj"
:
"2023-08-05"
}
]
}
},
{
"source"
:
"6226201910211010002"
,
"target"
:
"6226201910211010003"
,
"label"
:
"2023-08-10/转账7万元"
,
"properties"
:
{
"time"
:
"2023-08-10"
,
"source"
:
"6226201910211010002"
,
"target"
:
"6226201910211010003"
,
"label"
:
"2023-08-10/转账7万元"
,
"glgxData"
:
[
{
"bsh"
:
"6226201910211010002"
,
"bshlx"
:
"yhk"
,
"glbsh"
:
"6226201910211010003"
,
"glbshlx"
:
"yhk"
,
"sjly"
:
"库"
,
"glgx"
:
"转账记录"
,
"glsj"
:
"2023-08-10"
}
]
}
}
]
},
"dataSumup"
:
{
"name"
:
"资金流"
,
"list"
:
[
"6226201910281010001"
,
"6226201910211010003"
,
"6226201910211010002"
]
}
},
"count"
:
null
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment