Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fabbb478
authored
Jul 14, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增公共查询
1 parent
e1788d68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
project-order/src/main/java/com/dituhui/pea/order/dao/EngineerInfoMPDao.java
project-order/src/main/java/com/dituhui/pea/order/dao/EngineerSkillGroupMPDao.java
project-order/src/main/java/com/dituhui/pea/order/dao/EngineerInfoMPDao.java
View file @
fabbb47
...
...
@@ -23,4 +23,8 @@ public interface EngineerInfoMPDao extends BaseMapper<EngineerInfo> {
@Select
(
"select * from engineer_info where group_id = #{groupId}"
)
List
<
EngineerInfo
>
selectByGroupId
(
String
groupId
);
@Select
(
"<script> select * from engineer_info where groupId in "
+
"<foreach item='groupId' collection='groupIds' open='(' separator=',' close=')'>#{groupId}</foreach></script>"
)
List
<
EngineerInfo
>
selectByGroupIds
(
@Param
(
"groupIds"
)
List
<
String
>
groupIds
);
}
\ No newline at end of file
project-order/src/main/java/com/dituhui/pea/order/dao/EngineerSkillGroupMPDao.java
View file @
fabbb47
...
...
@@ -12,4 +12,7 @@ import java.util.List;
public
interface
EngineerSkillGroupMPDao
extends
BaseMapper
<
EngineerSkillGroup
>
{
@Select
(
"select * from engineer_skill_group where engineer_code = #{engineerCode}"
)
List
<
EngineerSkillGroup
>
selectByEngineerCode
(
String
engineerCode
);
@Select
(
"select * from engineer_skill_group where skill_group_code = #{skillGroupCode}"
)
List
<
EngineerSkillGroup
>
selectBySkillGroupCode
(
String
skillGroupCode
);
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment