Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
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
zhangkb
indicators
Commits
cf54b542
Commit
cf54b542
authored
Jun 11, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加短板筛选规则和考核指标关系表
parent
289a3d00
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
0 deletions
+41
-0
ShortboardDriveIndRel.java
...cators/model/entity/shortboard/ShortboardDriveIndRel.java
+30
-0
ShortboardDriveIndRelRepository.java
...istence/hyindicators/ShortboardDriveIndRelRepository.java
+11
-0
No files found.
src/main/java/com/keymobile/indicators/model/entity/shortboard/ShortboardDriveIndRel.java
0 → 100644
View file @
cf54b542
package
com
.
keymobile
.
indicators
.
model
.
entity
.
shortboard
;
import
java.io.Serializable
;
import
org.springframework.data.annotation.Id
;
import
org.springframework.data.mongodb.core.mapping.Document
;
import
lombok.Data
;
/**
* author:zhangkb time:2020-6-11 desc:新增短板筛选规则和考核指标关系中间表
*/
@Data
@Document
(
collection
=
"short_board_drive_ind_rel"
)
public
class
ShortboardDriveIndRel
implements
Serializable
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
@Id
private
String
id
;
private
String
shortboardRuleId
;
//短板规则id
private
String
driveIndDefId
;
//考核指标id
public
ShortboardDriveIndRel
(
String
driveIndDefId
,
String
shortboardRuleId
)
{
this
.
driveIndDefId
=
driveIndDefId
;
this
.
shortboardRuleId
=
shortboardRuleId
;
}
}
src/main/java/com/keymobile/indicators/persistence/hyindicators/ShortboardDriveIndRelRepository.java
0 → 100644
View file @
cf54b542
package
com
.
keymobile
.
indicators
.
persistence
.
hyindicators
;
import
java.util.List
;
import
org.springframework.data.mongodb.repository.MongoRepository
;
import
com.keymobile.indicators.model.entity.shortboard.ShortboardDriveIndRel
;
public
interface
ShortboardDriveIndRelRepository
extends
MongoRepository
<
ShortboardDriveIndRel
,
String
>{
List
<
ShortboardDriveIndRel
>
findByDriveIndDefId
(
String
driveIndDefId
);
}
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