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
2fe72a68
Commit
2fe72a68
authored
Jun 01, 2024
by
kinky2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
eb00cbe4
7f3db858
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
4 deletions
+24
-4
TzsAuthController.java
...oot/module/cylinder/biz/controller/TzsAuthController.java
+11
-0
CylinderFillingRecordServiceImpl.java
...lc/biz/service/impl/CylinderFillingRecordServiceImpl.java
+8
-0
CylinderInfoServiceImpl.java
...ylinder/flc/biz/service/impl/CylinderInfoServiceImpl.java
+5
-4
No files found.
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/boot/module/cylinder/biz/controller/TzsAuthController.java
View file @
2fe72a68
...
@@ -79,6 +79,17 @@ public class TzsAuthController extends BaseController {
...
@@ -79,6 +79,17 @@ public class TzsAuthController extends BaseController {
}
}
/**
/**
* 获取用户组织机构树
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/getUserReginTree"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取用户组织机构树"
,
notes
=
"获取用户组织机构树"
)
public
ResponseModel
<
Collection
<
RegionModel
>>
getUserReginTree
()
{
List
<
RegionModel
>
result
=
tzsAuthService
.
getUserReginTree
();
return
ResponseHelper
.
buildResponse
(
result
);
}
/**
* 获取三级组织机构树
* 获取三级组织机构树
*
*
* @return
* @return
...
...
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/boot/module/cylinder/flc/biz/service/impl/CylinderFillingRecordServiceImpl.java
View file @
2fe72a68
...
@@ -337,6 +337,14 @@ public class CylinderFillingRecordServiceImpl extends BaseService<CylinderFillin
...
@@ -337,6 +337,14 @@ public class CylinderFillingRecordServiceImpl extends BaseService<CylinderFillin
boolMust
.
must
(
query
);
boolMust
.
must
(
query
);
}
}
//应用id
if
(!
ObjectUtils
.
isEmpty
(
esCylinderFillingRecordDto
.
getAppId
()))
{
flag
=
false
;
BoolQueryBuilder
query
=
QueryBuilders
.
boolQuery
();
query
.
must
(
QueryBuilders
.
termsQuery
(
"appId"
,
esCylinderFillingRecordDto
.
getAppId
().
toLowerCase
()));
boolMust
.
must
(
query
);
}
//匹配气瓶品种
//匹配气瓶品种
if
(!
ObjectUtils
.
isEmpty
(
esCylinderFillingRecordDto
.
getCylinderVariety
()))
{
if
(!
ObjectUtils
.
isEmpty
(
esCylinderFillingRecordDto
.
getCylinderVariety
()))
{
flag
=
false
;
flag
=
false
;
...
...
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/boot/module/cylinder/flc/biz/service/impl/CylinderInfoServiceImpl.java
View file @
2fe72a68
...
@@ -908,14 +908,15 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
...
@@ -908,14 +908,15 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
boolMust
.
should
(
appIdBuilder
);
boolMust
.
should
(
appIdBuilder
);
}
}
//
匹配app
id
//
应用
id
if
(!
ObjectUtils
.
isEmpty
(
cylinderInfoDto
.
getAppId
()))
{
if
(!
ObjectUtils
.
isEmpty
(
cylinderInfoDto
.
getAppId
()))
{
flag
=
false
;
flag
=
false
;
BoolQueryBuilder
appIdBuilder
=
QueryBuilders
.
boolQuery
();
BoolQueryBuilder
query
=
QueryBuilders
.
boolQuery
();
appIdBuilder
.
must
(
QueryBuilders
.
matchQuery
(
"appId"
,
"*"
+
cylinderInfoDto
.
getAppId
()
+
"*"
));
query
.
must
(
QueryBuilders
.
termsQuery
(
"appId"
,
cylinderInfoDto
.
getAppId
().
toLowerCase
()
));
boolMust
.
should
(
appIdBuilder
);
boolMust
.
must
(
query
);
}
}
//匹配产权单位
//匹配产权单位
if
(!
ObjectUtils
.
isEmpty
(
cylinderInfoDto
.
getUnitName
()))
{
if
(!
ObjectUtils
.
isEmpty
(
cylinderInfoDto
.
getUnitName
()))
{
flag
=
false
;
flag
=
false
;
...
...
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