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
df107ce3
Commit
df107ce3
authored
Mar 14, 2023
by
董天德
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_20230309_66_69_70问题优化_zxl' into dev_ch_master
parents
31128853
2ccc4999
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
5 deletions
+37
-5
TaskMapper.java
...ervice/src/main/java/com/hungraim/ltc/dao/TaskMapper.java
+14
-1
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+8
-1
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+13
-3
TaskDistributionVO.java
...m/hungraim/ltc/pojo/vo/assessment/TaskDistributionVO.java
+2
-0
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/TaskMapper.java
View file @
df107ce3
...
@@ -19,6 +19,16 @@ import java.util.List;
...
@@ -19,6 +19,16 @@ import java.util.List;
@Repository
@Repository
public
interface
TaskMapper
extends
BaseMapper
<
ChAprTask
>
{
public
interface
TaskMapper
extends
BaseMapper
<
ChAprTask
>
{
/**
*
* @param certiCode 身份证号
* @param auditStatus 审核状态 2审核通过 1待审核
* @param type 1初评 2复评
* @return
*/
int
queryApplyCount
(
String
realName
,
String
certiCode
,
int
auditStatus
,
int
type
);
/**
/**
* 评定任务分配列表
* 评定任务分配列表
*
*
...
@@ -35,9 +45,12 @@ public interface TaskMapper extends BaseMapper<ChAprTask> {
...
@@ -35,9 +45,12 @@ public interface TaskMapper extends BaseMapper<ChAprTask> {
* @param taskStatus 任务状态
* @param taskStatus 任务状态
* @param isReturn 是否退回
* @param isReturn 是否退回
*/
*/
Page
<
TaskDistributionVO
>
taskDistributionList
(
Page
<
TaskDistributionVO
>
page
,
List
<
String
>
organIds
,
String
provincial
,
String
city
,
Page
<
TaskDistributionVO
>
taskDistributionList
(
Page
<
TaskDistributionVO
>
page
,
List
<
String
>
organIds
,
String
provincial
,
String
city
,
String
street
,
String
realName
,
String
certiCode
,
String
taskName
,
String
taskTel
,
String
street
,
String
realName
,
String
certiCode
,
String
taskName
,
String
taskTel
,
String
daysRemaining
,
String
taskStatus
,
String
isReturn
,
String
area
,
int
type
);
String
daysRemaining
,
String
taskStatus
,
String
isReturn
,
String
area
,
int
type
,
Integer
aprType
);
/**
/**
* 评定报告录入列表
* 评定报告录入列表
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
df107ce3
...
@@ -14,6 +14,7 @@ import com.hungraim.ltc.dao.*;
...
@@ -14,6 +14,7 @@ import com.hungraim.ltc.dao.*;
import
com.hungraim.ltc.pojo.entity.SysConfig.ChFndAttach
;
import
com.hungraim.ltc.pojo.entity.SysConfig.ChFndAttach
;
import
com.hungraim.ltc.pojo.entity.assessment.*
;
import
com.hungraim.ltc.pojo.entity.assessment.*
;
import
com.hungraim.ltc.pojo.entity.disable.ChCfgSrvDisableLevel
;
import
com.hungraim.ltc.pojo.entity.disable.ChCfgSrvDisableLevel
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetail
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetail
;
import
com.hungraim.ltc.pojo.vo.ReportUpdateVO
;
import
com.hungraim.ltc.pojo.vo.ReportUpdateVO
;
...
@@ -96,8 +97,14 @@ public class TaskServiceImpl implements TaskService {
...
@@ -96,8 +97,14 @@ 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
;
if
(
StrUtil
.
isNotBlank
(
realName
)||
StrUtil
.
isNotBlank
(
certiCode
))
{
int
count
=
taskMapper
.
queryApplyCount
(
realName
,
certiCode
,
2
,
1
);
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
);
street
,
realName
,
certiCode
,
taskName
,
taskTel
,
daysRemaining
,
taskStatus
,
isReturn
,
area
,
type
,
aprType
);
}
}
/**
/**
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
df107ce3
...
@@ -2,6 +2,12 @@
...
@@ -2,6 +2,12 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hungraim.ltc.dao.TaskMapper"
>
<mapper
namespace=
"com.hungraim.ltc.dao.TaskMapper"
>
<select
id=
"queryApplyCount"
resultType=
"int"
>
select count(1) from Ch_Disable_Apply a
where a.APPLY_METHOD =#{type} and a.APPLY_STATUS=#{auditStatus} and (a.certi_code = #{certiCode} or a.real_name like CONCAT(CONCAT('%',#{realName}) ,'%'))
</select>
<select
id=
"taskDistributionList"
resultType=
"com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO"
>
<select
id=
"taskDistributionList"
resultType=
"com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO"
>
select
select
DISTINCT task.task_id taskId,
DISTINCT task.task_id taskId,
...
@@ -60,8 +66,9 @@
...
@@ -60,8 +66,9 @@
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>
and task.APR_TYPE = 0
<if
test=
"aprType != null "
>
and task.APR_TYPE = #{aprType}
</if>
<if
test=
"organIds != null"
>
<if
test=
"organIds != null"
>
and task.ORGAN_ID in
and task.ORGAN_ID in
<foreach
collection=
"organIds"
item=
"organId"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"organIds"
item=
"organId"
open=
"("
close=
")"
separator=
","
>
...
@@ -228,7 +235,7 @@
...
@@ -228,7 +235,7 @@
LEFT JOIN ch_apr_emp emp ON info.emp_id = emp.emp_id
LEFT JOIN ch_apr_emp emp ON info.emp_id = emp.emp_id
LEFT JOIN ch_apr_organ organ ON organ.apr_organ_id = emp.apr_organ_id
LEFT JOIN ch_apr_organ organ ON organ.apr_organ_id = emp.apr_organ_id
where info.report_id = #{reportId}
where info.report_id = #{reportId}
order by info.info_id
desc
order by info.info_id
</select>
</select>
<select
id=
"aprEmpList"
resultType=
"com.hungraim.ltc.pojo.vo.assessment.AprEmpVO"
>
<select
id=
"aprEmpList"
resultType=
"com.hungraim.ltc.pojo.vo.assessment.AprEmpVO"
>
...
@@ -516,4 +523,6 @@
...
@@ -516,4 +523,6 @@
</where>
</where>
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/TaskDistributionVO.java
View file @
df107ce3
...
@@ -99,4 +99,6 @@ public class TaskDistributionVO {
...
@@ -99,4 +99,6 @@ public class TaskDistributionVO {
//20230306业务类型 1-报告录入检索调用
//20230306业务类型 1-报告录入检索调用
private
int
type
;
private
int
type
;
}
}
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