Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
bc1e59d5
Commit
bc1e59d5
authored
Jun 30, 2025
by
yangyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
b62470ad
6017e703
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
0 deletions
+72
-0
CommonMapper.xml
...-module-jg-api/src/main/resources/mapper/CommonMapper.xml
+60
-0
TzsCustomFilterContentDto.java
.../module/statistics/api/dto/TzsCustomFilterContentDto.java
+3
-0
TzsCustomFilterContent.java
.../module/statistics/api/entity/TzsCustomFilterContent.java
+7
-0
TzsCustomFilterContentServiceImpl.java
...s/biz/service/impl/TzsCustomFilterContentServiceImpl.java
+2
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/CommonMapper.xml
View file @
bc1e59d5
...
...
@@ -2929,6 +2929,22 @@
count(1) as inUseNumber,
b.equ_id as record
from
tzs_jg_equip_transfer a,
tzs_jg_equip_transfer_eq b
where
a.sequence_nbr = b.equip_transfer_id
and b.equ_id in
<foreach
collection=
"records"
item=
"record"
separator=
","
open=
"("
close=
")"
>
#{record}
</foreach>
and a.is_delete = 0
and (a.apply_status
<![CDATA[ <> ]]>
'6617' AND a.apply_status
<![CDATA[ <> ]]>
'6610')
group by b.equ_id
UNION all
select
count(1) as inUseNumber,
b.equ_id as record
from
tzs_jg_enable_disable a,
tzs_jg_enable_disable_eq b
where
...
...
@@ -2943,6 +2959,36 @@
UNION all
select
count(1) as inUseNumber,
b.equ_id as record
from
tzs_jg_vehicle_information a,
tzs_jg_vehicle_information_eq b
where
a.sequence_nbr = b.vehicle_id
and a.is_delete = 0
and b.equ_id in
<foreach
collection=
"records"
item=
"record"
separator=
","
open=
"("
close=
")"
>
#{record}
</foreach>
and (a.status
<![CDATA[ <> ]]>
'使用单位待提交' and a.status
<![CDATA[ <> ]]>
'已作废')
UNION all
select
count(1) as inUseNumber,
b.equ_id as record
from
tzs_jg_change_vehicle_registration_unit a,
tzs_jg_change_vehicle_registration_unit_eq b
where
a.sequence_nbr = b.unit_change_id
and a.is_delete = 0
and b.equ_id in
<foreach
collection=
"records"
item=
"record"
separator=
","
open=
"("
close=
")"
>
#{record}
</foreach>
and (a.status
<![CDATA[ <> ]]>
'使用单位待提交' and a.status
<![CDATA[ <> ]]>
'已作废')
UNION all
select
count(1) as inUseNumber,
ne.record
from
(SELECT
...
...
@@ -3024,6 +3070,20 @@
</foreach>
group by a.project_contraption_id
union all
select
count(1) as inUseNumber,
a.project_contraption_seq as projectContraptionId
from
tzs_jg_equip_transfer a
where
and a.project_contraption_seq in
<foreach
collection=
"records"
item=
"record"
separator=
","
open=
"("
close=
")"
>
#{record}
</foreach>
and a.is_delete = 0
and (a.apply_status
<![CDATA[ <> ]]>
'6617' AND a.apply_status
<![CDATA[ <> ]]>
'6610')
group by a.project_contraption_seq
union all
SELECT
count(1) as inUseNumber,
b.project_contraption_id as projectContraptionId
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/java/com/yeejoin/amos/boot/module/statistics/api/dto/TzsCustomFilterContentDto.java
View file @
bc1e59d5
...
...
@@ -37,6 +37,9 @@ public class TzsCustomFilterContentDto extends BaseEntity {
@ApiModelProperty
(
value
=
"筛选条件内容"
)
private
Object
filterContent
;
@ApiModelProperty
(
value
=
"选择筛选条件后全部中展示的内容"
)
private
Object
filterResult
;
@ApiModelProperty
(
value
=
"创建人ID"
)
private
String
createUserId
;
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/java/com/yeejoin/amos/boot/module/statistics/api/entity/TzsCustomFilterContent.java
View file @
bc1e59d5
...
...
@@ -71,4 +71,11 @@ public class TzsCustomFilterContent extends BaseEntity {
@TableField
(
"filter_type"
)
private
String
filterType
;
/**
* 选择筛选条件后全部中展示的内容
*/
@TableField
(
"filter_result"
)
private
Object
filterResult
;
}
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/TzsCustomFilterContentServiceImpl.java
View file @
bc1e59d5
...
...
@@ -8,6 +8,7 @@ import com.yeejoin.amos.boot.module.statistics.api.dto.TzsCustomFilterContentDto
import
com.yeejoin.amos.boot.module.statistics.api.entity.TzsCustomFilterContent
;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.TzsCustomFilterContentMapper
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.ObjectUtils
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
...
...
@@ -29,6 +30,7 @@ public class TzsCustomFilterContentServiceImpl extends BaseService<TzsCustomFilt
model
.
setOrgName
(
company
.
getCompanyName
());
model
.
setCreateUserId
(
RequestContext
.
getExeUserId
());
model
.
setFilterContent
(
JSONObject
.
toJSONString
(
model
.
getFilterContent
()));
model
.
setFilterResult
(
ObjectUtils
.
isEmpty
(
model
.
getFilterResult
())
?
null
:
JSONObject
.
toJSONString
(
model
.
getFilterResult
()));
model
.
setCreateTime
(
new
Date
());
return
this
.
createWithModel
(
model
);
}
...
...
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