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
c08029bd
Commit
c08029bd
authored
Feb 28, 2025
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
历史无证增补增加筛选
parent
8bad3e42
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
14 deletions
+25
-14
JgUseRegistrationManageMapper.xml
...c/main/resources/mapper/JgUseRegistrationManageMapper.xml
+5
-2
JgVehicleInformationMapper.xml
.../src/main/resources/mapper/JgVehicleInformationMapper.xml
+12
-11
EquipmentCategoryController.java
...odule/ymt/biz/controller/EquipmentCategoryController.java
+8
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationManageMapper.xml
View file @
c08029bd
...
@@ -39,6 +39,9 @@
...
@@ -39,6 +39,9 @@
<select
id=
"queryByUseUnitCreditCode"
resultType=
"com.yeejoin.amos.boot.module.jg.api.dto.JgUseRegistrationManageDto"
>
<select
id=
"queryByUseUnitCreditCode"
resultType=
"com.yeejoin.amos.boot.module.jg.api.dto.JgUseRegistrationManageDto"
>
<include
refid=
"page_list"
/>
<include
refid=
"page_list"
/>
from tzs_jg_use_registration_manage tjurm
from tzs_jg_use_registration_manage tjurm
<if
test=
"dto.regType != null and dto.regType != '' "
>
LEFT JOIN tzs_jg_use_registration ur on ur.use_registration_code = tjurm.use_registration_code
</if>
<where>
<where>
tjurm.is_delete = 0
tjurm.is_delete = 0
<if
test=
"dto.useUnitCreditCode != null and dto.useUnitCreditCode != ''"
>
<if
test=
"dto.useUnitCreditCode != null and dto.useUnitCreditCode != ''"
>
...
@@ -62,8 +65,8 @@
...
@@ -62,8 +65,8 @@
<if
test=
"dto.isCyl != null and dto.isCyl == 1 "
>
<if
test=
"dto.isCyl != null and dto.isCyl == 1 "
>
AND tjurm.reg_type != '车用气瓶登记'
AND tjurm.reg_type != '车用气瓶登记'
</if>
</if>
<if
test=
"dto.
whetherVehicleCylinder != null and dto.whetherVehicleCylinder == 1
"
>
<if
test=
"dto.
regType != null and dto.regType != ''
"
>
AND
tjurm.reg_type = '车用气瓶登记'
AND
ur.reg_type in (0,2)
</if>
</if>
ORDER BY tjurm.rec_date DESC
ORDER BY tjurm.rec_date DESC
</where>
</where>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgVehicleInformationMapper.xml
View file @
c08029bd
...
@@ -36,20 +36,21 @@
...
@@ -36,20 +36,21 @@
and tjvi.use_unit_credit_code = #{dto.useUnitCode}
and tjvi.use_unit_credit_code = #{dto.useUnitCode}
</if>
</if>
<if
test=
"dto.dataType == 'supervision' and client == 'jgAudit' "
>
<if
test=
"dto.dataType == 'supervision' and client == 'jgAudit' "
>
AND tjvi.receive_company_code = #{dto.useUnitCreditCode}
AND tjvi.receive_company_code = #{dto.useUnitCreditCode}
AND tjvi.status
<![CDATA[<>]]>
'使用单位待提交'
AND tjvi.status
<![CDATA[<>]]>
'使用单位待提交'
<if
test=
"dto.orgBranchCode != null and dto.orgBranchCode != ''"
>
and tjvi.org_branch_code = #{dto.orgBranchCode}
</if>
</if>
</if>
<if
test=
"dto.dataType == 'supervision' and client != 'jgAudit' "
>
<if
test=
"dto.dataType == 'company' "
>
AND tjvi.org_branch_code LIKE CONCAT(#{dto.orgBranchCode}, '%')
</if>
<if
test=
"dto.dataType == 'company'"
>
and tjvi.use_unit_credit_code = #{dto.useUnitCreditCode}
and tjvi.use_unit_credit_code = #{dto.useUnitCreditCode}
<if
test=
"dto.orgBranchCode != null and dto.orgBranchCode != ''"
>
</if>
and tjvi.org_branch_code = #{dto.orgBranchCode}
<if
test=
"dto.orgBranchCode != null and dto.orgBranchCode != ''"
>
</if>
<choose>
<when
test=
"client == 'jgAudit'"
>
and tjvi.org_branch_code = #{dto.orgBranchCode}
</when>
<otherwise>
AND tjvi.org_branch_code LIKE CONCAT(#{dto.orgBranchCode}, '%')
</otherwise>
</choose>
</if>
</if>
</where>
</where>
order by
order by
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/controller/EquipmentCategoryController.java
View file @
c08029bd
...
@@ -154,7 +154,7 @@ public class EquipmentCategoryController extends BaseController {
...
@@ -154,7 +154,7 @@ public class EquipmentCategoryController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"装备分类列表全部数据查询"
,
notes
=
"装备分类列表全部数据查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"装备分类列表全部数据查询"
,
notes
=
"装备分类列表全部数据查询"
)
@GetMapping
(
value
=
"/tree"
)
@GetMapping
(
value
=
"/tree"
)
public
ResponseModel
<
Object
>
tree
(
@RequestParam
(
value
=
"code"
,
required
=
false
)
String
code
)
throws
Exception
{
public
ResponseModel
<
Object
>
tree
(
@RequestParam
(
value
=
"code"
,
required
=
false
)
String
code
,
@RequestParam
(
value
=
"dataSource"
,
required
=
false
)
String
dataSource
)
throws
Exception
{
if
(
ObjectUtils
.
isEmpty
(
code
))
{
if
(
ObjectUtils
.
isEmpty
(
code
))
{
return
ResponseHelper
.
buildResponse
(
new
ArrayList
<>());
return
ResponseHelper
.
buildResponse
(
new
ArrayList
<>());
}
}
...
@@ -165,6 +165,13 @@ public class EquipmentCategoryController extends BaseController {
...
@@ -165,6 +165,13 @@ public class EquipmentCategoryController extends BaseController {
Menu
menu
=
new
Menu
(
root
.
getId
(),
root
.
getName
(),
0L
,
0
);
Menu
menu
=
new
Menu
(
root
.
getId
(),
root
.
getName
(),
0L
,
0
);
List
<
Menu
>
menus
=
TreeParser
.
getTree
(
root
.
getId
(),
list
,
EquipmentCategory
.
class
.
getName
(),
"getId"
,
0
,
"getName"
,
List
<
Menu
>
menus
=
TreeParser
.
getTree
(
root
.
getId
(),
list
,
EquipmentCategory
.
class
.
getName
(),
"getId"
,
0
,
"getName"
,
"getParentId"
,
null
,
"getCode"
);
"getParentId"
,
null
,
"getCode"
);
if
(
Objects
.
nonNull
(
dataSource
)&&
"jg_his_black"
.
equals
(
dataSource
)){
for
(
Menu
menu1
:
menus
)
{
if
(
menu1
.
getName
().
equals
(
"特种气瓶"
)){
menu1
.
setName
(
"特种气瓶"
+
"(非车用气瓶)"
);
}
}
}
menu
.
setChildren
(
menus
);
menu
.
setChildren
(
menus
);
List
<
Menu
>
tree
=
new
ArrayList
<>();
List
<
Menu
>
tree
=
new
ArrayList
<>();
tree
.
add
(
menu
);
tree
.
add
(
menu
);
...
...
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