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
f0be3a24
Commit
f0be3a24
authored
Apr 27, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改服务方案相关接口、服务人员实体类生成
parent
64489522
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
85 additions
and
7 deletions
+85
-7
ChEmpType.java
...com/hungraim/ltc/pojo/entity/serviceManage/ChEmpType.java
+32
-0
ProgramSetAndProjectVo.java
...ngraim/ltc/pojo/vo/governance/ProgramSetAndProjectVo.java
+3
-3
ChEmpTypeMapper.java
...java/com/hungraim/ltc/governance/dao/ChEmpTypeMapper.java
+12
-0
ChEmpTypeMapper.xml
...es/com/hungraim/ltc/governance/mapper/ChEmpTypeMapper.xml
+12
-0
ChSrvOrganProjectMapper.xml
...ungraim/ltc/governance/mapper/ChSrvOrganProjectMapper.xml
+25
-3
ChSrvProgramMapper.xml
...com/hungraim/ltc/governance/mapper/ChSrvProgramMapper.xml
+1
-1
No files found.
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/serviceManage/ChEmpType.java
0 → 100644
View file @
f0be3a24
package
com
.
hungraim
.
ltc
.
pojo
.
entity
.
serviceManage
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.KeySequence
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* CH_EMP_TYPE
* @author
*/
@Data
@TableName
(
"CH_EMP_TYPE"
)
@KeySequence
(
"SEQ_CH_EMP_TYPE"
)
public
class
ChEmpType
implements
Serializable
{
/**
* 类型id
*/
@TableId
(
type
=
IdType
.
INPUT
)
private
Long
empType
;
/**
* 类型NAME
*/
private
String
empTypeName
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/governance/ProgramSetAndProjectVo.java
View file @
f0be3a24
...
...
@@ -30,7 +30,7 @@ public class ProgramSetAndProjectVo {
/**
* 类服务包类型(1基础护理、2日常照护项目、3其它、4巡诊)
*/
private
Short
categoryType
;
private
Integer
categoryType
;
/**
* 频次
...
...
@@ -40,7 +40,7 @@ public class ProgramSetAndProjectVo {
/**
* 频次类型(1:次/每月,2:必要时)
*/
private
Short
itemTimesType
;
private
Integer
itemTimesType
;
/**
* 单价
...
...
@@ -50,7 +50,7 @@ public class ProgramSetAndProjectVo {
/**
* 是否必需项(是:1;否:0)
*/
private
Short
isNeed
;
private
Integer
isNeed
;
/**
* 备注
...
...
governance/src/main/java/com/hungraim/ltc/governance/dao/ChEmpTypeMapper.java
0 → 100644
View file @
f0be3a24
package
com
.
hungraim
.
ltc
.
governance
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChEmpType
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
@Mapper
@Repository
public
interface
ChEmpTypeMapper
extends
BaseMapper
<
ChEmpType
>
{
}
\ No newline at end of file
governance/src/main/resources/com/hungraim/ltc/governance/mapper/ChEmpTypeMapper.xml
0 → 100644
View file @
f0be3a24
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hungraim.ltc.governance.dao.ChEmpTypeMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.hungraim.ltc.pojo.entity.serviceManage.ChEmpType"
>
<id
column=
"EMP_TYPE"
jdbcType=
"DECIMAL"
property=
"empType"
/>
<result
column=
"EMP_TYPE_NAME"
jdbcType=
"VARCHAR"
property=
"empTypeName"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
EMP_TYPE, EMP_TYPE_NAME
</sql>
</mapper>
\ No newline at end of file
governance/src/main/resources/com/hungraim/ltc/governance/mapper/ChSrvOrganProjectMapper.xml
View file @
f0be3a24
...
...
@@ -32,18 +32,39 @@
<resultMap
id=
"organProjectsMap"
type=
"com.hungraim.ltc.pojo.vo.governance.ProgramSetAndProjectVo"
>
<id
column=
"PROJECT_ID"
property=
"projectId"
/>
<result
column=
"SRV_ORGAN_ID"
property=
"srvOrganId"
/>
<result
column=
"SET_ID"
property=
"setId"
/>
<result
column=
"ITEM_NAME"
property=
"itemName"
/>
<result
column=
"CATEGORY_TYPE"
property=
"categoryType"
/>
<result
column=
"SRV_ORGAN_ID"
property=
"itemTimes"
/>
<result
column=
"ITEM_TIMES_TYPE"
property=
"itemTimesType"
/>
<result
column=
"ITEM_PRICE"
property=
"itemPrice"
/>
<result
column=
"IS_CONF"
property=
"isNeed"
/>
<result
column=
"IS_NEED"
property=
"isNeed"
/>
<result
column=
"PLANNING_FREQUENCY"
property=
"planningFrequency"
/>
<result
column=
"PLANNING_FREQUENCY_TYPE"
property=
"planningFrequencyType"
/>
</resultMap>
<select
id=
"selectOrganProjectsBySrvOrganId"
resultMap=
"organProjectsMap"
>
SELECT *
SELECT
PROJECT_ID,
SRV_ORGAN_ID,
ITEM_NAME,
CATEGORY_TYPE,
CH_SRV_ORGAN_PROJECT.ITEM_TIMES,
ITEM_TIMES_TYPE,
CH_SRV_ORGAN_PROJECT.ITEM_PRICE,
CH_SRV_ORGAN_PROJECT.IS_CONF IS_NEED
<if
test=
"programId != null"
>
,
SET_ID,
PLANNING_FREQUENCY,
PLANNING_FREQUENCY_TYPE,
CH_SRV_PROGRAM_SET.REMARK
</if>
FROM CH_SRV_ORGAN_PROJECT
<if
test=
"programId != null"
>
LEFT JOIN CH_SRV_PROGRAM_SET ON ITEM_ID = PROJECT_ID AND PROGRAM_ID = #{programId}
</if>
WHERE SRV_ORGAN_ID = #{srvOrganId}
AND STATUS = 0
AND STATUS = 0
</select>
</mapper>
\ No newline at end of file
governance/src/main/resources/com/hungraim/ltc/governance/mapper/ChSrvProgramMapper.xml
View file @
f0be3a24
...
...
@@ -30,7 +30,7 @@
<result
column=
"program"
property=
"programDate"
/>
<result
column=
"PROGRAM_EDN_DATE"
property=
"programEndDate"
/>
<result
column=
"PROGRAM_DATE"
property=
"programDate"
/>
<collection
property=
"programSetAndProjectVos"
column=
"
SRV_ORGAN_ID
"
<collection
property=
"programSetAndProjectVos"
column=
"
{srvOrganId=SRV_ORGAN_ID,programId=PROGRAM_ID}
"
select=
"com.hungraim.ltc.governance.dao.ChSrvOrganProjectMapper.selectOrganProjectsBySrvOrganId"
/>
</resultMap>
<select
id=
"getProgramDetail"
resultMap=
"ProgramSetDetailVoMap"
>
...
...
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