Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
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
吴迪
gs1-office-web-sit
Commits
0c0d5523
Commit
0c0d5523
authored
Nov 29, 2021
by
rongkailun
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
d678e947
6bc59c12
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
+7
-5
MedicalController.java
...o/office/modules/manage/controller/MedicalController.java
+1
-1
LogisticsEntity.java
...java/io/office/modules/manage/entity/LogisticsEntity.java
+1
-0
PolicyParams.java
...ava/io/office/modules/manage/entity/dto/PolicyParams.java
+1
-1
LogisticsServiceImpl.java
...ice/modules/manage/service/impl/LogisticsServiceImpl.java
+1
-1
PolicyDao.xml
src/main/resources/mapper/manage/PolicyDao.xml
+3
-2
No files found.
src/main/java/io/office/modules/manage/controller/MedicalController.java
View file @
0c0d5523
...
...
@@ -44,7 +44,7 @@ public class MedicalController {
*/
@RequestMapping
(
"/info/{id}"
)
// @RequiresPermissions("manage:medical:info")
public
R
info
(
@PathVariable
(
"id"
)
Integer
id
){
public
R
info
(
@PathVariable
(
"id"
)
String
id
){
MedicalEntity
medical
=
medicalService
.
getById
(
id
);
return
R
.
ok
().
put
(
"medical"
,
medical
);
...
...
src/main/java/io/office/modules/manage/entity/LogisticsEntity.java
View file @
0c0d5523
...
...
@@ -31,6 +31,7 @@ public class LogisticsEntity implements Serializable {
* $column.comments
*/
private
String
title
;
private
String
oldtitle
;
/**
* $column.comments
*/
...
...
src/main/java/io/office/modules/manage/entity/dto/PolicyParams.java
View file @
0c0d5523
...
...
@@ -18,7 +18,7 @@ public class PolicyParams extends PageParams {
private
String
keyword
;
private
String
status
;
private
String
class1
;
private
String
level
;
private
String
level
s
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
updateTimeStart
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
...
...
src/main/java/io/office/modules/manage/service/impl/LogisticsServiceImpl.java
View file @
0c0d5523
...
...
@@ -31,7 +31,7 @@ public class LogisticsServiceImpl extends ServiceImpl<LogisticsDao, LogisticsEnt
}
IPage
<
LogisticsEntity
>
page
=
this
.
page
(
new
Query
<
LogisticsEntity
>().
getPage
(
params
),
new
QueryWrapper
<
LogisticsEntity
>()
logisticsEntityQueryWrapper
);
return
new
PageUtils
(
page
);
...
...
src/main/resources/mapper/manage/PolicyDao.xml
View file @
0c0d5523
...
...
@@ -27,7 +27,7 @@
<result
property=
"auditor"
column=
"auditor"
/>
</resultMap>
<select
id=
"selectPolicyList"
resultMap=
"policyMap"
parameterType=
"io.office.modules.manage.entity.dto.PolicyParams"
>
select id,class,title,editor,lasteditor,releasedate,updatedate,auditor,status from Policy
select id,class,title,editor,lasteditor,releasedate,updatedate,auditor,status
,levels
from Policy
where 1=1
<if
test=
"newsParams.updateTimeStart !=null and newsParams.updateTimeEnd !=null"
>
and updatedate BETWEEN #{newsParams.updateTimeStart} AND #{newsParams.updateTimeEnd}
...
...
@@ -38,12 +38,13 @@
<if
test=
"newsParams.title !=null and newsParams.title !=''"
>
and title like concat('%',#{newsParams.title},'%')
</if>
<if
test=
"newsParams.status !=null"
>
<if
test=
"newsParams.status !=null
and newsParams.status !=''
"
>
and status =#{newsParams.status}
</if>
<if
test=
"newsParams.editor !=null and newsParams.editor !=''"
>
and editor =#{newsParams.editor}
</if>
and levels = #{newsParams.levels}
ORDER BY
id DESC
</select>
...
...
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