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
a1af3342
Commit
a1af3342
authored
Mar 23, 2023
by
董天德
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uat_ch_master' into dev_ch_master
parents
ef64da9e
afc08e18
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
76 additions
and
13 deletions
+76
-13
DisableInfoMapper.java
...src/main/java/com/hungraim/ltc/dao/DisableInfoMapper.java
+1
-0
TaskMapper.java
...ervice/src/main/java/com/hungraim/ltc/dao/TaskMapper.java
+3
-0
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+53
-6
ChAssessAccountsMapper.xml
...vice/src/main/resources/mapper/ChAssessAccountsMapper.xml
+1
-1
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+4
-0
ReportUpdateVO.java
...rc/main/java/com/hungraim/ltc/pojo/vo/ReportUpdateVO.java
+2
-0
AssessIdAndCostVO.java
...om/hungraim/ltc/pojo/vo/assessment/AssessIdAndCostVO.java
+2
-0
ReportDetailVO.java
...a/com/hungraim/ltc/pojo/vo/assessment/ReportDetailVO.java
+1
-0
SrvProgramController.java
...graim/ltc/governance/controller/SrvProgramController.java
+2
-2
ChSrvProgramMapper.xml
...com/hungraim/ltc/governance/mapper/ChSrvProgramMapper.xml
+5
-3
SrvTaskMapper.xml
...rces/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
+2
-1
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/DisableInfoMapper.java
View file @
a1af3342
...
@@ -13,4 +13,5 @@ import org.springframework.stereotype.Repository;
...
@@ -13,4 +13,5 @@ import org.springframework.stereotype.Repository;
@Mapper
@Mapper
@Repository
@Repository
public
interface
DisableInfoMapper
extends
BaseMapper
<
ChDisableInfo
>
{
public
interface
DisableInfoMapper
extends
BaseMapper
<
ChDisableInfo
>
{
}
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/TaskMapper.java
View file @
a1af3342
...
@@ -3,6 +3,7 @@ package com.hungraim.ltc.dao;
...
@@ -3,6 +3,7 @@ package com.hungraim.ltc.dao;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.pojo.entity.assessment.ChAprTask
;
import
com.hungraim.ltc.pojo.entity.assessment.ChAprTask
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
com.hungraim.ltc.pojo.vo.assessment.*
;
import
com.hungraim.ltc.pojo.vo.assessment.*
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
@@ -78,4 +79,6 @@ public interface TaskMapper extends BaseMapper<ChAprTask> {
...
@@ -78,4 +79,6 @@ public interface TaskMapper extends BaseMapper<ChAprTask> {
List
<
AprEmpExportVO
>
aprEmpExportList
(
String
provincial
,
String
city
,
String
area
,
String
organName
,
String
name
,
String
tel
,
String
certiCode
,
String
isLock
,
String
empType
,
String
groupLeader
);
List
<
AprEmpExportVO
>
aprEmpExportList
(
String
provincial
,
String
city
,
String
area
,
String
organName
,
String
name
,
String
tel
,
String
certiCode
,
String
isLock
,
String
empType
,
String
groupLeader
);
int
insertSrvSend
(
Integer
disableInfoId
);
int
insertSrvSend
(
Integer
disableInfoId
);
ChDisableInfo
selectDisableBycertiCode
(
@Param
(
"certiCode"
)
String
certiCode
);
}
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
a1af3342
...
@@ -236,8 +236,9 @@ public class TaskServiceImpl implements TaskService {
...
@@ -236,8 +236,9 @@ public class TaskServiceImpl implements TaskService {
Integer
person2
=
reportDetailVo
.
getPerson2
();
Integer
person2
=
reportDetailVo
.
getPerson2
();
String
evaluateTime
=
reportDetailVo
.
getEvaluateTime
();
String
evaluateTime
=
reportDetailVo
.
getEvaluateTime
();
Date
evaluateDate
=
DateUtils
.
strToDate
(
evaluateTime
);
Date
evaluateDate
=
DateUtils
.
strToDate
(
evaluateTime
);
List
<
ChDisableInfo
>
chDisableInfos
=
disableInfoMapper
.
selectList
(
new
LambdaQueryWrapper
<
ChDisableInfo
>().
eq
(
ChDisableInfo:
:
getApplyId
,
reportDetailVo
.
getApplyId
()));
String
certiCode
=
reportDetailVo
.
getCertiCode
();
Integer
srvModeId
=
chDisableInfos
.
get
(
0
).
getSrvModeId
();
ChDisableInfo
chDisableInfo
=
taskMapper
.
selectDisableBycertiCode
(
certiCode
);
Integer
srvModeId
=
chDisableInfo
.
getSrvModeId
();
// 根据评定机构id和评估结算时间查找表里有没有数据,有数据直接累加费用
// 根据评定机构id和评估结算时间查找表里有没有数据,有数据直接累加费用
// 评定人员结算表插入
// 评定人员结算表插入
if
(
person1
!=
null
)
{
if
(
person1
!=
null
)
{
...
@@ -247,7 +248,7 @@ public class TaskServiceImpl implements TaskService {
...
@@ -247,7 +248,7 @@ public class TaskServiceImpl implements TaskService {
Integer
aprOrganId
=
chAprEmp
.
getAprOrganId
();
Integer
aprOrganId
=
chAprEmp
.
getAprOrganId
();
chAssessDetailAccounts
.
setAprOrganId
(
String
.
valueOf
(
aprOrganId
));
chAssessDetailAccounts
.
setAprOrganId
(
String
.
valueOf
(
aprOrganId
));
chAssessDetailAccounts
.
setApplyId
(
reportDetailVo
.
getApplyId
(
));
chAssessDetailAccounts
.
setApplyId
(
String
.
valueOf
(
chDisableInfo
.
getApplyId
()
));
chAssessDetailAccounts
.
setCreationTime
(
new
Date
());
chAssessDetailAccounts
.
setCreationTime
(
new
Date
());
chAssessDetailAccounts
.
setAccountsTime
(
evaluateDate
);
chAssessDetailAccounts
.
setAccountsTime
(
evaluateDate
);
chAssessDetailAccounts
.
setAssessTime
(
evaluateDate
);
chAssessDetailAccounts
.
setAssessTime
(
evaluateDate
);
...
@@ -257,16 +258,19 @@ public class TaskServiceImpl implements TaskService {
...
@@ -257,16 +258,19 @@ public class TaskServiceImpl implements TaskService {
String
assessCost
=
aprempTypeIdS
==
1
?
"100"
:
"150"
;
String
assessCost
=
aprempTypeIdS
==
1
?
"100"
:
"150"
;
chAssessDetailAccounts
.
setAssessCost
(
assessCost
);
chAssessDetailAccounts
.
setAssessCost
(
assessCost
);
Long
assessAccountsId
=
saveAssess
(
aprOrganId
,
assessCost
,
srvModeId
,
evaluateDate
);
Long
assessAccountsId
=
saveAssess
(
aprOrganId
,
assessCost
,
srvModeId
,
evaluateDate
);
if
(
assessAccountsId
!=
null
){
chAssessDetailAccounts
.
setAssessAccountsId
(
assessAccountsId
);
chAssessDetailAccounts
.
setAssessAccountsId
(
assessAccountsId
);
chAssessAccountsDetailMapper
.
insert
(
chAssessDetailAccounts
);
chAssessAccountsDetailMapper
.
insert
(
chAssessDetailAccounts
);
}
}
}
if
(
person2
!=
null
)
{
if
(
person2
!=
null
)
{
ChAssessDetailAccounts
chAssessDetailAccounts
=
new
ChAssessDetailAccounts
();
ChAssessDetailAccounts
chAssessDetailAccounts
=
new
ChAssessDetailAccounts
();
chAssessDetailAccounts
.
setEmpId
(
String
.
valueOf
(
person2
));
chAssessDetailAccounts
.
setEmpId
(
String
.
valueOf
(
person2
));
ChAprEmp
chAprEmp
=
aprEmpMapper
.
selectById
(
person2
);
ChAprEmp
chAprEmp
=
aprEmpMapper
.
selectById
(
person2
);
Integer
aprOrganId
=
chAprEmp
.
getAprOrganId
();
Integer
aprOrganId
=
chAprEmp
.
getAprOrganId
();
chAssessDetailAccounts
.
setAprOrganId
(
String
.
valueOf
(
aprOrganId
));
chAssessDetailAccounts
.
setAprOrganId
(
String
.
valueOf
(
aprOrganId
));
chAssessDetailAccounts
.
setApplyId
(
reportDetailVo
.
getApplyId
(
));
chAssessDetailAccounts
.
setApplyId
(
String
.
valueOf
(
chDisableInfo
.
getApplyId
()
));
chAssessDetailAccounts
.
setCreationTime
(
new
Date
());
chAssessDetailAccounts
.
setCreationTime
(
new
Date
());
chAssessDetailAccounts
.
setAccountsTime
(
evaluateDate
);
chAssessDetailAccounts
.
setAccountsTime
(
evaluateDate
);
chAssessDetailAccounts
.
setAssessTime
(
evaluateDate
);
chAssessDetailAccounts
.
setAssessTime
(
evaluateDate
);
...
@@ -276,16 +280,22 @@ public class TaskServiceImpl implements TaskService {
...
@@ -276,16 +280,22 @@ public class TaskServiceImpl implements TaskService {
String
assessCost
=
aprempTypeIdS
==
1
?
"100"
:
"150"
;
String
assessCost
=
aprempTypeIdS
==
1
?
"100"
:
"150"
;
chAssessDetailAccounts
.
setAssessCost
(
assessCost
);
chAssessDetailAccounts
.
setAssessCost
(
assessCost
);
Long
assessAccountsId
=
saveAssess
(
aprOrganId
,
assessCost
,
srvModeId
,
evaluateDate
);
Long
assessAccountsId
=
saveAssess
(
aprOrganId
,
assessCost
,
srvModeId
,
evaluateDate
);
if
(
assessAccountsId
!=
null
)
{
chAssessDetailAccounts
.
setAssessAccountsId
(
assessAccountsId
);
chAssessDetailAccounts
.
setAssessAccountsId
(
assessAccountsId
);
chAssessAccountsDetailMapper
.
insert
(
chAssessDetailAccounts
);
chAssessAccountsDetailMapper
.
insert
(
chAssessDetailAccounts
);
}
}
}
}
}
private
Long
saveAssess
(
Integer
aprOrganId
,
String
assessCost
,
Integer
modeId
,
Date
evaluateDate
)
{
private
Long
saveAssess
(
Integer
aprOrganId
,
String
assessCost
,
Integer
modeId
,
Date
evaluateDate
)
{
Long
assessAccountsId
;
Long
assessAccountsId
=
null
;
AssessIdAndCostVO
assessIdAndCostVO
=
chAssessAccountsMapper
.
queryAssessByOrganIdAndTime
(
String
.
valueOf
(
aprOrganId
),
DateUtils
.
dateToStrYm
(
evaluateDate
),
String
.
valueOf
(
modeId
));
AssessIdAndCostVO
assessIdAndCostVO
=
chAssessAccountsMapper
.
queryAssessByOrganIdAndTime
(
String
.
valueOf
(
aprOrganId
),
DateUtils
.
dateToStrYm
(
evaluateDate
),
String
.
valueOf
(
modeId
));
if
(
assessIdAndCostVO
!=
null
&&
assessIdAndCostVO
.
getAccountsStatus
()==
2
){
log
.
info
(
"{},已完成审核,不再进行评估结算"
,
assessIdAndCostVO
.
getAssessAccountsId
());
return
assessAccountsId
;
}
if
(
assessIdAndCostVO
==
null
)
{
if
(
assessIdAndCostVO
==
null
)
{
ChAssessAccounts
chAssessAccounts
=
new
ChAssessAccounts
();
ChAssessAccounts
chAssessAccounts
=
new
ChAssessAccounts
();
chAssessAccounts
.
setAccountsTime
(
evaluateDate
);
chAssessAccounts
.
setAccountsTime
(
evaluateDate
);
...
@@ -356,6 +366,19 @@ public class TaskServiceImpl implements TaskService {
...
@@ -356,6 +366,19 @@ public class TaskServiceImpl implements TaskService {
chAprReport
.
setEvaluateTime
(
evaluateDate
);
chAprReport
.
setEvaluateTime
(
evaluateDate
);
chAprReport
.
setEvaluateType
(
vo
.
getEvaluateType
());
chAprReport
.
setEvaluateType
(
vo
.
getEvaluateType
());
aprReportMapper
.
updateById
(
chAprReport
);
aprReportMapper
.
updateById
(
chAprReport
);
// 2023-3-20 新增
// 更新评定任务状态为已完成,并记录完成时间
ChAprTask
task
=
new
ChAprTask
();
task
.
setTaskId
(
chAprReport
.
getTaskId
());
task
.
setFinishTime
(
new
Date
());
task
.
setTaskStatus
(
3
);
// 已完成
taskMapper
.
updateById
(
task
);
if
(
2
==
vo
.
getEvaluateType
()){
ChAprTask
chAprTask
=
taskMapper
.
selectById
(
chAprReport
.
getTaskId
());
Integer
disableInfoId
=
chAprTask
.
getDisableInfoId
();
taskMapper
.
insertSrvSend
(
disableInfoId
);
}
//附件上传
//附件上传
this
.
updateAttachs
(
vo
.
getFileDataList
(),
chAprReport
.
getReportId
().
longValue
());
this
.
updateAttachs
(
vo
.
getFileDataList
(),
chAprReport
.
getReportId
().
longValue
());
//修改鉴定报告人员(有就update,没有就insert)
//修改鉴定报告人员(有就update,没有就insert)
...
@@ -410,7 +433,14 @@ public class TaskServiceImpl implements TaskService {
...
@@ -410,7 +433,14 @@ public class TaskServiceImpl implements TaskService {
}
}
}
}
// 评估结算
ReportDetailVO
reportDetailVO
=
new
ReportDetailVO
();
reportDetailVO
.
setCertiCode
(
vo
.
getCertiCode
());
reportDetailVO
.
setPerson1
(
vo
.
getPerson1
());
reportDetailVO
.
setPerson2
(
vo
.
getPerson2
());
reportDetailVO
.
setDisableLevelId
(
vo
.
getDisableLevelId
());
reportDetailVO
.
setEvaluateTime
(
vo
.
getEvaluateTime
());
assessAccount
(
reportDetailVO
);
}
}
/**
/**
...
@@ -460,6 +490,23 @@ public class TaskServiceImpl implements TaskService {
...
@@ -460,6 +490,23 @@ public class TaskServiceImpl implements TaskService {
disableInfoMapper
.
updateById
(
chDisableInfo
);
disableInfoMapper
.
updateById
(
chDisableInfo
);
}
}
//插入评定任报告 2023-03-20
ChAprReport
report
=
new
ChAprReport
();
report
.
setTaskId
(
task
.
getTaskId
());
report
.
setEffTime
(
new
Date
());
report
.
setFcd
(
new
Date
());
report
.
setStatus
(
0
);
aprReportMapper
.
insert
(
report
);
ChAprPersonInfo
person1Info
=
new
ChAprPersonInfo
();
person1Info
.
setReportId
(
report
.
getReportId
());
if
(
StringUtils
.
isNotEmpty
(
empId
))
{
person1Info
.
setEmpId
(
Integer
.
parseInt
(
empId
));
}
person1Info
.
setFcd
(
new
Date
());
personInfoMapper
.
insert
(
person1Info
);
//生成组
//生成组
ChAprTaskPush
taskPush
=
new
ChAprTaskPush
();
ChAprTaskPush
taskPush
=
new
ChAprTaskPush
();
taskPush
.
setAssignTime
(
new
Date
());
taskPush
.
setAssignTime
(
new
Date
());
...
...
assessment/assessment-service/src/main/resources/mapper/ChAssessAccountsMapper.xml
View file @
a1af3342
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<mapper
namespace=
"com.hungraim.ltc.dao.ChAssessAccountsMapper"
>
<mapper
namespace=
"com.hungraim.ltc.dao.ChAssessAccountsMapper"
>
<select
id=
"queryAssessByOrganIdAndTime"
resultType=
"com.hungraim.ltc.pojo.vo.assessment.AssessIdAndCostVO"
>
<select
id=
"queryAssessByOrganIdAndTime"
resultType=
"com.hungraim.ltc.pojo.vo.assessment.AssessIdAndCostVO"
>
select a.ASSESS_ACCOUNTS_ID assessAccountsId,a.ASSESS_ALL_COST assessAllCost from
select a.ASSESS_ACCOUNTS_ID assessAccountsId,a.ASSESS_ALL_COST assessAllCost
,a.ACCOUNTS_STATUS accountsStatus
from
CH_ASSESS_ACCOUNTS a where a.APR_ORGAN_ID = #{aprOrganId}
CH_ASSESS_ACCOUNTS a where a.APR_ORGAN_ID = #{aprOrganId}
and to_char(a.ACCOUNTS_TIME,'yyyy-MM') = #{accountsTime}
and to_char(a.ACCOUNTS_TIME,'yyyy-MM') = #{accountsTime}
and a.MODE_ID = #{modeId}
and a.MODE_ID = #{modeId}
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
a1af3342
...
@@ -542,4 +542,7 @@
...
@@ -542,4 +542,7 @@
</insert>
</insert>
<select
id=
"selectDisableBycertiCode"
resultType=
"com.hungraim.ltc.pojo.entity.disable.ChDisableInfo"
>
select * from CH_DISABLE_INFO info where info.CERTI_CODE = #{certiCode} and rownum = 1 order by info.FCD desc
</select>
</mapper>
</mapper>
\ No newline at end of file
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/ReportUpdateVO.java
View file @
a1af3342
...
@@ -22,6 +22,8 @@ public class ReportUpdateVO {
...
@@ -22,6 +22,8 @@ public class ReportUpdateVO {
Integer
disableLevelId
;
Integer
disableLevelId
;
String
polNo
;
String
polNo
;
String
remark
;
String
remark
;
String
certiCode
;
String
applyId
;
Integer
evaluateType
;
Integer
evaluateType
;
List
<
ChFndAttach
>
fileDataList
;
List
<
ChFndAttach
>
fileDataList
;
List
<
ChAprReportFraction
>
chAprReportFractions
;
List
<
ChAprReportFraction
>
chAprReportFractions
;
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/AssessIdAndCostVO.java
View file @
a1af3342
...
@@ -10,4 +10,6 @@ public class AssessIdAndCostVO {
...
@@ -10,4 +10,6 @@ public class AssessIdAndCostVO {
private
Long
assessAccountsId
;
private
Long
assessAccountsId
;
private
BigDecimal
assessAllCost
;
private
BigDecimal
assessAllCost
;
private
Integer
accountsStatus
;
}
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/ReportDetailVO.java
View file @
a1af3342
...
@@ -20,6 +20,7 @@ public class ReportDetailVO {
...
@@ -20,6 +20,7 @@ public class ReportDetailVO {
*/
*/
String
operAddress
;
String
operAddress
;
String
applyId
;
String
applyId
;
String
certiCode
;
String
polNo
;
String
polNo
;
String
remark
;
String
remark
;
Integer
evaluateType
;
Integer
evaluateType
;
...
...
governance/src/main/java/com/hungraim/ltc/governance/controller/SrvProgramController.java
View file @
a1af3342
...
@@ -75,7 +75,7 @@ public class SrvProgramController {
...
@@ -75,7 +75,7 @@ public class SrvProgramController {
* @return 返回个人照护方案列表
* @return 返回个人照护方案列表
*/
*/
@RequestMapping
(
"/programSetList"
)
@RequestMapping
(
"/programSetList"
)
public
Result
getProgramSetList
(
Integer
pageNum
,
Integer
pageSize
,
Long
disabInfoId
,
Long
srvOrganId
)
{
public
Result
getProgramSetList
(
Integer
pageNum
,
Integer
pageSize
,
Long
disabInfoId
,
Long
srvOrganId
,
String
status
)
{
if
(
pageNum
==
null
||
pageNum
<
1
||
disabInfoId
==
null
||
disabInfoId
==
0
||
srvOrganId
==
null
||
srvOrganId
==
0
)
{
if
(
pageNum
==
null
||
pageNum
<
1
||
disabInfoId
==
null
||
disabInfoId
==
0
||
srvOrganId
==
null
||
srvOrganId
==
0
)
{
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
}
...
@@ -83,7 +83,7 @@ public class SrvProgramController {
...
@@ -83,7 +83,7 @@ public class SrvProgramController {
pageSize
=
10
;
pageSize
=
10
;
}
}
Page
<
ProgramListVo
>
page
=
new
Page
<>(
pageNum
,
pageSize
);
Page
<
ProgramListVo
>
page
=
new
Page
<>(
pageNum
,
pageSize
);
page
=
srvProgramService
.
getProgramSetList
(
page
,
disabInfoId
,
srvOrganId
,
null
);
page
=
srvProgramService
.
getProgramSetList
(
page
,
disabInfoId
,
srvOrganId
,
status
);
List
<
ProgramListVo
>
records
=
page
.
getRecords
();
List
<
ProgramListVo
>
records
=
page
.
getRecords
();
records
=
records
.
stream
().
collect
(
records
=
records
.
stream
().
collect
(
Collectors
.
collectingAndThen
(
Collectors
.
toCollection
(()
->
new
TreeSet
<>(
Comparator
.
comparingLong
(
ProgramListVo:
:
getProgramId
))),
ArrayList:
:
new
));
Collectors
.
collectingAndThen
(
Collectors
.
toCollection
(()
->
new
TreeSet
<>(
Comparator
.
comparingLong
(
ProgramListVo:
:
getProgramId
))),
ArrayList:
:
new
));
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/ChSrvProgramMapper.xml
View file @
a1af3342
...
@@ -128,7 +128,9 @@
...
@@ -128,7 +128,9 @@
T4.FINISH_TIME assessDate,
T4.FINISH_TIME assessDate,
T7.MODE_NAME svrModelName,
T7.MODE_NAME svrModelName,
T5.SRV_ORGAN_NAME svrOrganName,
T5.SRV_ORGAN_NAME svrOrganName,
T1.PROG_STATUS progStatus,
<if
test=
"programStatus != null and programStatus != ''"
>
#{programStatus} progStatus,
</if>
T1.EFF_TIME effTime
T1.EFF_TIME effTime
FROM CH_SRV_PROGRAM T1
FROM CH_SRV_PROGRAM T1
INNER JOIN CH_DISABLE_INFO T2 ON T1.DISAB_INFO_ID = T2.DISAB_INFO_ID
INNER JOIN CH_DISABLE_INFO T2 ON T1.DISAB_INFO_ID = T2.DISAB_INFO_ID
...
@@ -139,10 +141,10 @@
...
@@ -139,10 +141,10 @@
LEFT JOIN CH_SRV_ORGAN T5 ON T1.SRV_ORGAN_ID = T5.SRV_ORGAN_ID
LEFT JOIN CH_SRV_ORGAN T5 ON T1.SRV_ORGAN_ID = T5.SRV_ORGAN_ID
WHERE T1.DISAB_INFO_ID = #{disabInfoId}
WHERE T1.DISAB_INFO_ID = #{disabInfoId}
AND T1.SRV_ORGAN_ID = #{srvOrganId}
AND T1.SRV_ORGAN_ID = #{srvOrganId}
<!--
<if test="programStatus != null and programStatus != ''">
<if test="programStatus != null and programStatus != ''">
AND T1.PROG_STATUS = #{programStatus}
AND T1.PROG_STATUS = #{programStatus}
</if>
</if>
-->
</select>
</select>
<select
id=
"getProgramEndProgram"
resultType=
"com.hungraim.ltc.pojo.entity.serviceManage.ChSrvProgram"
>
<select
id=
"getProgramEndProgram"
resultType=
"com.hungraim.ltc.pojo.entity.serviceManage.ChSrvProgram"
>
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
View file @
a1af3342
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
where
<![CDATA[ t.SRV_DATE < sysdate and
where
<![CDATA[ t.SRV_DATE < sysdate and
(info.EXIT_TIME >
sysdate or info.EXIT_TIME is null)
(info.EXIT_TIME >
sysdate or info.EXIT_TIME is null)
and sysdate
< program.PROGRAM_EDN_DATE
and sysdate
< program.PROGRAM_EDN_DATE
and
sysdate
>
report.PUBLICITY_END_TIME and program.PROG_STATUS
<
>'2' ]]>
and
sysdate
>
report.PUBLICITY_END_TIME and program.PROG_STATUS
<
>'2'
and t.STATUS
<
>'2'
]]>
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
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