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
c5e36455
Commit
c5e36455
authored
Feb 14, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into dev-20230213BugFix-zwl
parents
9bfce8a3
13bf9de4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+3
-2
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+2
-2
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
c5e36455
...
@@ -124,12 +124,13 @@ public class TaskServiceImpl implements TaskService {
...
@@ -124,12 +124,13 @@ public class TaskServiceImpl implements TaskService {
如果省市区下没有对应的组长,就查询省市下的对应组长,如果省市下也没有就查询省下的组长
如果省市区下没有对应的组长,就查询省市下的对应组长,如果省市下也没有就查询省下的组长
*/
*/
if
(
aprEmpVOS
==
null
||
aprEmpVOS
.
size
()
<=
0
)
{
if
(
aprEmpVOS
==
null
||
aprEmpVOS
.
size
()
<=
0
)
{
if
(
StringUtils
.
isNotBlank
(
provincial
)
||
StringUtils
.
isNotBlank
(
city
)
||
StringUtils
.
isNotBlank
(
area
))
{
/*
if (StringUtils.isNotBlank(provincial) || StringUtils.isNotBlank(city) || StringUtils.isNotBlank(area)) {
aprEmpVOS = taskMapper.aprEmpList(provincial, city, null, organName, name, tel, groupLeader);
aprEmpVOS = taskMapper.aprEmpList(provincial, city, null, organName, name, tel, groupLeader);
if (aprEmpVOS == null || aprEmpVOS.size() <= 0) {
if (aprEmpVOS == null || aprEmpVOS.size() <= 0) {
aprEmpVOS = taskMapper.aprEmpList(provincial, null, null, organName, name, tel, groupLeader);
aprEmpVOS = taskMapper.aprEmpList(provincial, null, null, organName, name, tel, groupLeader);
}
}
}
}*/
aprEmpVOS
=
taskMapper
.
aprEmpList
(
null
,
null
,
null
,
organName
,
name
,
tel
,
groupLeader
);
}
}
return
aprEmpVOS
;
return
aprEmpVOS
;
}
}
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
c5e36455
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
LEFT JOIN ch_srv_organ srvOrgan ON organ.organ_id = srvOrgan.srv_organ_id
LEFT JOIN ch_srv_organ srvOrgan ON organ.organ_id = srvOrgan.srv_organ_id
<where>
<where>
and organ.STATUS = 0
and organ.STATUS = 0
<if
test=
"provincial != null and provincial != ''"
>
<
!--<
if test="provincial != null and provincial != ''">
and (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE) = #{provincial}
and (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE) = #{provincial}
</if>
</if>
<if test="city != null and city != ''">
<if test="city != null and city != ''">
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
</if>
</if>
<if test="area != null and area != ''">
<if test="area != null and area != ''">
and (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_AREA = dis.DISTRICT_CODE) = #{area}
and (SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_AREA = dis.DISTRICT_CODE) = #{area}
</if>
</if>
-->
<if
test=
"organName != null and organName != ''"
>
<if
test=
"organName != null and organName != ''"
>
and organ.organ_name like CONCAT(CONCAT('%',#{organName}) ,'%')
and organ.organ_name like CONCAT(CONCAT('%',#{organName}) ,'%')
</if>
</if>
...
...
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