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
077d108b
Commit
077d108b
authored
Oct 20, 2022
by
sxwnfpwx@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标准规则库修改
parent
b5ad26fe
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
6 deletions
+18
-6
SuperviseRuleDto.java
...eejoin/amos/boot/module/ugp/api/dto/SuperviseRuleDto.java
+0
-2
InstallNoticeMsgMapper.xml
...-api/src/main/resources/mapper/InstallNoticeMsgMapper.xml
+2
-2
ProjectResourceMapper.xml
...p-api/src/main/resources/mapper/ProjectResourceMapper.xml
+2
-2
SuperviseRuleController.java
...ot/module/ugp/biz/controller/SuperviseRuleController.java
+14
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/java/com/yeejoin/amos/boot/module/ugp/api/dto/SuperviseRuleDto.java
View file @
077d108b
...
@@ -39,6 +39,4 @@ public class SuperviseRuleDto extends BaseDto {
...
@@ -39,6 +39,4 @@ public class SuperviseRuleDto extends BaseDto {
@ApiModelProperty
(
value
=
"创建时间"
)
@ApiModelProperty
(
value
=
"创建时间"
)
private
Date
createDate
;
private
Date
createDate
;
}
}
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/resources/mapper/InstallNoticeMsgMapper.xml
View file @
077d108b
...
@@ -19,10 +19,10 @@
...
@@ -19,10 +19,10 @@
where tz_ugp_project.sequence_nbr = tz_ugp_install_notice.project_id
where tz_ugp_project.sequence_nbr = tz_ugp_install_notice.project_id
and tz_ugp_install_notice_msg.install_notice_id = tz_ugp_install_notice.sequence_nbr
and tz_ugp_install_notice_msg.install_notice_id = tz_ugp_install_notice.sequence_nbr
<if
test=
"name != null and name != ''"
>
<if
test=
"name != null and name != ''"
>
and tz_ugp_project.name
= #{name}
and tz_ugp_project.name
like '%${name}%'
</if>
</if>
<if
test=
"installationUnit != null and installationUnit != ''"
>
<if
test=
"installationUnit != null and installationUnit != ''"
>
and tz_ugp_project.installationUnit
= #{installationUnit}
and tz_ugp_project.installationUnit
like '%${installationUnit}%'
</if>
</if>
</select>
</select>
<select
id=
"selectByName"
resultType=
"com.yeejoin.amos.boot.module.ugp.api.dto.InstallNoticeMsgPageDto"
>
<select
id=
"selectByName"
resultType=
"com.yeejoin.amos.boot.module.ugp.api.dto.InstallNoticeMsgPageDto"
>
...
...
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/resources/mapper/ProjectResourceMapper.xml
View file @
077d108b
...
@@ -22,10 +22,10 @@
...
@@ -22,10 +22,10 @@
tz_ugp_attachment.type = 'enuipment'
tz_ugp_attachment.type = 'enuipment'
<where>
<where>
<if
test=
"name != null and name != ''"
>
<if
test=
"name != null and name != ''"
>
and tz_ugp_equipment.name
= #{name}
and tz_ugp_equipment.name
like '%${name}%'
</if>
</if>
<if
test=
"type != null and type != ''"
>
<if
test=
"type != null and type != ''"
>
and tz_ugp_equipment.type
= #{type}
and tz_ugp_equipment.type
like '%${type}%'
</if>
</if>
</where>
</where>
</select>
</select>
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/SuperviseRuleController.java
View file @
077d108b
...
@@ -161,4 +161,18 @@ public class SuperviseRuleController extends BaseController {
...
@@ -161,4 +161,18 @@ public class SuperviseRuleController extends BaseController {
public
ResponseModel
<
List
<
SuperviseRuleDto
>>
selectForList
()
{
public
ResponseModel
<
List
<
SuperviseRuleDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
superviseRuleServiceImpl
.
queryForSuperviseRuleList
());
return
ResponseHelper
.
buildResponse
(
superviseRuleServiceImpl
.
queryForSuperviseRuleList
());
}
}
/**
* 根据sequenceNbr查询标准规则库
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/queryBySeq/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询监管区域规则表"
,
notes
=
"根据sequenceNbr查询监管区域规则表"
)
public
ResponseModel
<
SuperviseRuleDto
>
queryBySeq
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
superviseRuleServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
}
}
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