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
2c745cb2
Commit
2c745cb2
authored
Mar 15, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_20230309_66_69_70问题优化_zxl' into dev_ch_master
parents
50abed8d
138a9649
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
11 deletions
+18
-11
TaskController.java
...main/java/com/hungraim/ltc/controller/TaskController.java
+3
-3
TaskMapper.java
...ervice/src/main/java/com/hungraim/ltc/dao/TaskMapper.java
+1
-1
TaskService.java
...e/src/main/java/com/hungraim/ltc/service/TaskService.java
+1
-1
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+5
-4
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+4
-2
TaskDistributionVO.java
...m/hungraim/ltc/pojo/vo/assessment/TaskDistributionVO.java
+4
-0
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/controller/TaskController.java
View file @
2c745cb2
...
@@ -63,7 +63,7 @@ public class TaskController {
...
@@ -63,7 +63,7 @@ public class TaskController {
* @param isReturn 是否退回
* @param isReturn 是否退回
* @param pageNum 当前页
* @param pageNum 当前页
* @param pageSize 每页几条数据
* @param pageSize 每页几条数据
* @param type
1评定报告录入查询失能人员
* @param type
0-评定任务分配检索 1-评定报告录入查询失能人员 2-评定任务查询检索
*/
*/
@RequestMapping
(
"/taskDistributionList"
)
@RequestMapping
(
"/taskDistributionList"
)
...
@@ -284,8 +284,8 @@ public class TaskController {
...
@@ -284,8 +284,8 @@ public class TaskController {
* 分配历史信息列表
* 分配历史信息列表
*/
*/
@RequestMapping
(
"/allotTaskHisList"
)
@RequestMapping
(
"/allotTaskHisList"
)
public
Result
<
List
<
AllotTaskHisVO
>>
allotTaskHisList
(
Integer
task
Id
)
{
public
Result
<
List
<
AllotTaskHisVO
>>
allotTaskHisList
(
Integer
disab
Id
)
{
List
<
AllotTaskHisVO
>
list
=
taskService
.
allotTaskHisList
(
task
Id
);
List
<
AllotTaskHisVO
>
list
=
taskService
.
allotTaskHisList
(
disab
Id
);
return
Result
.
success
(
list
);
return
Result
.
success
(
list
);
}
}
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/TaskMapper.java
View file @
2c745cb2
...
@@ -69,7 +69,7 @@ public interface TaskMapper extends BaseMapper<ChAprTask> {
...
@@ -69,7 +69,7 @@ public interface TaskMapper extends BaseMapper<ChAprTask> {
TaskGroupInfoListInfoVO
taskGroupInfoListInfo
(
String
pushId
);
TaskGroupInfoListInfoVO
taskGroupInfoListInfo
(
String
pushId
);
List
<
AllotTaskHisVO
>
allotTaskHisList
(
@Param
(
"
taskId"
)
Integer
task
Id
);
List
<
AllotTaskHisVO
>
allotTaskHisList
(
@Param
(
"
disabId"
)
Integer
disab
Id
);
Page
<
ReTaskDistributionVO
>
reTaskDistributionList
(
Page
<
ReTaskDistributionVO
>
page
,
@Param
(
"organIds"
)
List
<
Long
>
organIds
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
);
Page
<
ReTaskDistributionVO
>
reTaskDistributionList
(
Page
<
ReTaskDistributionVO
>
page
,
@Param
(
"organIds"
)
List
<
Long
>
organIds
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
);
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/TaskService.java
View file @
2c745cb2
...
@@ -54,7 +54,7 @@ public interface TaskService {
...
@@ -54,7 +54,7 @@ public interface TaskService {
TaskGroupInfoListInfoVO
taskGroupInfoListInfo
(
String
pushId
);
TaskGroupInfoListInfoVO
taskGroupInfoListInfo
(
String
pushId
);
List
<
AllotTaskHisVO
>
allotTaskHisList
(
Integer
task
Id
);
List
<
AllotTaskHisVO
>
allotTaskHisList
(
Integer
disab
Id
);
Result
<
Object
>
updatePushTimeAndRemark
(
String
pushId
,
Date
timeDate
,
String
remark
);
Result
<
Object
>
updatePushTimeAndRemark
(
String
pushId
,
Date
timeDate
,
String
remark
);
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
2c745cb2
...
@@ -100,12 +100,13 @@ public class TaskServiceImpl implements TaskService {
...
@@ -100,12 +100,13 @@ public class TaskServiceImpl implements TaskService {
if
(
StrUtil
.
isNotBlank
(
organId
))
{
if
(
StrUtil
.
isNotBlank
(
organId
))
{
organIds
=
Arrays
.
asList
(
organId
.
split
(
","
));
organIds
=
Arrays
.
asList
(
organId
.
split
(
","
));
}
}
int
aprType
=
0
;
int
aprType
=
0
;
if
(
type
==
1
){
if
(
StrUtil
.
isNotBlank
(
realName
)||
StrUtil
.
isNotBlank
(
certiCode
))
{
if
(
StrUtil
.
isNotBlank
(
realName
)||
StrUtil
.
isNotBlank
(
certiCode
))
{
int
count
=
taskMapper
.
queryApplyCount
(
realName
,
certiCode
,
2
,
2
);
int
count
=
taskMapper
.
queryApplyCount
(
realName
,
certiCode
,
2
,
2
);
aprType
=
count
>
0
?
1
:
0
;
//count>0 复评已过,查询复评数据,反之查询初评数据。
aprType
=
count
>
0
?
1
:
0
;
//count>0 复评已过,查询复评数据,反之查询初评数据。
}
}
}
return
taskMapper
.
taskDistributionList
(
page
,
organIds
,
provincial
,
city
,
return
taskMapper
.
taskDistributionList
(
page
,
organIds
,
provincial
,
city
,
street
,
realName
,
certiCode
,
taskName
,
taskTel
,
daysRemaining
,
taskStatus
,
isReturn
,
area
,
type
,
aprType
);
street
,
realName
,
certiCode
,
taskName
,
taskTel
,
daysRemaining
,
taskStatus
,
isReturn
,
area
,
type
,
aprType
);
}
}
...
@@ -357,7 +358,7 @@ public class TaskServiceImpl implements TaskService {
...
@@ -357,7 +358,7 @@ public class TaskServiceImpl implements TaskService {
//附件上传
//附件上传
this
.
updateAttachs
(
vo
.
getFileDataList
(),
chAprReport
.
getReportId
().
longValue
());
this
.
updateAttachs
(
vo
.
getFileDataList
(),
chAprReport
.
getReportId
().
longValue
());
//修改鉴定报告人员(有就update,没有就insert)
//修改鉴定报告人员(有就update,没有就insert)
List
<
ChAprPersonInfo
>
personInfos
=
personInfoMapper
.
selectList
(
new
QueryWrapper
<
ChAprPersonInfo
>().
eq
(
"report_id"
,
vo
.
getReportId
()).
orderBy
De
sc
(
"info_id"
));
List
<
ChAprPersonInfo
>
personInfos
=
personInfoMapper
.
selectList
(
new
QueryWrapper
<
ChAprPersonInfo
>().
eq
(
"report_id"
,
vo
.
getReportId
()).
orderBy
A
sc
(
"info_id"
));
if
(
vo
.
getPerson1
()
!=
null
)
{
if
(
vo
.
getPerson1
()
!=
null
)
{
if
(
personInfos
.
size
()
>=
1
)
{
if
(
personInfos
.
size
()
>=
1
)
{
ChAprPersonInfo
personInfo
=
personInfos
.
get
(
0
);
ChAprPersonInfo
personInfo
=
personInfos
.
get
(
0
);
...
@@ -588,8 +589,8 @@ public class TaskServiceImpl implements TaskService {
...
@@ -588,8 +589,8 @@ public class TaskServiceImpl implements TaskService {
* 分配历史信息列表
* 分配历史信息列表
*/
*/
@Override
@Override
public
List
<
AllotTaskHisVO
>
allotTaskHisList
(
Integer
task
Id
)
{
public
List
<
AllotTaskHisVO
>
allotTaskHisList
(
Integer
disab
Id
)
{
return
taskMapper
.
allotTaskHisList
(
task
Id
);
return
taskMapper
.
allotTaskHisList
(
disab
Id
);
}
}
/**
/**
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
2c745cb2
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
task.apply_id applyId,
task.apply_id applyId,
fndOrgan.ORGAN_NAME organName,
fndOrgan.ORGAN_NAME organName,
task.ORGAN_ID aprOrganId,
task.ORGAN_ID aprOrganId,
disable.disab_info_id disbleInfoId,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where task.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE) districtProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where task.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE) districtProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where task.DISTRICT_CITY = dis.DISTRICT_CODE) districPity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where task.DISTRICT_CITY = dis.DISTRICT_CODE) districPity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where task.DISTRICT_AREA = dis.DISTRICT_CODE) districtArea,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where task.DISTRICT_AREA = dis.DISTRICT_CODE) districtArea,
...
@@ -66,7 +67,7 @@
...
@@ -66,7 +67,7 @@
left join ch_refuse_reason reason on push.refuse_reason = reason.refuse_reason_id
left join ch_refuse_reason reason on push.refuse_reason = reason.refuse_reason_id
left join CH_FND_ORGAN fndOrgan on task.ORGAN_ID = fndOrgan.ORGAN_ID
left join CH_FND_ORGAN fndOrgan on task.ORGAN_ID = fndOrgan.ORGAN_ID
<where>
<where>
<if
test=
"aprType != null "
>
<if
test=
"aprType != null
and type == 1
"
>
and task.APR_TYPE = #{aprType}
and task.APR_TYPE = #{aprType}
</if>
</if>
<if
test=
"organIds != null"
>
<if
test=
"organIds != null"
>
...
@@ -402,9 +403,10 @@
...
@@ -402,9 +403,10 @@
push.Refuse_remark refuseRemark
push.Refuse_remark refuseRemark
FROM ch_apr_task_push_his push
FROM ch_apr_task_push_his push
LEFT JOIN ch_apr_task task ON push.TASK_ID = task.TASK_ID
LEFT JOIN ch_apr_task task ON push.TASK_ID = task.TASK_ID
left join ch_disable_info disable on task.disable_info_id = disable.disab_info_id
LEFT JOIN ch_apr_emp emp on push.emp_id = emp.emp_id
LEFT JOIN ch_apr_emp emp on push.emp_id = emp.emp_id
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
WHERE
push.TASK_ID = #{task
Id}
WHERE
disable.disab_info_id= #{disab
Id}
</select>
</select>
<select
id=
"reTaskDistributionList"
resultType=
"com.hungraim.ltc.pojo.vo.assessment.ReTaskDistributionVO"
>
<select
id=
"reTaskDistributionList"
resultType=
"com.hungraim.ltc.pojo.vo.assessment.ReTaskDistributionVO"
>
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/TaskDistributionVO.java
View file @
2c745cb2
...
@@ -99,6 +99,10 @@ public class TaskDistributionVO {
...
@@ -99,6 +99,10 @@ public class TaskDistributionVO {
//20230306业务类型 1-报告录入检索调用
//20230306业务类型 1-报告录入检索调用
private
int
type
;
private
int
type
;
//失能人员id
private
Integer
disbleInfoId
;
}
}
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