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
11507ea9
Commit
11507ea9
authored
Sep 14, 2021
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消防监督检查项修改
parent
332ba8bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
InputItemParamUtil.java
...in/amos/supervision/business/util/InputItemParamUtil.java
+1
-1
dbTemplate_input_item.xml
...on/src/main/resources/db/mapper/dbTemplate_input_item.xml
+4
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/util/InputItemParamUtil.java
View file @
11507ea9
...
...
@@ -59,7 +59,7 @@ public class InputItemParamUtil {
}
else
if
(
"checkTypeId"
.
equals
(
name
))
{
param
.
setCheckTypeId
(
toString
(
queryRequests
.
get
(
i
).
getValue
()));
}
else
if
(
"itemStart"
.
equals
(
name
))
{
param
.
set
CheckTypeId
(
toString
(
queryRequests
.
get
(
i
).
getValue
()));
param
.
set
ItemStart
(
toString
(
queryRequests
.
get
(
i
).
getValue
()));
}
}
}
...
...
amos-boot-system-supervision/src/main/resources/db/mapper/dbTemplate_input_item.xml
View file @
11507ea9
...
...
@@ -87,6 +87,9 @@
<if
test=
"inputClassify != null"
>
and a.input_classify = #{inputClassify}
</if>
<if
test=
"itemType!=null"
>
and a.item_Type = #{itemType}
</if>
<if
test=
"orgCode!=null"
>
and a.org_Code = #{orgCode}
</if>
<if
test=
"itemStart!=null"
>
and a.item_start = #{itemStart}
</if>
<!-- <if test="orgCode!=null"> and a.org_Code = #{orgCode}</if>-->
<if
test=
"itemClassify != null"
>
and a.item_classify = #{itemClassify}
</if>
order by a.id desc
</select>
<!--查询 -->
...
...
@@ -126,7 +129,7 @@
<if
test=
"name!=null"
>
and a.name like concat(concat("%",#{name}),"%")
</if>
<if
test=
"itemNo!=null"
>
and a.item_no like concat(concat("%",#{itemNo}),"%")
</if>
<if
test=
"itemType!=null"
>
and a.item_Type = #{itemType}
</if>
<if
test=
"checkTypeId!=null"
>
and a.check_type_
Val
= #{checkTypeId}
</if>
<if
test=
"checkTypeId!=null"
>
and a.check_type_
id
= #{checkTypeId}
</if>
<if
test=
"itemStart!=null"
>
and a.item_start = #{itemStart}
</if>
<!-- <if test="orgCode!=null"> and a.org_Code = #{orgCode}</if>-->
<if
test=
"itemClassify != null"
>
and a.item_classify = #{itemClassify}
</if>
...
...
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