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
5123469c
Commit
5123469c
authored
May 24, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失能评定调整
parent
9ae21881
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
13 deletions
+15
-13
DisableServiceImpl.java
...ava/com/hungraim/ltc/service/impl/DisableServiceImpl.java
+2
-0
TaskController.java
...main/java/com/hungraim/ltc/controller/TaskController.java
+0
-3
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+6
-3
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+5
-5
ChDisableInfo.java
...a/com/hungraim/ltc/pojo/entity/disable/ChDisableInfo.java
+1
-1
AprEmpVO.java
...in/java/com/hungraim/ltc/pojo/vo/assessment/AprEmpVO.java
+1
-1
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/DisableServiceImpl.java
View file @
5123469c
...
@@ -136,6 +136,8 @@ public class DisableServiceImpl implements DisableService {
...
@@ -136,6 +136,8 @@ public class DisableServiceImpl implements DisableService {
}
}
BeanUtil
.
copyProperties
(
chDisableApply
,
chAprTask
);
BeanUtil
.
copyProperties
(
chDisableApply
,
chAprTask
);
chAprTask
.
setDisableInfoId
(
chDisableInfo
.
getDisabInfoId
());
//失能人员id
chAprTask
.
setDisableInfoId
(
chDisableInfo
.
getDisabInfoId
());
//失能人员id
chAprTask
.
setEffTime
(
new
Date
());
chAprTask
.
setFcd
(
null
);
aprTaskMapper
.
insert
(
chAprTask
);
aprTaskMapper
.
insert
(
chAprTask
);
}
}
}
}
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/controller/TaskController.java
View file @
5123469c
...
@@ -97,9 +97,6 @@ public class TaskController {
...
@@ -97,9 +97,6 @@ public class TaskController {
*/
*/
@RequestMapping
(
"/aprEmpList"
)
@RequestMapping
(
"/aprEmpList"
)
public
Result
<
List
<
AprEmpVO
>>
aprEmpList
(
String
provincial
,
String
city
,
String
area
,
String
organName
,
String
name
,
String
tel
,
String
groupLeader
)
{
public
Result
<
List
<
AprEmpVO
>>
aprEmpList
(
String
provincial
,
String
city
,
String
area
,
String
organName
,
String
name
,
String
tel
,
String
groupLeader
)
{
if
(
StringUtils
.
isBlank
(
provincial
)
||
StringUtils
.
isBlank
(
city
)
||
StringUtils
.
isBlank
(
area
))
{
Result
.
failed
(
"参数异常!"
);
}
List
<
AprEmpVO
>
aprEmpS
=
taskService
.
aprEmpList
(
provincial
,
city
,
area
,
organName
,
name
,
tel
,
groupLeader
);
List
<
AprEmpVO
>
aprEmpS
=
taskService
.
aprEmpList
(
provincial
,
city
,
area
,
organName
,
name
,
tel
,
groupLeader
);
return
Result
.
success
(
aprEmpS
);
return
Result
.
success
(
aprEmpS
);
}
}
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
5123469c
...
@@ -11,6 +11,7 @@ import com.hungraim.ltc.pojo.vo.assessment.*;
...
@@ -11,6 +11,7 @@ import com.hungraim.ltc.pojo.vo.assessment.*;
import
com.hungraim.ltc.service.TaskService
;
import
com.hungraim.ltc.service.TaskService
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.SerialNumberUtils
;
import
com.hungraim.ltc.util.SerialNumberUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -99,9 +100,11 @@ public class TaskServiceImpl implements TaskService {
...
@@ -99,9 +100,11 @@ public class TaskServiceImpl implements TaskService {
如果省市区下没有对应的组长,就查询省市下的对应组长,如果省市下也没有就查询省下的组长
如果省市区下没有对应的组长,就查询省市下的对应组长,如果省市下也没有就查询省下的组长
*/
*/
if
(
aprEmpVOS
==
null
||
aprEmpVOS
.
size
()
<=
0
)
{
if
(
aprEmpVOS
==
null
||
aprEmpVOS
.
size
()
<=
0
)
{
aprEmpVOS
=
taskMapper
.
aprEmpList
(
provincial
,
city
,
null
,
organName
,
name
,
tel
,
groupLeader
);
if
(
StringUtils
.
isNotBlank
(
provincial
)
||
StringUtils
.
isNotBlank
(
city
)
||
StringUtils
.
isNotBlank
(
area
))
{
if
(
aprEmpVOS
==
null
||
aprEmpVOS
.
size
()
<=
0
)
{
aprEmpVOS
=
taskMapper
.
aprEmpList
(
provincial
,
city
,
null
,
organName
,
name
,
tel
,
groupLeader
);
aprEmpVOS
=
taskMapper
.
aprEmpList
(
provincial
,
null
,
null
,
organName
,
name
,
tel
,
groupLeader
);
if
(
aprEmpVOS
==
null
||
aprEmpVOS
.
size
()
<=
0
)
{
aprEmpVOS
=
taskMapper
.
aprEmpList
(
provincial
,
null
,
null
,
organName
,
name
,
tel
,
groupLeader
);
}
}
}
}
}
return
aprEmpVOS
;
return
aprEmpVOS
;
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
5123469c
...
@@ -172,9 +172,9 @@
...
@@ -172,9 +172,9 @@
srvOrgan.srv_organ_name srvOrganName,
srvOrgan.srv_organ_name srvOrganName,
organ.organ_code organCode,
organ.organ_code organCode,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE) districtProvincial,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE) districtProvincial,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_CITY = dis.DISTRICT_CODE) distric
P
ity,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_CITY = dis.DISTRICT_CODE) distric
tC
ity,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_AREA = dis.DISTRICT_CODE) districtArea,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_AREA = dis.DISTRICT_CODE) districtArea,
organ.organ_name orgaName,
organ.organ_name orga
n
Name,
organ.UNIFIED_SOCIAL_CREDIT_CODE unifiedSocialCreditCode,
organ.UNIFIED_SOCIAL_CREDIT_CODE unifiedSocialCreditCode,
emp.real_name realName,
emp.real_name realName,
emp.gender gender,
emp.gender gender,
...
@@ -185,12 +185,12 @@
...
@@ -185,12 +185,12 @@
FROM ch_apr_emp emp
FROM ch_apr_emp emp
LEFT JOIN ch_apr_organ organ ON emp.apr_organ_id = organ.apr_organ_id
LEFT JOIN ch_apr_organ organ ON emp.apr_organ_id = organ.apr_organ_id
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
organ.DISTRICT_PROVINCIAL
= #{provincial}
where
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE)
= #{provincial}
<if
test=
"city != null and city != ''"
>
<if
test=
"city != null and city != ''"
>
and
organ.district_city
= #{city}
and
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE organ.DISTRICT_CITY = dis.DISTRICT_CODE)
= #{city}
</if>
</if>
<if
test=
"area != null and area != ''"
>
<if
test=
"area != null and area != ''"
>
and
organ.district_area
= #{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}) ,'%')
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChDisableInfo.java
View file @
5123469c
...
@@ -97,7 +97,7 @@ public class ChDisableInfo extends PageInfo implements Serializable {
...
@@ -97,7 +97,7 @@ public class ChDisableInfo extends PageInfo implements Serializable {
private
String
reason
;
private
String
reason
;
private
Integer
hearingObstacle
;
private
Integer
hearingObstacle
;
private
Integer
lastTaskId
;
private
Integer
lastTaskId
;
private
java
.
util
.
Date
l
CD
;
private
java
.
util
.
Date
l
cd
;
private
String
realName
;
private
String
realName
;
private
Integer
regist
;
private
Integer
regist
;
private
Integer
operNumberType
;
private
Integer
operNumberType
;
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/AprEmpVO.java
View file @
5123469c
...
@@ -32,5 +32,5 @@ public class AprEmpVO {
...
@@ -32,5 +32,5 @@ public class AprEmpVO {
//评定人员手机号码
//评定人员手机号码
private
String
tel
;
private
String
tel
;
//是否组长0组长,1非组长
//是否组长0组长,1非组长
private
Integer
groupLeader
;
private
String
groupLeader
;
}
}
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