Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-api-report
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
雷紫添
xzxt-api-report
Commits
8675a5bb
Commit
8675a5bb
authored
Aug 22, 2022
by
wang_jiaxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资源服务改为long类型
parent
e15b42ec
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
21 deletions
+27
-21
src/main/java/com/founder/zyfw/controller/ZyfwController.java
+3
-3
src/main/java/com/founder/zyfw/service/ZyfwService.java
+3
-3
src/main/java/com/founder/zyfw/service/impl/ZyfwServiceImpl.java
+3
-3
src/main/java/com/founder/zyfw/ythcjdao/YthcjZyfwMapper.java
+3
-3
src/main/resources/mybatis/ythcjMapper/YthcjZyfwMapper.xml
+15
-9
No files found.
src/main/java/com/founder/zyfw/controller/ZyfwController.java
View file @
8675a5bb
...
...
@@ -125,7 +125,7 @@ public class ZyfwController {
@CheckAuthorization
(
type
=
CheckType
.
ZY
,
checkIp
=
false
)
public
R
getYthcjSjTxlCount
(
@RequestBody
ZyfwQueryParam
zyfwQueryParam
)
{
try
{
int
total
=
zyfwService
.
getYthcjSjTxlCount
(
zyfwQueryParam
.
getIsZl
());
long
total
=
zyfwService
.
getYthcjSjTxlCount
(
zyfwQueryParam
.
getIsZl
());
return
R
.
ok
().
data
(
"total"
,
total
);
}
catch
(
Exception
e
)
{
log
.
error
(
"错误日志"
,
e
);
...
...
@@ -137,7 +137,7 @@ public class ZyfwController {
@CheckAuthorization
(
type
=
CheckType
.
ZY
,
checkIp
=
false
)
public
R
getYthcjSjThjlCount
(
@RequestBody
ZyfwQueryParam
zyfwQueryParam
)
{
try
{
int
total
=
zyfwService
.
getYthcjSjThjlCount
(
zyfwQueryParam
.
getIsZl
());
long
total
=
zyfwService
.
getYthcjSjThjlCount
(
zyfwQueryParam
.
getIsZl
());
return
R
.
ok
().
data
(
"total"
,
total
);
}
catch
(
Exception
e
)
{
log
.
error
(
"错误日志"
,
e
);
...
...
@@ -149,7 +149,7 @@ public class ZyfwController {
@CheckAuthorization
(
type
=
CheckType
.
ZY
,
checkIp
=
false
)
public
R
getYthcjSjDxjlCount
(
@RequestBody
ZyfwQueryParam
zyfwQueryParam
)
{
try
{
int
total
=
zyfwService
.
getYthcjSjDxjlCount
(
zyfwQueryParam
.
getIsZl
());
long
total
=
zyfwService
.
getYthcjSjDxjlCount
(
zyfwQueryParam
.
getIsZl
());
return
R
.
ok
().
data
(
"total"
,
total
);
}
catch
(
Exception
e
)
{
log
.
error
(
"错误日志"
,
e
);
...
...
src/main/java/com/founder/zyfw/service/ZyfwService.java
View file @
8675a5bb
...
...
@@ -21,11 +21,11 @@ public interface ZyfwService {
int
getYthcjSjCount
(
String
isZl
);
int
getYthcjSjTxlCount
(
String
isZl
);
long
getYthcjSjTxlCount
(
String
isZl
);
int
getYthcjSjThjlCount
(
String
isZl
);
long
getYthcjSjThjlCount
(
String
isZl
);
int
getYthcjSjDxjlCount
(
String
isZl
);
long
getYthcjSjDxjlCount
(
String
isZl
);
int
getYthcjSjXnsfCount
(
String
isZl
);
...
...
src/main/java/com/founder/zyfw/service/impl/ZyfwServiceImpl.java
View file @
8675a5bb
...
...
@@ -64,17 +64,17 @@ public class ZyfwServiceImpl implements ZyfwService {
}
@Override
public
int
getYthcjSjTxlCount
(
String
isZl
)
{
public
long
getYthcjSjTxlCount
(
String
isZl
)
{
return
ythcjZyfwMapper
.
getYthcjSjTxlCount
(
isZl
);
}
@Override
public
int
getYthcjSjThjlCount
(
String
isZl
)
{
public
long
getYthcjSjThjlCount
(
String
isZl
)
{
return
ythcjZyfwMapper
.
getYthcjSjThjlCount
(
isZl
);
}
@Override
public
int
getYthcjSjDxjlCount
(
String
isZl
)
{
public
long
getYthcjSjDxjlCount
(
String
isZl
)
{
return
ythcjZyfwMapper
.
getYthcjSjDxjlCount
(
isZl
);
}
...
...
src/main/java/com/founder/zyfw/ythcjdao/YthcjZyfwMapper.java
View file @
8675a5bb
...
...
@@ -21,11 +21,11 @@ public interface YthcjZyfwMapper {
int
getYthcjSjCount
(
@Param
(
"isZl"
)
String
isZl
);
int
getYthcjSjTxlCount
(
@Param
(
"isZl"
)
String
isZl
);
long
getYthcjSjTxlCount
(
@Param
(
"isZl"
)
String
isZl
);
int
getYthcjSjThjlCount
(
@Param
(
"isZl"
)
String
isZl
);
long
getYthcjSjThjlCount
(
@Param
(
"isZl"
)
String
isZl
);
int
getYthcjSjDxjlCount
(
@Param
(
"isZl"
)
String
isZl
);
long
getYthcjSjDxjlCount
(
@Param
(
"isZl"
)
String
isZl
);
int
getYthcjSjXnsfCount
(
@Param
(
"isZl"
)
String
isZl
);
...
...
src/main/resources/mybatis/ythcjMapper/YthcjZyfwMapper.xml
View file @
8675a5bb
...
...
@@ -25,22 +25,28 @@
and LRSJ >= to_date(to_char(sysdate, 'yyyy-mm-dd'), 'yyyy-mm-dd')
</if>
</select>
<select
id=
"getYthcjSjTxlCount"
resultType=
"java.lang.Integer"
>
select count(*) FROM tb_ph_lxrxx where SCBZ = 0
<select
id=
"getYthcjSjTxlCount"
resultType=
"java.lang.Long"
>
<if
test=
"isZl == '1'.toString()"
>
and LRSJ >= to_date(to_char(sysdate, 'yyyy-mm-dd'), 'yyyy-mm-dd')
select count(*) FROM tb_ph_lxrxx where gxsj >= to_date(to_char(sysdate, 'yyyy-mm-dd'), 'yyyy-mm-dd')
</if>
<if
test=
"isZl == '0'.toString()"
>
select num_rows from user_tables where table_name='TB_PH_THJL'
</if>
</select>
<select
id=
"getYthcjSjThjlCount"
resultType=
"java.lang.Integer"
>
select count(*) FROM tb_ph_thjl where SCBZ = 0
<select
id=
"getYthcjSjThjlCount"
resultType=
"java.lang.Long"
>
<if
test=
"isZl == '1'.toString()"
>
and LRSJ >= to_date(to_char(sysdate, 'yyyy-mm-dd'), 'yyyy-mm-dd')
select count(*) FROM tb_ph_thjl where gxsj >= to_date(to_char(sysdate, 'yyyy-mm-dd'), 'yyyy-mm-dd')
</if>
<if
test=
"isZl == '0'.toString()"
>
select num_rows from user_tables where table_name='TB_PH_THJL'
</if>
</select>
<select
id=
"getYthcjSjDxjlCount"
resultType=
"java.lang.Integer"
>
select count(*) FROM tb_ph_dxjl where SCBZ = 0
<select
id=
"getYthcjSjDxjlCount"
resultType=
"java.lang.Long"
>
<if
test=
"isZl == '1'.toString()"
>
and LRSJ >= to_date(to_char(sysdate, 'yyyy-mm-dd'), 'yyyy-mm-dd')
select count(*) FROM tb_ph_dxjl where gxsj >= to_date(to_char(sysdate, 'yyyy-mm-dd'), 'yyyy-mm-dd')
</if>
<if
test=
"isZl == '0'.toString()"
>
select num_rows from user_tables where table_name='TB_PH_DXJL'
</if>
</select>
<select
id=
"getYthcjSjXnsfCount"
resultType=
"java.lang.Integer"
>
...
...
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