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
9eef42fe
Commit
9eef42fe
authored
Jul 30, 2021
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同签订日期字段修改
parent
494e308b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
ContractController.java
...boot/module/common/biz/controller/ContractController.java
+3
-2
ContractServiceImpl.java
...t/module/common/biz/service/impl/ContractServiceImpl.java
+2
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/ContractController.java
View file @
9eef42fe
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
biz
.
controller
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
...
@@ -117,8 +118,8 @@ public class ContractController extends BaseController {
...
@@ -117,8 +118,8 @@ public class ContractController extends BaseController {
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"维保合同分页查询"
,
notes
=
"维保合同分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"维保合同分页查询"
,
notes
=
"维保合同分页查询"
)
public
ResponseModel
<
Page
<
ContractDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
public
ResponseModel
<
Page
<
ContractDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
,
Long
companyId
,
Long
signedCompanyId
,
String
name
,
Long
typeCode
,
(
value
=
"size"
)
int
size
,
Long
companyId
,
Long
signedCompanyId
,
String
name
,
Long
typeCode
,
Date
signedDate
)
{
String
signedDate
)
{
Page
<
ContractDto
>
page
=
new
Page
<
ContractDto
>();
Page
<
ContractDto
>
page
=
new
Page
<>();
page
.
setCurrent
(
current
);
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
page
.
setSize
(
size
);
AgencyUserModel
amosUser
=
getUserInfo
();
AgencyUserModel
amosUser
=
getUserInfo
();
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/ContractServiceImpl.java
View file @
9eef42fe
...
@@ -47,7 +47,7 @@ public class ContractServiceImpl extends BaseService<ContractDto, Contract, Cont
...
@@ -47,7 +47,7 @@ public class ContractServiceImpl extends BaseService<ContractDto, Contract, Cont
* 分页查询
* 分页查询
*/
*/
public
Page
<
ContractDto
>
queryForContractPage
(
Page
<
ContractDto
>
page
,
Boolean
isDelete
,
Long
companyId
,
public
Page
<
ContractDto
>
queryForContractPage
(
Page
<
ContractDto
>
page
,
Boolean
isDelete
,
Long
companyId
,
Long
signedCompanyId
,
String
name
,
Long
typeCode
,
Date
signedDate
,
Long
signedCompanyId
,
String
name
,
Long
typeCode
,
String
signedDate
,
String
amosUserId
)
{
String
amosUserId
)
{
if
(
ValidationUtil
.
isEmpty
(
companyId
))
{
if
(
ValidationUtil
.
isEmpty
(
companyId
))
{
MaintenanceCompany
company
=
maintenanceCompanyService
.
getMaintenanceCompany
(
amosUserId
);
MaintenanceCompany
company
=
maintenanceCompanyService
.
getMaintenanceCompany
(
amosUserId
);
...
@@ -62,7 +62,7 @@ public class ContractServiceImpl extends BaseService<ContractDto, Contract, Cont
...
@@ -62,7 +62,7 @@ public class ContractServiceImpl extends BaseService<ContractDto, Contract, Cont
@Condition
(
Operator
.
eq
)
Long
signedCompanyId
,
@Condition
(
Operator
.
eq
)
Long
signedCompanyId
,
@Condition
(
Operator
.
like
)
String
name
,
@Condition
(
Operator
.
like
)
String
name
,
@Condition
(
Operator
.
eq
)
Long
typeCode
,
@Condition
(
Operator
.
eq
)
Long
typeCode
,
@Condition
(
Operator
.
like
Left
)
Date
signedDate
)
{
@Condition
(
Operator
.
like
Right
)
String
signedDate
)
{
return
this
.
queryForPage
(
page
,
null
,
false
,
isDelete
,
companyId
,
signedCompanyId
,
name
,
typeCode
,
signedDate
);
return
this
.
queryForPage
(
page
,
null
,
false
,
isDelete
,
companyId
,
signedCompanyId
,
name
,
typeCode
,
signedDate
);
}
}
...
...
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