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
5cde5d64
Commit
5cde5d64
authored
Apr 09, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失能人员信息列表省市区、机构
parent
1ed2d148
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
63 additions
and
10 deletions
+63
-10
FndDistrictMapper.java
...src/main/java/com/hungraim/ism/dao/FndDistrictMapper.java
+2
-2
FndStreetMapper.java
...e/src/main/java/com/hungraim/ism/dao/FndStreetMapper.java
+16
-0
DisableServiceImpl.java
...ava/com/hungraim/ism/service/impl/DisableServiceImpl.java
+28
-7
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+1
-1
ChFndStreet.java
...ava/com/hungraim/ltc/pojo/entity/disable/ChFndStreet.java
+16
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/ism/dao/DistrictMapper.java
→
apply/apply-service/src/main/java/com/hungraim/ism/dao/
Fnd
DistrictMapper.java
View file @
5cde5d64
...
@@ -6,11 +6,11 @@ import org.apache.ibatis.annotations.Mapper;
...
@@ -6,11 +6,11 @@ import org.apache.ibatis.annotations.Mapper;
import
org.springframework.stereotype.Repository
;
import
org.springframework.stereotype.Repository
;
/**
/**
*
失能人员申请历史
Mapper
*
省市区
Mapper
*
*
* @author czz
* @author czz
*/
*/
@Mapper
@Mapper
@Repository
@Repository
public
interface
DistrictMapper
extends
BaseMapper
<
ChFndDistrict
>
{
public
interface
Fnd
DistrictMapper
extends
BaseMapper
<
ChFndDistrict
>
{
}
}
apply/apply-service/src/main/java/com/hungraim/ism/dao/FndStreetMapper.java
0 → 100644
View file @
5cde5d64
package
com
.
hungraim
.
ism
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.disable.ChFndStreet
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* 街道Mapper
*
* @author czz
*/
@Mapper
@Repository
public
interface
FndStreetMapper
extends
BaseMapper
<
ChFndStreet
>
{
}
apply/apply-service/src/main/java/com/hungraim/ism/service/impl/DisableServiceImpl.java
View file @
5cde5d64
...
@@ -3,8 +3,9 @@ package com.hungraim.ism.service.impl;
...
@@ -3,8 +3,9 @@ package com.hungraim.ism.service.impl;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
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.ism.dao.DisableApplyMapper
;
import
com.hungraim.ism.dao.DisableApplyMapper
;
import
com.hungraim.ism.dao.DistrictMapper
;
import
com.hungraim.ism.dao.
Fnd
DistrictMapper
;
import
com.hungraim.ism.dao.FndOrganMapper
;
import
com.hungraim.ism.dao.FndOrganMapper
;
import
com.hungraim.ism.dao.FndStreetMapper
;
import
com.hungraim.ism.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ism.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ism.pojo.vo.disable.DisableVO
;
import
com.hungraim.ism.pojo.vo.disable.DisableVO
;
import
com.hungraim.ism.pojo.vo.disable.ExamineRecord
;
import
com.hungraim.ism.pojo.vo.disable.ExamineRecord
;
...
@@ -12,9 +13,11 @@ import com.hungraim.ism.service.DisableService;
...
@@ -12,9 +13,11 @@ import com.hungraim.ism.service.DisableService;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.entity.disable.ChFndDistrict
;
import
com.hungraim.ltc.pojo.entity.disable.ChFndDistrict
;
import
com.hungraim.ltc.pojo.entity.disable.ChFndOrgan
;
import
com.hungraim.ltc.pojo.entity.disable.ChFndOrgan
;
import
com.hungraim.ltc.pojo.entity.disable.ChFndStreet
;
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
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
@Service
@Service
...
@@ -23,9 +26,11 @@ public class DisableServiceImpl implements DisableService {
...
@@ -23,9 +26,11 @@ public class DisableServiceImpl implements DisableService {
@Autowired
@Autowired
private
DisableApplyMapper
disableApplyMapper
;
private
DisableApplyMapper
disableApplyMapper
;
@Autowired
@Autowired
private
DistrictMapper
districtMapper
;
private
Fnd
DistrictMapper
districtMapper
;
@Autowired
@Autowired
private
FndOrganMapper
fndOrganMapper
;
private
FndOrganMapper
fndOrganMapper
;
@Autowired
private
FndStreetMapper
fndStreetMapper
;
@Override
@Override
public
Page
<
DisableVO
>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
public
Page
<
DisableVO
>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
...
@@ -58,12 +63,28 @@ public class DisableServiceImpl implements DisableService {
...
@@ -58,12 +63,28 @@ public class DisableServiceImpl implements DisableService {
@Override
@Override
public
List
<
ChFndDistrict
>
district
(
String
districtLevel
,
String
districtCode
)
{
public
List
<
ChFndDistrict
>
district
(
String
districtLevel
,
String
districtCode
)
{
QueryWrapper
<
ChFndDistrict
>
queryWrapper
=
new
QueryWrapper
<
ChFndDistrict
>();
if
(
"4"
.
equals
(
districtCode
))
{
queryWrapper
.
eq
(
"DISTRICT_LEVEL"
,
districtLevel
);
QueryWrapper
<
ChFndStreet
>
queryWrapper
=
new
QueryWrapper
<>();
if
(!
"1"
.
equals
(
districtLevel
))
{
queryWrapper
.
eq
(
"AREA_CODE"
,
districtCode
);
queryWrapper
.
eq
(
"PARENT_DISTIRCT_CODE"
,
districtCode
);
queryWrapper
.
eq
(
"IS_VALID"
,
0
);
List
<
ChFndStreet
>
fndStreets
=
fndStreetMapper
.
selectList
(
queryWrapper
);
List
<
ChFndDistrict
>
resuts
=
new
ArrayList
<>();
for
(
ChFndStreet
chFndStreet
:
fndStreets
)
{
ChFndDistrict
chFndDistrict
=
new
ChFndDistrict
();
chFndDistrict
.
setDistrictCode
(
chFndStreet
.
getStreetCode
());
chFndDistrict
.
setDistrictName
(
chFndStreet
.
getStreetName
());
chFndDistrict
.
setParentDistirctCode
(
chFndStreet
.
getAreaCode
());
}
return
resuts
;
}
else
{
QueryWrapper
<
ChFndDistrict
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"IS_VALID"
,
"Y"
);
queryWrapper
.
eq
(
"DISTRICT_LEVEL"
,
districtLevel
);
if
(!
"1"
.
equals
(
districtLevel
))
{
queryWrapper
.
eq
(
"PARENT_DISTIRCT_CODE"
,
districtCode
);
}
return
districtMapper
.
selectList
(
queryWrapper
);
}
}
return
districtMapper
.
selectList
(
queryWrapper
);
}
}
@Override
@Override
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
5cde5d64
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
e.SRV_ORGEN_ID srvOrgenId,
e.SRV_ORGEN_ID srvOrgenId,
e.MODE_ID modeId,
e.MODE_ID modeId,
e.EVALUATE_TIME evaluateTime
e.EVALUATE_TIME evaluateTime
from CH_DISABLE_EVALUATE e,CH_
SRV
_ORGAN o
from CH_DISABLE_EVALUATE e,CH_
FND
_ORGAN o
where e.organ_id = o.ORGAN_ID
where e.organ_id = o.ORGAN_ID
<if
test=
"organId != null"
>
<if
test=
"organId != null"
>
and e.organ_Id = #{organId}
and e.organ_Id = #{organId}
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChFndStreet.java
0 → 100644
View file @
5cde5d64
package
com
.
hungraim
.
ltc
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
/**
* 街道信息
*/
@Data
@TableName
(
"CH_FND_STREET"
)
public
class
ChFndStreet
{
private
String
streetCode
;
private
Integer
isValid
;
private
String
streetName
;
private
String
areaCode
;
}
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