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
d1c79ecf
Commit
d1c79ecf
authored
Aug 23, 2021
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
503431e2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
InputItem.java
...va/com/yeejoin/amos/supervision/dao/entity/InputItem.java
+4
-3
InputItemController.java
.../supervision/business/controller/InputItemController.java
+1
-1
dbTemplate_input_item.xml
...on/src/main/resources/db/mapper/dbTemplate_input_item.xml
+5
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-supervision-api/src/main/java/com/yeejoin/amos/supervision/dao/entity/InputItem.java
View file @
d1c79ecf
...
...
@@ -203,6 +203,7 @@ public class InputItem extends BasicEntity {
/**
* 适用检查类别
*/
@Lob
@Column
(
name
=
"item_type_classify"
)
private
String
itemTypeClassify
;
...
...
@@ -216,13 +217,13 @@ public class InputItem extends BasicEntity {
* 检查项启用
*/
@Column
(
name
=
"item_start"
)
private
String
itemStart
;
private
Integer
itemStart
;
public
String
getItemStart
()
{
public
Integer
getItemStart
()
{
return
itemStart
;
}
public
void
setItemStart
(
String
itemStart
)
{
public
void
setItemStart
(
Integer
itemStart
)
{
this
.
itemStart
=
itemStart
;
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/controller/InputItemController.java
View file @
d1c79ecf
...
...
@@ -93,7 +93,7 @@ public class InputItemController extends AbstractBaseController {
BeanUtils
.
copyProperties
(
param
,
inputItem
);
inputItem
.
setOrgCode
(
loginOrgCode
);
inputItem
.
setCreateBy
(
user
.
getUserId
());
inputItem
.
setItemStart
(
"0"
);
inputItem
.
setItemStart
(
0
);
inputItemService
.
addNewInputItem
(
inputItem
);
return
CommonResponseUtil
.
success
();
}
catch
(
Exception
e
)
{
...
...
amos-boot-system-supervision/src/main/resources/db/mapper/dbTemplate_input_item.xml
View file @
d1c79ecf
...
...
@@ -26,6 +26,11 @@
<if
test=
"testRequirement != null "
>
test_requirement=#{testRequirement},
</if>
<if
test=
"inputClassify != null "
>
input_classify=#{inputClassify},
</if>
<if
test=
"unit != null "
>
unit=#{unit},
</if>
<if
test=
"checkType != null "
>
check_type=#{checkType},
</if>
<if
test=
"itemParent != null "
>
item_parent=#{itemParent},
</if>
<if
test=
"itemClassify != null "
>
item_classify=#{itemClassify},
</if>
<if
test=
"itemTypeClassify != null "
>
item_type_classify=#{itemTypeClassify},
</if>
<if
test=
"itemLevel != null "
>
item_level=#{itemLevel},
</if>
</trim>
WHERE id=#{id}
</update>
...
...
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