Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
143ef91d
Commit
143ef91d
authored
Nov 18, 2020
by
ilal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
9a655227
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
src/main/java/cn/timer/api/bean/htzz/HtzzAdminZzda.java
+3
-0
src/main/java/cn/timer/api/controller/htzz/HtzzController.java
+1
-1
src/main/java/cn/timer/api/dto/htzz/HtzzQueryDto.java
+3
-0
src/main/resources/mapping/htzz/HtzzAdminZzdaMapper.xml
+3
-1
No files found.
src/main/java/cn/timer/api/bean/htzz/HtzzAdminZzda.java
View file @
143ef91d
...
@@ -92,6 +92,9 @@ public class HtzzAdminZzda extends Model<HtzzAdminZzda> {
...
@@ -92,6 +92,9 @@ public class HtzzAdminZzda extends Model<HtzzAdminZzda> {
@ApiModelProperty
(
value
=
"0:未发;1:已发"
,
example
=
"0"
)
@ApiModelProperty
(
value
=
"0:未发;1:已发"
,
example
=
"0"
)
private
Integer
sendingStatus
;
private
Integer
sendingStatus
;
@ApiModelProperty
(
value
=
"1:合同;2:证照"
,
example
=
"1"
)
private
Integer
documentType
;
@Transient
@Transient
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
List
<
NotifyPersonDto
>
ids
;
private
List
<
NotifyPersonDto
>
ids
;
...
...
src/main/java/cn/timer/api/controller/htzz/HtzzController.java
View file @
143ef91d
...
@@ -162,7 +162,7 @@ public class HtzzController {
...
@@ -162,7 +162,7 @@ public class HtzzController {
QueryWrapper
<
HtzzAdminZzda
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
HtzzAdminZzda
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"org_code"
,
userBean
.
getOrgCode
())
queryWrapper
.
eq
(
"org_code"
,
userBean
.
getOrgCode
())
.
select
(
"id"
,
"zjmc"
,
"czry"
,
"czrdh"
,
"fzrq"
,
"yxdqr"
,
"txkg_type"
).
eq
(
"is_delete"
,
0
)
.
select
(
"id"
,
"zjmc"
,
"czry"
,
"czrdh"
,
"fzrq"
,
"yxdqr"
,
"txkg_type"
).
eq
(
"is_delete"
,
0
)
.
eq
(
"document_type"
,
htzzQueryDto
.
getDocumentType
())
.
gt
(!
StrUtil
.
hasBlank
(
e
),
"yxdqr"
,
!
StrUtil
.
hasBlank
(
e
)
?
e
:
"9999-01-01 00:00:00"
)
.
gt
(!
StrUtil
.
hasBlank
(
e
),
"yxdqr"
,
!
StrUtil
.
hasBlank
(
e
)
?
e
:
"9999-01-01 00:00:00"
)
.
and
(!
StrUtil
.
hasBlank
(
q
),
wq
->
wq
.
like
(
"zjmc"
,
q
).
or
().
like
(
"czry"
,
q
)).
orderByDesc
(
"lrsj_time"
);
.
and
(!
StrUtil
.
hasBlank
(
q
),
wq
->
wq
.
like
(
"zjmc"
,
q
).
or
().
like
(
"czry"
,
q
)).
orderByDesc
(
"lrsj_time"
);
...
...
src/main/java/cn/timer/api/dto/htzz/HtzzQueryDto.java
View file @
143ef91d
...
@@ -23,5 +23,8 @@ public class HtzzQueryDto extends Page implements Serializable{
...
@@ -23,5 +23,8 @@ public class HtzzQueryDto extends Page implements Serializable{
@ApiModelProperty
(
value
=
"名称、型号、供应商"
,
example
=
"张三"
)
@ApiModelProperty
(
value
=
"名称、型号、供应商"
,
example
=
"张三"
)
private
String
query
;
private
String
query
;
@ApiModelProperty
(
value
=
"1:合同;2:证照"
,
example
=
"1"
)
private
Integer
documentType
;
}
}
src/main/resources/mapping/htzz/HtzzAdminZzdaMapper.xml
View file @
143ef91d
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
<result
column=
"is_delete"
property=
"isDelete"
/>
<result
column=
"is_delete"
property=
"isDelete"
/>
<result
column=
"template_id"
property=
"templateId"
/>
<result
column=
"template_id"
property=
"templateId"
/>
<result
column=
"sending_status"
property=
"sendingStatus"
/>
<result
column=
"sending_status"
property=
"sendingStatus"
/>
<result
column=
"document_type"
property=
"documentType"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
...
@@ -40,7 +41,8 @@
...
@@ -40,7 +41,8 @@
zjmc,
zjmc,
is_delete,
is_delete,
template_id,
template_id,
sending_status
sending_status,
document_type
</sql>
</sql>
...
...
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