Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
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
hubin
long-tern-care-service
Commits
49994246
Commit
49994246
authored
Jun 12, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打卡记录问题
parent
2c560143
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
3 deletions
+21
-3
AccountController.java
...om/hungraim/ltc/account/controller/AccountController.java
+1
-0
ChDisabAccountsDetailMapper.xml
...src/main/resources/mapper/ChDisabAccountsDetailMapper.xml
+4
-0
SrvOrganListReq.java
...ava/com/hungraim/ltc/pojo/vo/account/SrvOrganListReq.java
+5
-0
BuildBedMapper.xml
...ces/com/hungraim/ltc/governance/mapper/BuildBedMapper.xml
+11
-3
No files found.
account/account-service/src/main/java/com/hungraim/ltc/account/controller/AccountController.java
View file @
49994246
...
@@ -244,6 +244,7 @@ public class AccountController {
...
@@ -244,6 +244,7 @@ public class AccountController {
public
Result
<
Page
<
ChDisabDetailAccountsResp
>>
queryDelayAccountList
(
@RequestHeader
(
"Authorization"
)
String
token
,
Integer
pageNum
,
Integer
pageSize
,
SrvOrganListReq
srvOrganListReq
)
{
public
Result
<
Page
<
ChDisabDetailAccountsResp
>>
queryDelayAccountList
(
@RequestHeader
(
"Authorization"
)
String
token
,
Integer
pageNum
,
Integer
pageSize
,
SrvOrganListReq
srvOrganListReq
)
{
List
<
String
>
list
=
Arrays
.
asList
(
"1"
,
"2"
);
List
<
String
>
list
=
Arrays
.
asList
(
"1"
,
"2"
);
srvOrganListReq
.
setAccountsStatusList
(
list
);
srvOrganListReq
.
setAccountsStatusList
(
list
);
srvOrganListReq
.
setAccountsStatus
(
srvOrganListReq
.
getStatus
());
long
srvOrganId
=
TokenParsingUtil
.
TokenParsing
(
token
,
"srvOrganId"
);
long
srvOrganId
=
TokenParsingUtil
.
TokenParsing
(
token
,
"srvOrganId"
);
if
(
srvOrganId
!=
0
)
{
if
(
srvOrganId
!=
0
)
{
srvOrganListReq
.
setSrvOrganId
(
srvOrganId
);
srvOrganListReq
.
setSrvOrganId
(
srvOrganId
);
...
...
account/account-service/src/main/resources/mapper/ChDisabAccountsDetailMapper.xml
View file @
49994246
...
@@ -42,6 +42,10 @@
...
@@ -42,6 +42,10 @@
<if
test=
"req.realName != null and req.realName != ''"
>
<if
test=
"req.realName != null and req.realName != ''"
>
AND info.real_name LIKE CONCAT('%',CONCAT(#{req.realName},'%'))
AND info.real_name LIKE CONCAT('%',CONCAT(#{req.realName},'%'))
</if>
</if>
<if
test=
"req.certiCode != null and req.certiCode != ''"
>
AND info.CERTI_CODE = #{req.certiCode}
</if>
<if
test=
"req.srvOrganId != null and req.srvOrganId != '' and req.srvOrganId!=0"
>
<if
test=
"req.srvOrganId != null and req.srvOrganId != '' and req.srvOrganId!=0"
>
and d.SRV_ORGAN_ID = #{req.srvOrganId}
and d.SRV_ORGAN_ID = #{req.srvOrganId}
</if>
</if>
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/account/SrvOrganListReq.java
View file @
49994246
...
@@ -43,8 +43,13 @@ public class SrvOrganListReq extends BaseReq {
...
@@ -43,8 +43,13 @@ public class SrvOrganListReq extends BaseReq {
private
String
realName
;
private
String
realName
;
private
String
certiCode
;
private
List
<
String
>
accountsStatusList
;
private
List
<
String
>
accountsStatusList
;
// 是否展示异地 1 不展示
// 是否展示异地 1 不展示
private
String
flag
;
private
String
flag
;
// 检索条件
private
String
status
;
}
}
governance/src/main/resources/com/hungraim/ltc/governance/mapper/BuildBedMapper.xml
View file @
49994246
...
@@ -85,8 +85,8 @@
...
@@ -85,8 +85,8 @@
<select
id=
"getServiceTypeDetailed"
parameterType=
"Long"
resultType=
"com.hungraim.ltc.pojo.entity.account.ChServiceTypeDetailedVO"
>
<select
id=
"getServiceTypeDetailed"
parameterType=
"Long"
resultType=
"com.hungraim.ltc.pojo.entity.account.ChServiceTypeDetailedVO"
>
SELECT
SELECT
case when mode1.MODE_NAME='上门' then to_char(detail.SRV_
START_TIM
E, 'dd' )
case when mode1.MODE_NAME='上门' then to_char(detail.SRV_
DAT
E, 'dd' )
else to_char(
item.FCD
, 'dd' ) end executionTime,
else to_char(
detail.SRV_DATE
, 'dd' ) end executionTime,
service.SERVICE_TYPE_DETAILED_NAME itemName,
service.SERVICE_TYPE_DETAILED_NAME itemName,
service.SERVICE_TYPE_DETAILED_ID serviceTypeDetailedId
service.SERVICE_TYPE_DETAILED_ID serviceTypeDetailedId
FROM
FROM
...
@@ -106,12 +106,20 @@
...
@@ -106,12 +106,20 @@
<if
test=
"sevStarTime != null and sevStarTime != ''"
>
<if
test=
"sevStarTime != null and sevStarTime != ''"
>
AND detail.SRV_START_TIME
>
= TO_DATE (substr(#{sevStarTime},1,10), 'yyyy-mm-dd')
AND detail.SRV_START_TIME
>
= TO_DATE (substr(#{sevStarTime},1,10), 'yyyy-mm-dd')
</if>
</if>
<if
test=
"sevEndTime != null and sevEndTime != ''"
>
<if
test=
"sevEndTime != null and sevEndTime != ''"
>
AND detail.SRV_END_TIME
<
= TO_DATE (substr(#{sevEndTime},1,10), 'yyyy-mm-dd')
AND detail.SRV_END_TIME
<
= TO_DATE (substr(#{sevEndTime},1,10), 'yyyy-mm-dd')
</if>
</if>
</when>
</when>
<otherwise>
<otherwise>
AND item.FCD >= TO_DATE (substr(#{sevStarTime},1,10), 'yyyy-mm-dd')
<if
test=
"sevStarTime != null and sevStarTime != ''"
>
AND detail.SRV_DATE
>
= TO_DATE (substr(#{sevStarTime},1,10), 'yyyy-mm-dd')
</if>
<if
test=
"sevEndTime != null and sevEndTime != ''"
>
AND detail.SRV_DATE
<
= TO_DATE (substr(#{sevEndTime},1,10), 'yyyy-mm-dd')
</if>
</otherwise>
</otherwise>
</choose>
</choose>
</select>
</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