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
244159ed
Commit
244159ed
authored
May 20, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失能申请调整
parent
aeb39278
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
29 additions
and
30 deletions
+29
-30
ApplyApplication.java
...vice/src/main/java/com/hungraim/ltc/ApplyApplication.java
+2
-0
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+2
-3
DisableService.java
...rc/main/java/com/hungraim/ltc/service/DisableService.java
+2
-0
DisableServiceImpl.java
...ava/com/hungraim/ltc/service/impl/DisableServiceImpl.java
+6
-3
ChDisableApplyMapper.xml
...ervice/src/main/resources/mapper/ChDisableApplyMapper.xml
+3
-3
ChDisableInfo.java
...a/com/hungraim/ltc/pojo/entity/disable/ChDisableInfo.java
+1
-1
ChCfgPara.java
...com/hungraim/ltc/pojo/entity/serviceManage/ChCfgPara.java
+2
-7
DisableAssessmentCriteriaService.java
.../governance/service/DisableAssessmentCriteriaService.java
+2
-0
SrvProgramService.java
...om/hungraim/ltc/governance/service/SrvProgramService.java
+2
-0
SrvSendService.java
...a/com/hungraim/ltc/governance/service/SrvSendService.java
+3
-0
SrvTaskService.java
...a/com/hungraim/ltc/governance/service/SrvTaskService.java
+2
-0
DisableAssessmentCriteriaServiceImpl.java
...ce/service/impl/DisableAssessmentCriteriaServiceImpl.java
+0
-2
SrvProgramServiceImpl.java
...im/ltc/governance/service/impl/SrvProgramServiceImpl.java
+2
-4
SrvSendServiceImpl.java
...graim/ltc/governance/service/impl/SrvSendServiceImpl.java
+0
-5
SrvTaskServiceImpl.java
...graim/ltc/governance/service/impl/SrvTaskServiceImpl.java
+0
-2
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/ApplyApplication.java
View file @
244159ed
...
@@ -4,6 +4,7 @@ package com.hungraim.ltc;
...
@@ -4,6 +4,7 @@ package com.hungraim.ltc;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.transaction.annotation.EnableTransactionManagement
;
/**
/**
* 申请服务
* 申请服务
...
@@ -12,6 +13,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
...
@@ -12,6 +13,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
*/
*/
@SpringBootApplication
@SpringBootApplication
@EnableDiscoveryClient
@EnableDiscoveryClient
@EnableTransactionManagement
public
class
ApplyApplication
{
public
class
ApplyApplication
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
ApplyApplication
.
class
,
args
);
SpringApplication
.
run
(
ApplyApplication
.
class
,
args
);
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
244159ed
...
@@ -6,7 +6,6 @@ import com.hungraim.ltc.pojo.entity.disable.*;
...
@@ -6,7 +6,6 @@ import com.hungraim.ltc.pojo.entity.disable.*;
import
com.hungraim.ltc.pojo.vo.disable.*
;
import
com.hungraim.ltc.pojo.vo.disable.*
;
import
com.hungraim.ltc.service.DisableService
;
import
com.hungraim.ltc.service.DisableService
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.ResultCode
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -108,9 +107,9 @@ public class DisableController {
...
@@ -108,9 +107,9 @@ public class DisableController {
*/
*/
@RequestMapping
(
"/fndDiseaseList"
)
@RequestMapping
(
"/fndDiseaseList"
)
public
Result
<
List
<
ChFndDiseaseType
>>
fndDiseaseList
(
String
parDiseTypeId
)
{
public
Result
<
List
<
ChFndDiseaseType
>>
fndDiseaseList
(
String
parDiseTypeId
)
{
if
(
StrUtil
.
isNot
Blank
(
parDiseTypeId
))
{
/*if (StrUtil.is
Blank(parDiseTypeId)) {
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
}
}
*/
List
<
ChFndDiseaseType
>
chFndDiseaseTypes
=
disableService
.
fndDiseaseList
(
parDiseTypeId
);
List
<
ChFndDiseaseType
>
chFndDiseaseTypes
=
disableService
.
fndDiseaseList
(
parDiseTypeId
);
return
Result
.
success
(
chFndDiseaseTypes
);
return
Result
.
success
(
chFndDiseaseTypes
);
}
}
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/service/DisableService.java
View file @
244159ed
...
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.vo.disable.*
;
import
com.hungraim.ltc.pojo.vo.disable.*
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.List
;
...
@@ -26,6 +27,7 @@ public interface DisableService {
...
@@ -26,6 +27,7 @@ public interface DisableService {
* @param applyId 申请id
* @param applyId 申请id
* @return 失能审核信息详情
* @return 失能审核信息详情
*/
*/
@Transactional
()
DisableExamineInfoVO
disableExamineInfo
(
String
applyId
);
DisableExamineInfoVO
disableExamineInfo
(
String
applyId
);
void
addDisable
(
ChDisableApply
chDisableApply
);
void
addDisable
(
ChDisableApply
chDisableApply
);
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/DisableServiceImpl.java
View file @
244159ed
...
@@ -129,7 +129,7 @@ public class DisableServiceImpl implements DisableService {
...
@@ -129,7 +129,7 @@ public class DisableServiceImpl implements DisableService {
disableInfoMapper
.
insert
(
chDisableInfo
);
disableInfoMapper
.
insert
(
chDisableInfo
);
//添加失能评定信息
//添加失能评定信息
ChAprTask
chAprTask
=
new
ChAprTask
();
ChAprTask
chAprTask
=
new
ChAprTask
();
ChCfgPara
chCfgPara
=
cfgParaMapper
.
selectOne
(
new
QueryWrapper
<
ChCfgPara
>().
eq
(
"ORGAN_ID"
,
ch
AprTask
.
getOrganId
()));
ChCfgPara
chCfgPara
=
cfgParaMapper
.
selectOne
(
new
QueryWrapper
<
ChCfgPara
>().
eq
(
"ORGAN_ID"
,
ch
DisableApply
.
getOrganId
()));
if
(
chCfgPara
!=
null
&&
chCfgPara
.
getCfgArgTime
()
!=
null
)
{
if
(
chCfgPara
!=
null
&&
chCfgPara
.
getCfgArgTime
()
!=
null
)
{
Calendar
cd
=
Calendar
.
getInstance
();
Calendar
cd
=
Calendar
.
getInstance
();
cd
.
setTime
(
date
);
cd
.
setTime
(
date
);
...
@@ -137,6 +137,8 @@ public class DisableServiceImpl implements DisableService {
...
@@ -137,6 +137,8 @@ public class DisableServiceImpl implements DisableService {
chAprTask
.
setLastAprDate
(
cd
.
getTime
());
//鉴定截至日期
chAprTask
.
setLastAprDate
(
cd
.
getTime
());
//鉴定截至日期
}
}
BeanUtil
.
copyProperties
(
chDisableApply
,
chAprTask
);
BeanUtil
.
copyProperties
(
chDisableApply
,
chAprTask
);
chAprTask
.
setDisableInfoId
(
chDisableInfo
.
getDisabInfoId
());
//TODO 审核人id
aprTaskMapper
.
insert
(
chAprTask
);
aprTaskMapper
.
insert
(
chAprTask
);
}
}
}
}
...
@@ -177,7 +179,7 @@ public class DisableServiceImpl implements DisableService {
...
@@ -177,7 +179,7 @@ public class DisableServiceImpl implements DisableService {
public
List
<
ChFndOrgan
>
fndOrganRoot
()
{
public
List
<
ChFndOrgan
>
fndOrganRoot
()
{
QueryWrapper
<
ChFndOrgan
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
ChFndOrgan
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"IS_LEAF"
,
"1"
);
queryWrapper
.
eq
(
"IS_LEAF"
,
"1"
);
queryWrapper
.
eq
(
"STATUS"
,
"1"
);
queryWrapper
.
eq
(
"STATUS"
,
"1"
);
queryWrapper
.
and
(
wrapper
->
wrapper
.
isNull
(
"PARENT_ID"
).
or
().
eq
(
"PARENT_ID"
,
""
));
queryWrapper
.
and
(
wrapper
->
wrapper
.
isNull
(
"PARENT_ID"
).
or
().
eq
(
"PARENT_ID"
,
""
));
return
fndOrganMapper
.
selectList
(
queryWrapper
);
return
fndOrganMapper
.
selectList
(
queryWrapper
);
}
}
...
@@ -249,7 +251,7 @@ public class DisableServiceImpl implements DisableService {
...
@@ -249,7 +251,7 @@ public class DisableServiceImpl implements DisableService {
public
List
<
ChFndOrgan
>
fndAllOrgan
()
{
public
List
<
ChFndOrgan
>
fndAllOrgan
()
{
QueryWrapper
<
ChFndOrgan
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
ChFndOrgan
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"IS_LEAF"
,
"1"
);
queryWrapper
.
eq
(
"IS_LEAF"
,
"1"
);
queryWrapper
.
eq
(
"STATUS"
,
"1"
);
queryWrapper
.
eq
(
"STATUS"
,
"1"
);
return
fndOrganMapper
.
selectList
(
queryWrapper
);
return
fndOrganMapper
.
selectList
(
queryWrapper
);
}
}
}
}
\ No newline at end of file
apply/apply-service/src/main/resources/mapper/ChDisableApplyMapper.xml
View file @
244159ed
...
@@ -35,13 +35,13 @@
...
@@ -35,13 +35,13 @@
</foreach>
</foreach>
</if>
</if>
<if
test=
"provincial != null and provincial != ''"
>
<if
test=
"provincial != null and provincial != ''"
>
and
a.DISTRICT_PROVINCIAL
= #{provincial}
and
(select DISTRICT_NAME from CH_FND_DISTRICT dis where a.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE)
= #{provincial}
</if>
</if>
<if
test=
"city != null and city != ''"
>
<if
test=
"city != null and city != ''"
>
and
a.DISTRICT_CITY
= #{city}
and
(select DISTRICT_NAME from CH_FND_DISTRICT dis where a.DISTRICT_CITY = dis.DISTRICT_CODE)
= #{city}
</if>
</if>
<if
test=
"area != null and area != ''"
>
<if
test=
"area != null and area != ''"
>
and a.DISTRICT_AREA
= #{area}
and (select DISTRICT_NAME from CH_FND_DISTRICT dis where a.DISTRICT_AREA = dis.DISTRICT_CODE)
= #{area}
</if>
</if>
<if
test=
"name != null and name != ''"
>
<if
test=
"name != null and name != ''"
>
and a.REAL_NAME like CONCAT(CONCAT('%',#{name}) ,'%')
and a.REAL_NAME like CONCAT(CONCAT('%',#{name}) ,'%')
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChDisableInfo.java
View file @
244159ed
...
@@ -14,7 +14,7 @@ import java.io.Serializable;
...
@@ -14,7 +14,7 @@ import java.io.Serializable;
@KeySequence
(
value
=
"SEQ_CH_DISABLE_INFO"
)
@KeySequence
(
value
=
"SEQ_CH_DISABLE_INFO"
)
public
class
ChDisableInfo
extends
PageInfo
implements
Serializable
{
public
class
ChDisableInfo
extends
PageInfo
implements
Serializable
{
@TableId
(
value
=
"DISAB_INFO_ID"
,
type
=
IdType
.
INPUT
)
@TableId
(
value
=
"DISAB_INFO_ID"
,
type
=
IdType
.
INPUT
)
private
Long
disabInfoId
;
private
Integer
disabInfoId
;
private
String
agentLatitude
;
private
String
agentLatitude
;
private
String
acptRoadDetail
;
private
String
acptRoadDetail
;
private
java
.
util
.
Date
checkTime
;
private
java
.
util
.
Date
checkTime
;
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/serviceManage/ChCfgPara.java
View file @
244159ed
...
@@ -6,22 +6,20 @@ import com.baomidou.mybatisplus.annotation.TableId;
...
@@ -6,22 +6,20 @@ import com.baomidou.mybatisplus.annotation.TableId;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
* CH_CFG_PARA
* CH_CFG_PARA
* @author
*/
*/
@Data
@Data
@TableName
(
"CH_CFG_PARA"
)
@TableName
(
"CH_CFG_PARA"
)
@KeySequence
(
"SEQ_CH_CFG_PARA"
)
@KeySequence
(
"SEQ_CH_CFG_PARA"
)
public
class
ChCfgPara
implements
Serializable
{
public
class
ChCfgPara
{
/**
/**
* 服务配置主键id
* 服务配置主键id
*/
*/
@TableId
(
type
=
IdType
.
INPUT
)
@TableId
(
value
=
"para_id"
,
type
=
IdType
.
INPUT
)
private
Long
paraId
;
private
Long
paraId
;
/**
/**
...
@@ -115,6 +113,4 @@ public class ChCfgPara implements Serializable {
...
@@ -115,6 +113,4 @@ public class ChCfgPara implements Serializable {
* 享受标准(元/天)
* 享受标准(元/天)
*/
*/
private
BigDecimal
enjoyStandard
;
private
BigDecimal
enjoyStandard
;
private
static
final
long
serialVersionUID
=
1L
;
}
}
\ No newline at end of file
governance/src/main/java/com/hungraim/ltc/governance/service/DisableAssessmentCriteriaService.java
View file @
244159ed
...
@@ -4,6 +4,7 @@ import cn.hutool.json.JSONArray;
...
@@ -4,6 +4,7 @@ import cn.hutool.json.JSONArray;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.pojo.vo.governance.CfgAprVO
;
import
com.hungraim.ltc.pojo.vo.governance.CfgAprVO
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
/**
/**
* 失能评定标准service
* 失能评定标准service
...
@@ -12,6 +13,7 @@ import org.springframework.stereotype.Service;
...
@@ -12,6 +13,7 @@ import org.springframework.stereotype.Service;
*/
*/
@Service
@Service
public
interface
DisableAssessmentCriteriaService
{
public
interface
DisableAssessmentCriteriaService
{
@Transactional
()
void
addOrUpdateDisableAssessmentCriteria
(
Long
aprId
,
String
organId
,
String
estimateName
,
String
remark
,
Integer
status
,
JSONArray
project
);
void
addOrUpdateDisableAssessmentCriteria
(
Long
aprId
,
String
organId
,
String
estimateName
,
String
remark
,
Integer
status
,
JSONArray
project
);
Page
<
CfgAprVO
>
getDisableAssessmentCriteriaList
(
Page
<
CfgAprVO
>
page
,
String
organIds
,
String
aprName
,
String
status
);
Page
<
CfgAprVO
>
getDisableAssessmentCriteriaList
(
Page
<
CfgAprVO
>
page
,
String
organIds
,
String
aprName
,
String
status
);
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/SrvProgramService.java
View file @
244159ed
...
@@ -5,6 +5,7 @@ import com.hungraim.ltc.pojo.entity.serviceManage.ChSrvProgram;
...
@@ -5,6 +5,7 @@ import com.hungraim.ltc.pojo.entity.serviceManage.ChSrvProgram;
import
com.hungraim.ltc.pojo.vo.governance.ProgramDetailVo
;
import
com.hungraim.ltc.pojo.vo.governance.ProgramDetailVo
;
import
com.hungraim.ltc.pojo.vo.governance.ProgramListVo
;
import
com.hungraim.ltc.pojo.vo.governance.ProgramListVo
;
import
com.hungraim.ltc.pojo.vo.governance.SvrSendListVo
;
import
com.hungraim.ltc.pojo.vo.governance.SvrSendListVo
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.List
;
...
@@ -63,6 +64,7 @@ public interface SrvProgramService {
...
@@ -63,6 +64,7 @@ public interface SrvProgramService {
* 添加或者修改服务方案
* 添加或者修改服务方案
* @param programDetailVo 包装对象
* @param programDetailVo 包装对象
*/
*/
@Transactional
()
void
addProgramAndProgramSetList
(
ProgramDetailVo
programDetailVo
);
void
addProgramAndProgramSetList
(
ProgramDetailVo
programDetailVo
);
/**
/**
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/SrvSendService.java
View file @
244159ed
...
@@ -7,6 +7,7 @@ import com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan;
...
@@ -7,6 +7,7 @@ import com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvSend
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvSend
;
import
com.hungraim.ltc.pojo.vo.governance.DisableInfoTaskVO
;
import
com.hungraim.ltc.pojo.vo.governance.DisableInfoTaskVO
;
import
com.hungraim.ltc.pojo.vo.governance.SrvSendVO
;
import
com.hungraim.ltc.pojo.vo.governance.SrvSendVO
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.List
;
...
@@ -16,8 +17,10 @@ public interface SrvSendService extends IService<ChSrvSend> {
...
@@ -16,8 +17,10 @@ public interface SrvSendService extends IService<ChSrvSend> {
IPage
<
SrvSendVO
>
selectPage
(
ChDisableInfo
disableInfo
,
ChSrvOrgan
chSrvOrgan
,
ChSrvSend
chSrvSend
);
IPage
<
SrvSendVO
>
selectPage
(
ChDisableInfo
disableInfo
,
ChSrvOrgan
chSrvOrgan
,
ChSrvSend
chSrvSend
);
@Transactional
()
DisableInfoTaskVO
selectTaskById
(
Integer
disableInfoId
,
Integer
srvOrganId
);
DisableInfoTaskVO
selectTaskById
(
Integer
disableInfoId
,
Integer
srvOrganId
);
@Transactional
()
List
<
DisableInfoTaskVO
>
selectBydisableInfoId
(
Integer
disableInfoId
);
List
<
DisableInfoTaskVO
>
selectBydisableInfoId
(
Integer
disableInfoId
);
Long
selectMaxId
();
Long
selectMaxId
();
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/SrvTaskService.java
View file @
244159ed
...
@@ -3,6 +3,7 @@ package com.hungraim.ltc.governance.service;
...
@@ -3,6 +3,7 @@ package com.hungraim.ltc.governance.service;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.pojo.vo.governance.*
;
import
com.hungraim.ltc.pojo.vo.governance.*
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
@@ -25,5 +26,6 @@ public interface SrvTaskService {
...
@@ -25,5 +26,6 @@ public interface SrvTaskService {
/**
/**
* 新增或者修改服务计划
* 新增或者修改服务计划
*/
*/
@Transactional
()
void
addOrUpdateSrvTask
(
SrvTaskInfoListVO
param
);
void
addOrUpdateSrvTask
(
SrvTaskInfoListVO
param
);
}
}
governance/src/main/java/com/hungraim/ltc/governance/service/impl/DisableAssessmentCriteriaServiceImpl.java
View file @
244159ed
...
@@ -15,7 +15,6 @@ import com.hungraim.ltc.pojo.entity.assessment.ChCfgAprItemClause;
...
@@ -15,7 +15,6 @@ import com.hungraim.ltc.pojo.entity.assessment.ChCfgAprItemClause;
import
com.hungraim.ltc.pojo.vo.governance.CfgAprVO
;
import
com.hungraim.ltc.pojo.vo.governance.CfgAprVO
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -36,7 +35,6 @@ public class DisableAssessmentCriteriaServiceImpl implements DisableAssessmentCr
...
@@ -36,7 +35,6 @@ public class DisableAssessmentCriteriaServiceImpl implements DisableAssessmentCr
@Autowired
@Autowired
private
ChCfgAprItemClauseMapper
chCfgAprItemClauseMapper
;
private
ChCfgAprItemClauseMapper
chCfgAprItemClauseMapper
;
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
@Override
public
void
addOrUpdateDisableAssessmentCriteria
(
Long
aprId
,
String
organId
,
String
estimateName
,
String
remark
,
Integer
status
,
JSONArray
project
)
{
public
void
addOrUpdateDisableAssessmentCriteria
(
Long
aprId
,
String
organId
,
String
estimateName
,
String
remark
,
Integer
status
,
JSONArray
project
)
{
Date
date
=
new
Date
();
Date
date
=
new
Date
();
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/impl/SrvProgramServiceImpl.java
View file @
244159ed
...
@@ -4,17 +4,16 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
...
@@ -4,17 +4,16 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.governance.dao.ChSrvProgramMapper
;
import
com.hungraim.ltc.governance.dao.ChSrvProgramMapper
;
import
com.hungraim.ltc.governance.dao.ChSrvProgramSetMapper
;
import
com.hungraim.ltc.governance.dao.ChSrvProgramSetMapper
;
import
com.hungraim.ltc.governance.dao.ChSrvSendMapper
;
import
com.hungraim.ltc.governance.service.SrvProgramService
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvProgram
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvProgram
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvProgramSet
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvProgramSet
;
import
com.hungraim.ltc.pojo.vo.governance.ProgramDetailVo
;
import
com.hungraim.ltc.pojo.vo.governance.ProgramDetailVo
;
import
com.hungraim.ltc.pojo.vo.governance.ProgramListVo
;
import
com.hungraim.ltc.pojo.vo.governance.ProgramListVo
;
import
com.hungraim.ltc.pojo.vo.governance.ProgramSetAndProjectVo
;
import
com.hungraim.ltc.pojo.vo.governance.ProgramSetAndProjectVo
;
import
com.hungraim.ltc.pojo.vo.governance.SvrSendListVo
;
import
com.hungraim.ltc.pojo.vo.governance.SvrSendListVo
;
import
com.hungraim.ltc.governance.dao.ChSrvSendMapper
;
import
com.hungraim.ltc.governance.service.SrvProgramService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
@@ -60,7 +59,6 @@ public class SrvProgramServiceImpl implements SrvProgramService {
...
@@ -60,7 +59,6 @@ public class SrvProgramServiceImpl implements SrvProgramService {
return
chSrvProgramMapper
.
getProgramDetailWithAdd
(
disabInfoId
,
srvOrganId
);
return
chSrvProgramMapper
.
getProgramDetailWithAdd
(
disabInfoId
,
srvOrganId
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
@Override
public
void
addProgramAndProgramSetList
(
ProgramDetailVo
programDetailVo
)
{
public
void
addProgramAndProgramSetList
(
ProgramDetailVo
programDetailVo
)
{
Date
date
=
new
Date
();
Date
date
=
new
Date
();
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/impl/SrvSendServiceImpl.java
View file @
244159ed
...
@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.hungraim.ltc.governance.dao.SrvSendMapper
;
import
com.hungraim.ltc.governance.dao.SrvSendMapper
;
import
com.hungraim.ltc.governance.service.SrvSendService
;
import
com.hungraim.ltc.governance.service.SrvSendService
;
import
com.hungraim.ltc.pojo.entity.assessment.ChAprTask
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan
;
import
com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvSend
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvSend
;
...
@@ -13,10 +12,8 @@ import com.hungraim.ltc.pojo.vo.governance.DisableInfoTaskVO;
...
@@ -13,10 +12,8 @@ import com.hungraim.ltc.pojo.vo.governance.DisableInfoTaskVO;
import
com.hungraim.ltc.pojo.vo.governance.SrvSendVO
;
import
com.hungraim.ltc.pojo.vo.governance.SrvSendVO
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
@Service
@Service
...
@@ -42,7 +39,6 @@ public class SrvSendServiceImpl extends ServiceImpl<SrvSendMapper, ChSrvSend> im
...
@@ -42,7 +39,6 @@ public class SrvSendServiceImpl extends ServiceImpl<SrvSendMapper, ChSrvSend> im
}
}
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
DisableInfoTaskVO
selectTaskById
(
Integer
disableInfoId
,
Integer
srvOrganId
)
{
public
DisableInfoTaskVO
selectTaskById
(
Integer
disableInfoId
,
Integer
srvOrganId
)
{
DisableInfoTaskVO
disableInfoTaskVO
=
sendMapper
.
selectBydisableInfoId
(
disableInfoId
);
DisableInfoTaskVO
disableInfoTaskVO
=
sendMapper
.
selectBydisableInfoId
(
disableInfoId
);
String
s
=
sendMapper
.
selectByOrganId
(
srvOrganId
);
String
s
=
sendMapper
.
selectByOrganId
(
srvOrganId
);
...
@@ -51,7 +47,6 @@ public class SrvSendServiceImpl extends ServiceImpl<SrvSendMapper, ChSrvSend> im
...
@@ -51,7 +47,6 @@ public class SrvSendServiceImpl extends ServiceImpl<SrvSendMapper, ChSrvSend> im
}
}
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
List
<
DisableInfoTaskVO
>
selectBydisableInfoId
(
Integer
disableInfoId
)
{
public
List
<
DisableInfoTaskVO
>
selectBydisableInfoId
(
Integer
disableInfoId
)
{
return
sendMapper
.
selectTaskByDisableInfoId
(
disableInfoId
);
return
sendMapper
.
selectTaskByDisableInfoId
(
disableInfoId
);
}
}
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/impl/SrvTaskServiceImpl.java
View file @
244159ed
...
@@ -12,7 +12,6 @@ import com.hungraim.ltc.pojo.vo.governance.*;
...
@@ -12,7 +12,6 @@ import com.hungraim.ltc.pojo.vo.governance.*;
import
com.hungraim.ltc.util.DateUtils
;
import
com.hungraim.ltc.util.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -81,7 +80,6 @@ public class SrvTaskServiceImpl implements SrvTaskService {
...
@@ -81,7 +80,6 @@ public class SrvTaskServiceImpl implements SrvTaskService {
return
srvTaskInfoList
;
return
srvTaskInfoList
;
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
@Override
public
void
addOrUpdateSrvTask
(
SrvTaskInfoListVO
param
)
{
public
void
addOrUpdateSrvTask
(
SrvTaskInfoListVO
param
)
{
String
programId
=
param
.
getProgramId
();
String
programId
=
param
.
getProgramId
();
...
...
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