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
e4001b5a
Commit
e4001b5a
authored
Jun 11, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加时间格式化,以及时间过滤条件
parent
14a1df8a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
4 deletions
+26
-4
FirefightersContract.java
...amos/boot/module/jcs/api/entity/FirefightersContract.java
+5
-2
FirefightersJacket.java
...n/amos/boot/module/jcs/api/entity/FirefightersJacket.java
+4
-0
FirefightersThought.java
.../amos/boot/module/jcs/api/entity/FirefightersThought.java
+4
-1
FirefightersContractController.java
...le/jcs/biz/controller/FirefightersContractController.java
+4
-0
FirefightersJacketController.java
...dule/jcs/biz/controller/FirefightersJacketController.java
+5
-1
FirefightersThoughtController.java
...ule/jcs/biz/controller/FirefightersThoughtController.java
+4
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/entity/FirefightersContract.java
View file @
e4001b5a
...
@@ -2,6 +2,9 @@ package com.yeejoin.amos.boot.module.jcs.api.entity;
...
@@ -2,6 +2,9 @@ package com.yeejoin.amos.boot.module.jcs.api.entity;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.util.Date
;
import
java.util.Date
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
...
@@ -42,8 +45,9 @@ public class FirefightersContract extends BaseEntity {
...
@@ -42,8 +45,9 @@ public class FirefightersContract extends BaseEntity {
private
String
partyB
;
private
String
partyB
;
@ApiModelProperty
(
value
=
"签订日期"
)
@ApiModelProperty
(
value
=
"签订日期"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
signedTime
;
private
Date
signedTime
;
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@ApiModelProperty
(
value
=
"到期时间"
)
@ApiModelProperty
(
value
=
"到期时间"
)
private
Date
expireTime
;
private
Date
expireTime
;
...
@@ -60,7 +64,6 @@ public class FirefightersContract extends BaseEntity {
...
@@ -60,7 +64,6 @@ public class FirefightersContract extends BaseEntity {
@ApiModelProperty
(
value
=
"人员id"
)
@ApiModelProperty
(
value
=
"人员id"
)
private
Long
firefightersId
;
private
Long
firefightersId
;
@ApiModelProperty
(
value
=
"更新时间"
)
@ApiModelProperty
(
value
=
"更新时间"
)
@TableField
(
fill
=
FieldFill
.
UPDATE
)
@TableField
(
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
private
Date
updateTime
;
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/entity/FirefightersJacket.java
View file @
e4001b5a
...
@@ -2,6 +2,9 @@ package com.yeejoin.amos.boot.module.jcs.api.entity;
...
@@ -2,6 +2,9 @@ package com.yeejoin.amos.boot.module.jcs.api.entity;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.util.Date
;
import
java.util.Date
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
...
@@ -51,6 +54,7 @@ public class FirefightersJacket extends BaseEntity {
...
@@ -51,6 +54,7 @@ public class FirefightersJacket extends BaseEntity {
private
String
equipmentTypeName
;
private
String
equipmentTypeName
;
@ApiModelProperty
(
value
=
"配发日期"
)
@ApiModelProperty
(
value
=
"配发日期"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
allotmentTime
;
private
Date
allotmentTime
;
@ApiModelProperty
(
value
=
"更新时间"
)
@ApiModelProperty
(
value
=
"更新时间"
)
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/entity/FirefightersThought.java
View file @
e4001b5a
...
@@ -2,6 +2,9 @@ package com.yeejoin.amos.boot.module.jcs.api.entity;
...
@@ -2,6 +2,9 @@ package com.yeejoin.amos.boot.module.jcs.api.entity;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.util.Date
;
import
java.util.Date
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
...
@@ -34,7 +37,7 @@ public class FirefightersThought extends BaseEntity {
...
@@ -34,7 +37,7 @@ public class FirefightersThought extends BaseEntity {
@ApiModelProperty
(
value
=
"消防救援人员"
)
@ApiModelProperty
(
value
=
"消防救援人员"
)
private
Long
firefightersId
;
private
Long
firefightersId
;
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@ApiModelProperty
(
value
=
"谈话时间"
)
@ApiModelProperty
(
value
=
"谈话时间"
)
private
Date
talkingTime
;
private
Date
talkingTime
;
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersContractController.java
View file @
e4001b5a
...
@@ -25,6 +25,7 @@ import org.typroject.tyboot.core.restful.doc.TycloudOperation;
...
@@ -25,6 +25,7 @@ import org.typroject.tyboot.core.restful.doc.TycloudOperation;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.Date
;
/**
/**
...
@@ -139,6 +140,9 @@ public class FirefightersContractController extends BaseController {
...
@@ -139,6 +140,9 @@ public class FirefightersContractController extends BaseController {
}
else
if
(
type
.
equals
(
String
.
class
))
{
}
else
if
(
type
.
equals
(
String
.
class
))
{
String
fileValue
=
(
String
)
field
.
get
(
firefightersContract
);
String
fileValue
=
(
String
)
field
.
get
(
firefightersContract
);
firefightersContractQueryWrapper
.
eq
(
name
,
fileValue
);
firefightersContractQueryWrapper
.
eq
(
name
,
fileValue
);
}
else
if
(
type
.
equals
(
Date
.
class
))
{
Date
fileValue
=
(
Date
)
field
.
get
(
firefightersContract
);
firefightersContractQueryWrapper
.
eq
(
name
,
fileValue
);
}
else
{
}
else
{
String
fileValue
=
(
String
)
field
.
get
(
firefightersContract
);
String
fileValue
=
(
String
)
field
.
get
(
firefightersContract
);
firefightersContractQueryWrapper
.
eq
(
name
,
fileValue
);
firefightersContractQueryWrapper
.
eq
(
name
,
fileValue
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersJacketController.java
View file @
e4001b5a
...
@@ -23,6 +23,7 @@ import org.typroject.tyboot.core.restful.doc.TycloudOperation;
...
@@ -23,6 +23,7 @@ import org.typroject.tyboot.core.restful.doc.TycloudOperation;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.Date
;
/**
/**
* 消防人员配装记录
* 消防人员配装记录
...
@@ -128,7 +129,10 @@ public class FirefightersJacketController extends BaseController {
...
@@ -128,7 +129,10 @@ public class FirefightersJacketController extends BaseController {
}
else
if
(
type
.
equals
(
String
.
class
))
{
}
else
if
(
type
.
equals
(
String
.
class
))
{
String
fileValue
=
(
String
)
field
.
get
(
firefightersJacket
);
String
fileValue
=
(
String
)
field
.
get
(
firefightersJacket
);
firefightersJacketQueryWrapper
.
eq
(
name
,
fileValue
);
firefightersJacketQueryWrapper
.
eq
(
name
,
fileValue
);
}
else
{
}
else
if
(
type
.
equals
(
Date
.
class
))
{
Date
fileValue
=
(
Date
)
field
.
get
(
firefightersJacket
);
firefightersJacketQueryWrapper
.
eq
(
name
,
fileValue
);
}
else
{
String
fileValue
=
(
String
)
field
.
get
(
firefightersJacket
);
String
fileValue
=
(
String
)
field
.
get
(
firefightersJacket
);
firefightersJacketQueryWrapper
.
eq
(
name
,
fileValue
);
firefightersJacketQueryWrapper
.
eq
(
name
,
fileValue
);
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersThoughtController.java
View file @
e4001b5a
...
@@ -24,6 +24,7 @@ import org.typroject.tyboot.core.restful.doc.TycloudOperation;
...
@@ -24,6 +24,7 @@ import org.typroject.tyboot.core.restful.doc.TycloudOperation;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.Date
;
/**
/**
...
@@ -132,6 +133,9 @@ public class FirefightersThoughtController extends BaseController {
...
@@ -132,6 +133,9 @@ public class FirefightersThoughtController extends BaseController {
}
else
if
(
type
.
equals
(
String
.
class
))
{
}
else
if
(
type
.
equals
(
String
.
class
))
{
String
fileValue
=
(
String
)
field
.
get
(
firefightersThought
);
String
fileValue
=
(
String
)
field
.
get
(
firefightersThought
);
firefightersThoughtQueryWrapper
.
eq
(
name
,
fileValue
);
firefightersThoughtQueryWrapper
.
eq
(
name
,
fileValue
);
}
else
if
(
type
.
equals
(
Date
.
class
))
{
Date
fileValue
=
(
Date
)
field
.
get
(
firefightersThought
);
firefightersThoughtQueryWrapper
.
eq
(
name
,
fileValue
);
}
else
{
}
else
{
String
fileValue
=
(
String
)
field
.
get
(
firefightersThought
);
String
fileValue
=
(
String
)
field
.
get
(
firefightersThought
);
firefightersThoughtQueryWrapper
.
eq
(
name
,
fileValue
);
firefightersThoughtQueryWrapper
.
eq
(
name
,
fileValue
);
...
...
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