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
a791cfa5
Commit
a791cfa5
authored
Jul 29, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_dl_plan6_temp' of…
Merge branch 'develop_dl_plan6_temp' of
http://39.98.45.134:8090/moa/amos-boot-biz
into develop_dl_plan6_temp
parents
a5946eaf
9e1b3b6f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
0 deletions
+34
-0
InputItemController.java
.../amos/patrol/business/controller/InputItemController.java
+18
-0
InputItemServiceImpl.java
...os/patrol/business/service/impl/InputItemServiceImpl.java
+11
-0
IInputItemService.java
...amos/patrol/business/service/intfc/IInputItemService.java
+2
-0
dbTemplate_input_item.xml
...ol/src/main/resources/db/mapper/dbTemplate_input_item.xml
+3
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/InputItemController.java
View file @
a791cfa5
...
...
@@ -347,6 +347,24 @@ public class InputItemController extends AbstractBaseController {
List
<
PointInputItemVo
>
list
=
inputItemService
.
queryCustomInputItem
(
params
.
get
(
"itemType"
).
toString
(),
params
.
get
(
"nameOrItemNo"
).
toString
(),
orgCode
);
return
CommonResponseUtil
.
success
(
list
);
}
/**
* 条件查询检查项
*
* @param params
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/queryCustomInputItemNew"
,
produces
=
"application/json;charset=UTF-8"
)
@ApiOperation
(
value
=
"条件查询检查项"
,
notes
=
"条件查询检查项"
)
public
CommonResponse
queryCustomInputItemNew
(
@RequestBody
HashMap
<
String
,
Object
>
params
){
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
orgCode
=
getOrgCode
(
reginParams
);
String
companyBizOrgCode
=
reginParams
.
getPersonIdentity
().
getCompanyBizOrgCode
();
List
<
PointInputItemVo
>
list
=
inputItemService
.
queryCustomInputItemNew
(
params
.
get
(
"itemType"
).
toString
(),
params
.
get
(
"nameOrItemNo"
).
toString
(),
orgCode
,
companyBizOrgCode
);
return
CommonResponseUtil
.
success
(
list
);
}
/**
* 条件查询检查项
*
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/InputItemServiceImpl.java
View file @
a791cfa5
...
...
@@ -233,4 +233,15 @@ public class InputItemServiceImpl implements IInputItemService {
return
content
;
}
@Override
public
List
<
PointInputItemVo
>
queryCustomInputItemNew
(
String
itemType
,
String
nameOrItemNo
,
String
orgCode
,
String
companyBizOrgCode
)
{
HashMap
<
String
,
Object
>
param
=
new
HashMap
<>();
param
.
put
(
"itemType"
,
itemType
);
param
.
put
(
"nameOrItemNo"
,
nameOrItemNo
);
param
.
put
(
"orgCode"
,
orgCode
);
param
.
put
(
"bizOrgCode"
,
companyBizOrgCode
);
List
<
PointInputItemVo
>
content
=
inputItemMapper
.
queryCustomInputItem
(
param
);
return
content
;
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/intfc/IInputItemService.java
View file @
a791cfa5
...
...
@@ -128,4 +128,6 @@ public interface IInputItemService {
public
Object
getCheckClassify
(
String
token
,
String
product
,
String
appKey
,
String
dictCode
);
List
<
PointInputItemVo
>
queryCustomInputItem
(
String
itemType
,
String
nameOrItemNo
,
String
orgCode
);
List
<
PointInputItemVo
>
queryCustomInputItemNew
(
String
itemType
,
String
nameOrItemNo
,
String
orgCode
,
String
companyBizOrgCode
);
}
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_input_item.xml
View file @
a791cfa5
...
...
@@ -161,6 +161,9 @@
<if
test=
"customType!=null and customType !=''"
>
and custom_type = #{customType}
</if>
<if
test=
"bizOrgCode!=null and bizOrgCode !=''"
>
and biz_org_code LIKE CONCAT (#{bizOrgCode},'%')
</if>
ORDER BY create_date DESC
</select>
<select
id=
"queryCustomInputItemByPointId"
resultType=
"com.yeejoin.amos.patrol.business.vo.PointInputItemVo"
>
...
...
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