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
aa745275
Commit
aa745275
authored
Aug 20, 2024
by
邢磊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_register_to_0715' of…
Merge branch 'develop_tzs_register_to_0715' of
http://36.40.66.175:5000/moa/amos-boot-biz
into develop_tzs_register_to_0715
parents
2f63f2ae
e180de25
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
TzBaseEnterpriseInfoMapper.xml
.../src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
+5
-10
SafetyProblemTracingDto.java
.../amos/boot/module/jg/api/dto/SafetyProblemTracingDto.java
+3
-0
SafetyProblemTracingServiceImpl.java
.../jg/biz/service/impl/SafetyProblemTracingServiceImpl.java
+1
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jczs/amos-boot-module-jczs-api/src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
View file @
aa745275
...
@@ -134,17 +134,12 @@
...
@@ -134,17 +134,12 @@
AND regulatory_labels LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.regulatoryLabels},'%')
AND regulatory_labels LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.regulatoryLabels},'%')
</if>
</if>
<if
test=
"orgCodeList != null and ! orgCodeList.isEmpty() and orgCodeList.size() > 0"
>
<if
test=
"orgCodeList != null and !orgCodeList.isEmpty()"
>
AND (
<foreach
collection=
"orgCodeList"
item=
"item"
index=
"index"
>
<foreach
collection=
"orgCodeList"
item=
"item"
separator=
" OR "
>
<if
test=
"index==0"
>
supervise_org_code LIKE CONCAT('%', #{item}, '%')
AND
</if>
<if
test=
"index!= 0"
>
OR
</if>
supervise_org_code LIKE CONCAT('%',#{item},'%')
</foreach>
</foreach>
)
</if>
</if>
AND is_delete = 0
AND is_delete = 0
</where>
</where>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/SafetyProblemTracingDto.java
View file @
aa745275
...
@@ -76,6 +76,9 @@ public class SafetyProblemTracingDto extends BaseDto {
...
@@ -76,6 +76,9 @@ public class SafetyProblemTracingDto extends BaseDto {
@ApiModelProperty
(
value
=
"所属区域代码(6100000/6100010/6100011)"
)
@ApiModelProperty
(
value
=
"所属区域代码(6100000/6100010/6100011)"
)
private
String
regionCode
;
private
String
regionCode
;
@ApiModelProperty
(
value
=
"所属区域代码(6100000/6100010/6100011)"
)
private
String
cityCode
;
@ApiModelProperty
(
value
=
"问题状态(0未处理、1已处理)"
)
@ApiModelProperty
(
value
=
"问题状态(0未处理、1已处理)"
)
private
String
problemStatus
;
private
String
problemStatus
;
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/SafetyProblemTracingServiceImpl.java
View file @
aa745275
...
@@ -65,13 +65,12 @@ public class SafetyProblemTracingServiceImpl extends BaseService<SafetyProblemTr
...
@@ -65,13 +65,12 @@ public class SafetyProblemTracingServiceImpl extends BaseService<SafetyProblemTr
}
}
public
Page
<
SafetyProblemTracingDto
>
getProblemRecords
(
Page
<
SafetyProblemTracingDto
>
page
,
SafetyProblemTracingDto
problemModel
)
{
public
Page
<
SafetyProblemTracingDto
>
getProblemRecords
(
Page
<
SafetyProblemTracingDto
>
page
,
SafetyProblemTracingDto
problemModel
)
{
String
orgCode
=
getAndSetOrgCode
(
problemModel
.
get
Region
Code
());
String
orgCode
=
getAndSetOrgCode
(
problemModel
.
get
City
Code
());
if
(
ObjectUtils
.
isEmpty
(
orgCode
)){
if
(
ObjectUtils
.
isEmpty
(
orgCode
)){
return
new
Page
<>();
return
new
Page
<>();
}
}
problemModel
.
setGoverningBodyOrgCode
(
orgCode
);
problemModel
.
setGoverningBodyOrgCode
(
orgCode
);
// 使用orgCode过滤
// 使用orgCode过滤
problemModel
.
setRegionCode
(
null
);
// 将单位类型从code转化为value
// 将单位类型从code转化为value
if
(!
ValidationUtil
.
isEmpty
(
problemModel
.
getPrincipalUnitType
())){
if
(!
ValidationUtil
.
isEmpty
(
problemModel
.
getPrincipalUnitType
())){
Collection
<
DataDictionary
>
unitTypeList
=
iDataDictionaryService
.
list
(
new
QueryWrapper
<
DataDictionary
>()
Collection
<
DataDictionary
>
unitTypeList
=
iDataDictionaryService
.
list
(
new
QueryWrapper
<
DataDictionary
>()
...
...
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